Wait doesn't read DTMF? Was Re: [Asterisk-Users] Collecting dialed digits

Benjamin Miller BGMiller at dccinc.com
Fri Apr 25 09:46:13 MST 2003


A) Modify res_musiconhold.c and the application "WaitMusicOnHold" to
accept DTMF breakout
B) Create a call queue with a timeout of X and configure the DTMF
options properly.  Then you can drop callers into this queue and effect
a music on hold for X seconds and allow DTMF breakout with no C code.


-----Original Message-----
From: asterisk at billheckel.com [mailto:asterisk at billheckel.com] 
Sent: Friday, April 25, 2003 9:40 AM
To: asterisk-users at lists.digium.com
Subject: Re: Wait doesn't read DTMF? Was Re: [Asterisk-Users] Collecting
dialed digits


If wait doesn't break on DTMF then waitmusiconhold probably doesn't
either.

That explains some of the complaints from callers about it ignoring DTMF
at times...

I need to play music on hold for a set amount of time but still break on
DTMF, how would I do that?

Any suggestions?

Bill


James Hines wrote:
> On Thu, 2003-04-24 at 16:00, Tilghman Lesher wrote:
> 
>>On Thursday 24 April 2003 13:49, JKNUTSEN at UP.COM wrote:
>>You should instead take advantage of the timeout.  Asterisk will not 
>>receive DTMF during a Wait.
>>
> 
> 
> 
> Wow, this is not something that I was aware of. I think this might be 
> causing some of the "DTMF detection problems"  my users have been 
> reporting. I use Wait's in between playing menu options, and after I 
> answer. If people are pressing digits during this time they'll get 
> hosed. I did some looking and I didn't see a way to do a wait that 
> doesn't throw away the digits.. am I missing something, or should I 
> add a built-in (Say, "Pause"?) that won't throw away the frames (or is

> this a bug and Wait wasn't really supposed be throwing away data)?

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list