Benjamin Miller
2003-Apr-25 09:46 UTC
Wait doesn't read DTMF? Was Re: [Asterisk-Users] Collecting dialed digits
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@billheckel.com [mailto:asterisk@billheckel.com] Sent: Friday, April 25, 2003 9:40 AM To: asterisk-users@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@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@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
asterisk@billheckel.com
2003-Apr-25 11:00 UTC
Wait doesn't read DTMF? Was Re: [Asterisk-Users] Collecting dialed digits
I'm already testing the new functions that do this, should be ready for submission to Mark by the end of the day ( maybe monday ) Bill Benjamin Miller wrote:> 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@billheckel.com [mailto:asterisk@billheckel.com] > Sent: Friday, April 25, 2003 9:40 AM > To: asterisk-users@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@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@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >