I received this message and was wondering if anyone else experienced this behavior and/or had a fix?
Hi Billy,
I noticed this behaviour:
When i push a numeric key in a foregrouned app, I don’t hear the dtmf-tone.
Although the tone is sent/recevied correctly in Asterisk.
When I let Asterisk send a DTMF-tone back to the phone, I don’t hear it either.
But the keys do work, I have interaction based on the keys I’m pressing.
There was a conversation thread about this that was started via the features e-mail address also. It looks like we’re dealing with the shotgun approach here - which usually doesn’t work as well as you want since you get different replies and it just leads to lots of extra work.
When your custom app is in the foreground, you’ve got control of the keys, and pressing the hardkeys or DTMF keys doesn’t push those events down into the phone application. With what we have, making that kind of a change isn’t a simple-to-do.
You do have access to the onkey (phones.digium.com/methods/digiumphonesenddtmf
or the other methods at phones.digium.com/phone-api/refe … igiumphone
The best advice currently is to just grab a softkey that backgrounds your app into an idle screen app, with your important information, then the user can interact however they want with a call, and you can use a BLF key to bring that app back into the foreground.
Cheers