I'm attempting to set up a system where I phone a number, and then to confirm it isn't an answering machine I want the recipient to press a phone key to forward the call. The trouble is I'm struggling to find the event that gets raised for phone key presses.
I imagine it is a tone event but nothing seems to be raising.
I could also do with knowing how to detect what key is pressed as well.
Thanks, Ryan
These are called DTMF tones, TAPI can detect and report them via the ITDigitDetectionEvent
interface.
You need to setup the appropriate event filter and tell ITLegacyCallMediaControl::DetectDigits
that you are looking for DTMF.