Re: [Asterisk-Users] ATA-186 Double Digit problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 20 November 2003 04:38, John Todd wrote: I'm using ATA-186 devices, with RFC2833 DTMF encoding. I am having problems with routines that input long strings of numbers, in that I am getting more than a small number of double digit entries. As an example, I have a section that asks for the user to enter a call forwarding number, and then puts that number into a database. Almost always, there are double digits when the user only intended to type a single digit, no matter how carefully they entered their string. Sounds very much like the problem we're having when using RFC2833. We're not using an ATA device however. Theory: If the endpoint doesn't properly remove the tone sound from the stream and sends the RFC2833 equivalent tone event, Asterisk might parse both the inband tone and the RFC2833 tone, which will result in two tones. - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/vNa12TEAILET3McRAv/nAKCFrJcOpp8TsPpHUZrcOxL8LILoRACgj0tz fOJ6graDyHUFc5vap0KO2Dk= =NCu5 -END PGP SIGNATURE- ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ATA-186 Double Digit problems
At 3:58 PM +0100 11/20/03, Tais M. Hansen wrote: On Thursday 20 November 2003 04:38, John Todd wrote: I'm using ATA-186 devices, with RFC2833 DTMF encoding. I am having problems with routines that input long strings of numbers, in that I am getting more than a small number of double digit entries. As an example, I have a section that asks for the user to enter a call forwarding number, and then puts that number into a database. Almost always, there are double digits when the user only intended to type a single digit, no matter how carefully they entered their string. Sounds very much like the problem we're having when using RFC2833. We're not using an ATA device however. Theory: If the endpoint doesn't properly remove the tone sound from the stream and sends the RFC2833 equivalent tone event, Asterisk might parse both the inband tone and the RFC2833 tone, which will result in two tones. - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 Interesting theory, and I see how it would explain the problem. However: That would imply that if you select RFC2833 then the inband detection is still happening. I'm not enough of a coder to be able to read the code to see what's happening - is the dtmfmode= an exclusive setting, or is inband detection always working even if other modes are selected? JT ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ATA-186 Double Digit problems
www.bkw.org/~brian/cisco/ata.html check connectmode and audiomode.. I don't have this problem on mine. bkw On Thu, 20 Nov 2003, Tais M. Hansen wrote: On Thursday 20 November 2003 04:38, John Todd wrote: I'm using ATA-186 devices, with RFC2833 DTMF encoding. I am having problems with routines that input long strings of numbers, in that I am getting more than a small number of double digit entries. As an example, I have a section that asks for the user to enter a call forwarding number, and then puts that number into a database. Almost always, there are double digits when the user only intended to type a single digit, no matter how carefully they entered their string. Sounds very much like the problem we're having when using RFC2833. We're not using an ATA device however. Theory: If the endpoint doesn't properly remove the tone sound from the stream and sends the RFC2833 equivalent tone event, Asterisk might parse both the inband tone and the RFC2833 tone, which will result in two tones. -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users Output from gpg gpg: Signature made Thu 20 Nov 2003 08:59:01 AM CST using DSA key ID B113DCC7 gpg: Can't check signature: public key not found ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ATA-186 Double Digit problems
I can't afford Cisco phones, but I'll tell ya what I see with GS phones. They seem to be bouncy as hell. I'll hit a key and see 4 - 6 rtp dtmf event messages. I am going to try and just debounce this in * and see what happens. John Todd wrote: Hello - I'm using ATA-186 devices, with RFC2833 DTMF encoding. I am having problems with routines that input long strings of numbers, in that I am getting more than a small number of double digit entries. As an example, I have a section that asks for the user to enter a call forwarding number, and then puts that number into a database. Almost always, there are double digits when the user only intended to type a single digit, no matter how carefully they entered their string. Can anyone comment on how they may have solved this issue with Cisco devices? The units in question are running 2.16. JT snippet of code where I'm inputting the number - line has already been Answered [class4.6] exten = change,1,ResponseTimeout(5) exten = change,2,Playback(special/edting-spd-dial-number) exten = change,3,SayDigits(${SPEEDDIAL}) exten = change,4,Background(silence/1) exten = change,5,Background(special/entr-nmbr-fr-spddial-entry) exten = change,6,Background(special/and-prs-pound-whn-finished) exten = change,7,Background(silence/3) exten = change,8,Goto(5) ; strip off any extra pound or * symbols, and then set the variable exten = _X.,1,GotoIf($[$[${EXTEN:-1:1} = #] | $[${EXTEN:-1:1} = *]]?2:4) exten = _X.,2,StripLSD(1) exten = _X.,3,Goto(1) exten = _X.,4,DBput(${MYNUMBER}/FEAT/SPEED/${SPEEDDIAL}=${EXTEN}) exten = _X.,5,Goto(class4.5,verify,1) exten = t,1,Goto(change,5) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users -- Bob Knight [-w] the work option [EMAIL PROTECTED] 925-449-9163 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ATA-186 Double Digit problems
Sorry all you GS phone fans. I did not read the trace correctly. Looks like it was * that cause my double digit. A hunting I will go.. Bob Knight wrote: I can't afford Cisco phones, but I'll tell ya what I see with GS phones. They seem to be bouncy as hell. I'll hit a key and see 4 - 6 rtp dtmf event messages. I am going to try and just debounce this in * and see what happens. -- Bob Knight [-w] the work option [EMAIL PROTECTED] 925-449-9163 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] ATA-186 Double Digit problems
Hello - I'm using ATA-186 devices, with RFC2833 DTMF encoding. I am having problems with routines that input long strings of numbers, in that I am getting more than a small number of double digit entries. As an example, I have a section that asks for the user to enter a call forwarding number, and then puts that number into a database. Almost always, there are double digits when the user only intended to type a single digit, no matter how carefully they entered their string. Can anyone comment on how they may have solved this issue with Cisco devices? The units in question are running 2.16. JT snippet of code where I'm inputting the number - line has already been Answered [class4.6] exten = change,1,ResponseTimeout(5) exten = change,2,Playback(special/edting-spd-dial-number) exten = change,3,SayDigits(${SPEEDDIAL}) exten = change,4,Background(silence/1) exten = change,5,Background(special/entr-nmbr-fr-spddial-entry) exten = change,6,Background(special/and-prs-pound-whn-finished) exten = change,7,Background(silence/3) exten = change,8,Goto(5) ; strip off any extra pound or * symbols, and then set the variable exten = _X.,1,GotoIf($[$[${EXTEN:-1:1} = #] | $[${EXTEN:-1:1} = *]]?2:4) exten = _X.,2,StripLSD(1) exten = _X.,3,Goto(1) exten = _X.,4,DBput(${MYNUMBER}/FEAT/SPEED/${SPEEDDIAL}=${EXTEN}) exten = _X.,5,Goto(class4.5,verify,1) exten = t,1,Goto(change,5) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users