Soheil
Soheil

Reputation: 1706

making an IVR with android, possible?

is it possible to detect the number key that the one at the other end of a call has pressed?!!! I mean just like what happens during an IVR

Upvotes: 2

Views: 2825

Answers (1)

fvu
fvu

Reputation: 32973

Keys in a telephone system emit a combined sound known as DTMF ie two pure sinus-signals, the combination of the two frequencies identify the key that was pressed.

There is Java code to decode and generate DTMF codes, find one here and another one here. This code is typically implemented as a Goertzel filter.

Upvotes: 1

Related Questions