Christian

GetDTMF without lowering onhold music volume

Recommended Posts

Hi There,

 

I'm building my own queue and which is able to receive a DTMF to leave the queue at any time towards the mailbox.

To do so, I put the call on hold play an announcement "if you prefer to leave a message press #" and enter a loop. During the loop I was trying to use PBXCallGetDtmfInputEx without a sound file or with 1_second_silence.wav. But in the first try PBXCallGetDtmfInputEx returns immediatly, even if timeout is set to 5 sec -no chance to catch a DTMF that way. with providing the 1_second_silence.wav it does almost work, but it is lowering the volume of my music on hold.

is there a wait for a DTMF char without playing any tone and not lowering my music on hold?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now