James Lamanna
2008-Mar-12 06:48 UTC
[asterisk-users] DTMF problems while greeting is playing (Background())
Hi, I have a Digium TE410p T1 card and I've noticed that under asterisk 1.4.17/18 I have problems detecting DTMF in IVRs. I think I've narrowed the problem down to some sort of interference between the greeting that is playing and the DTMF tones. DTMF detection seems to work very reliably when I am in Read() or WaitExten(), but is absolutely unusable while in Background(). I hope someone has some ideas for a workaround or solution to this problem. Having users wait until the end of a greeting to make a menu selection is pretty much unacceptable. Thank you. -- James
bilal ghayyad
2008-Mar-12 14:47 UTC
[asterisk-users] DTMF problems while greeting is playing (Background())
Hi James; Before putting my comments, first of all I would like to ask u something that might also help: how can u use the Read() or the WaitExten() instead of the Background?
Brent Davidson
2008-Mar-12 14:50 UTC
[asterisk-users] DTMF problems while greeting is playing (Background())
I seem to be having similar problems at one of my branch offices. See my message on Intermittent DTMF issues for some of the standard replies. Have you tried the RelaxDTMF tag in zapata.conf? I don't think Gain calibration applies to T1 cards or I would recommend that as well. Thanks, Brent James Lamanna wrote:> Hi, > I have a Digium TE410p T1 card and I've noticed that under asterisk > 1.4.17/18 I have problems detecting DTMF in IVRs. I think I've > narrowed the problem down to some sort of interference between the > greeting that is playing and the DTMF tones. DTMF detection seems to > work very reliably when I am in Read() or WaitExten(), but is > absolutely unusable while in Background(). > > I hope someone has some ideas for a workaround or solution to this > problem. Having users wait until the end of a greeting to make a menu > selection is pretty much unacceptable. > > Thank you. > > -- James > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
bilal ghayyad
2008-Mar-14 17:55 UTC
[asterisk-users] DTMF problems while greeting is playing (Background())
Hi Eric; I decreased the gain (although I was need to increase it) and the problem somehow resolved partially (much more better), but now I have a problem in the voice volume, it is weak. If I increased the volume, then the duplicatin in the DTMF for the first entered digit (specifically) will appear. Any help how can we resolve this? Regards Bilal --------------------- Another note, after looking at the source code, it seems as though WaitExten() and Read() use ast_waitfordigit() where Background uses ast_waitstream(). Apparently these 2 functions must behave differently. -- James On Wed, Mar 12, 2008 at 9:45 AM, James Lamanna <jlamanna at gmail.com> wrote:> Hi everyone. > I've tried RelaxDTMF and it didn't seem to help. > > I can't use Read() or WaitExten() instead ofbackground.> What I was doing was running a test using thefollowing dialplan:> [custom-testdtmf2] > exten => s,1,Answer > exten => s,n,AGI(festival-script.pl|Enter testdigits. Then press pound.)> exten => s,n,Read(mydigit||0) > exten => s,n,SayDigits(${mydigit}) > exten => s,n,Gotoif($["foo${mydigit}" = "foo"]?6:3) > exten => s,n,Playback(vm-goodbye) > exten => s,n,Hangup > > When I dialed in and pressed some digits, all thedigits were read> back to me with no issues. > So it seems that the greeting in Background() isinterfering with the> DTMF detection. > > -- James > > > > On Wed, Mar 12, 2008 at 7:47 AM, bilal ghayyad<bilmar_gh at yahoo.com> wrote:> > Hi James; > > > > Before putting my comments, first of all I wouldlike> > to ask u something that might also help: how canu use> > the Read() or the WaitExten() instead of the > > Background? > > > > From the other side: > > > > I got one email from eric asked me to Lower therxgain> > and txgain on your Zap channels. But actually itis> > already the voice volume is low and I waslooking to> > increase the gain (currently it is 0.0), so I donot> > know if eric was mean to reduce it less than0.0, but> > I can not do that due to the low volume that is > > already existed, so any more reduce will makethe> > voice not hearable well, even if the DTMFproblem> > resolved. > > > > I can share u one thing, the main problem in the > > Background is the duplication in the first digit > > detection, so for example if I entered 150, itwill> > detect it 115 (and will not continue to detectthe 0> > as the digit length completed). > > > > Any advise? > > > > Regards > > Bilal > > > > ------------ > > > > > > > > Hi, > > I have a Digium TE410p T1 card and I've noticedthat> > under asterisk > > 1.4.17/18 I have problems detecting DTMF inIVRs. I> > think I've > > narrowed the problem down to some sort ofinterference> > between the > > greeting that is playing and the DTMF tones.DTMF> > detection seems to > > work very reliably when I am in Read() orWaitExten(),> > but is > > absolutely unusable while in Background(). > > > > I hope someone has some ideas for a workaroundor> > solution to this > > problem. Having users wait until the end of agreeting> > to make a menu > > selection is pretty much unacceptable. > > > > Thank you. > > > > -- James > > ----------- > > > > Lower the rxgain and txgain on your Zapchannels.> > > > bilal ghayyad wrote: > > > Hi Brent; > > > > > > I have been suffering from this problem sinceabout> > 2 > > > monthes and until now still did not resolved100%.> > > > > > First of all, I need to tell u that mostly uhave a> > > problem that the first digit is duplicated,for> > > example: if ur customer entered 108 then itwill be> > > recognized 110 (the 1 duplicated, and then ittakes> > > the 0, and it does not continue to take the 8as it> > > completes the 3 digits ... this is just anexample).> > > > > > Your problem is in the duplication for thedigit and> > > specifically the first digit usually will be > > > duplicated. > > > > > > If u found a solution let me know. > > > > > > Regards > > > Bilal____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs