I'm using get_data in an AGI script and am having a problem when, after a long time in my IVR, when I ask for a 10-digit phone number, the first few tries are always invalid -- the number it reads back is very strange, almost like the DTMF tones from other answers were being cached and then dumped on the call to get_data. Anyone ever experienced this before? I have to do some major exploring, but nothing comes to mind yet. Nathan -- ------------------------------------- Nathan E. Pralle Give the Director a Serpent Deflector www.nathanpralle.com -------------------------------------
Vlasis Hatzistavrou
2005-Nov-09 12:43 UTC
Problem with get_data: Caching or ignoring DTMF Tones? (WAS: Re: [Asterisk-Users] Caching DTMF tones for get_data AGI?)
Hello, I'm facing a similar problem, only that in my case, there in no input at all. I use an agi built with Perl and Asterisk::AGI. The $AGI->get_data(...) is executed as if the # was pressed immediately. The strange thing is that this strange behavior happens only if I send a RADIUS accounting packet (using Authen::Radius) to a RADIUS server from the same agi, just before I call the $AGI->get_data. If I comment out the line where I send the RADIUS accounting packet, then $AGI->get_data works fine... Has anyone else dealt with such problems? Best regards, Vlasis Hatzistavrou. Nathan Pralle wrote:> I'm using get_data in an AGI script and am having a problem when, > after a long time in my IVR, when I ask for a 10-digit phone number, > the first few tries are always invalid -- the number it reads back is > very strange, almost like the DTMF tones from other answers were being > cached and then dumped on the call to get_data. > > Anyone ever experienced this before? I have to do some major > exploring, but nothing comes to mind yet. > > Nathan