Each phone key emits two frequencies (DTMF tones). Load a recording of a number being dialled: the tool recovers the typed digits. Everything happens in your browser.
In real life: Audacity, dcode.fr (DTMF), or analysing the two frequencies per key. The tones of a dialled number are enough to reconstruct it, even without hearing it spoken.