tracinet
2005-Dec-05 14:07 UTC
[Asterisk-Users] Linksys SPA-941 DTMF failure with asterisk v.1.2
Been working on testing asterisk 1.2 before upgrading our production systems from 1.0.x and have found a few issues. The one I am working on now involves DTMF failure with the following setup: *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( v.1.2)* ----SIP-----> *Global Crossing* (PSTN) g711 with RFC 2833 out of band DTMF is used throughout the entire setup from the Linksys to Global Crossing. Asterisk servers are using asterisk SVN 1.2from Friday. asteriskA is used as a SIP registrar server for SIP devices to connect and asteriskB is used as a gateway to our SIP provider. In order to test DTMF at each stage, I set up the following so asterisk could playback which digits I entered: ; Test DTMF exten => 123,1,Read(NUMBER) exten => 123,2,SayDigits(${NUMBER}) exten => 123,3,Goto(1) Here are the tests I ran and the results *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* Test Passed - DTMF detected with no problem *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( v.1.2)* Test Passed - DTMF detected with no problem *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( v.1.2)* ----SIP-----> *Global Crossing* (PSTN) Test Failed - poor DTMF accuracy I then trying reverting asteriskB to version 1.0.x of asterisk and surprisingly, DTMF worked fine: *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( v.1.0)* ----SIP-----> *Global Crossing* (PSTN) Test Passed - DTMF detected with no problem I then tried using a Cisco 7960 in place of the Linksys SPA-941 and all worked fine there as well: *Cisco 7960* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB(v.1.2)* ----SIP-----> *Global Crossing* (PSTN) Test Passed - DTMF detected with no problem One would think the issue is with the SIP provider (Global Crossing) but what makes it odd is that DTMF fails only when using the Linksys and only when using version 1.2 of asterisk. So for now I am ruling out Global Crossing. Any thoughts? PS: Bug 5780 states that it is related to g729, not g711 which is in use here. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051205/10065c46/attachment.htm
tracinet
2005-Dec-05 14:52 UTC
[Asterisk-Users] Re: Linksys SPA-941 DTMF failure with asterisk v.1.2
One other piece of information that I just stumbled on while doing a packet capture which may explain the whole thing: The Cisco packet shows the RTP event as this: RFC 2833 RTP Event Event ID: DTMF Pound # (11) End of Event: True Reserved: False Volume: 10 Event Duration: 1600 The Linksys packet shows the following: RFC 2833 RTP Event Event ID: DTMF Pound # (11) End of Event: True Reserved: False Volume: 0 Event Duration: 1760 Notice the volume setting in the Linksys packet. Could this be the issue? I have changed every DTMF-related setting in the Linksys that I can think of with no change in behavior. What still doesn't make sense to me is that why would this not work with asterisk 1.2 yet still work when used with asterisk 1.0.x? On 12/5/05, tracinet <traci.asterisk@gmail.com> wrote:> > Been working on testing asterisk 1.2 before upgrading our production > systems from 1.0.x and have found a few issues. The one I am working on > now involves DTMF failure with the following setup: > > > *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( > v.1.2)* ----SIP-----> *Global Crossing* (PSTN) > > > g711 with RFC 2833 out of band DTMF is used throughout the entire setup > from the Linksys to Global Crossing. Asterisk servers are using asterisk > SVN 1.2 from Friday. asteriskA is used as a SIP registrar server for SIP > devices to connect and asteriskB is used as a gateway to our SIP provider. > > > In order to test DTMF at each stage, I set up the following so asterisk > could playback which digits I entered: > > ; Test DTMF > exten => 123,1,Read(NUMBER) > exten => 123,2,SayDigits(${NUMBER}) > exten => 123,3,Goto(1) > > > Here are the tests I ran and the results > > > *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* > Test Passed - DTMF detected with no problem > > > *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( > v.1.2)* > Test Passed - DTMF detected with no problem > > > *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( > v.1.2)* ----SIP-----> *Global Crossing* (PSTN) > Test Failed - poor DTMF accuracy > > > I then trying reverting asteriskB to version 1.0.x of asterisk and > surprisingly, DTMF worked fine: > > *Linksys SPA-941* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB( > v.1.0)* ----SIP-----> *Global Crossing* (PSTN) > Test Passed - DTMF detected with no problem > > > I then tried using a Cisco 7960 in place of the Linksys SPA-941 and all > worked fine there as well: > > *Cisco 7960* ---SIP---> *asteriskA(v.1.2)* ----IAX2----> *asteriskB(v.1.2)* > ----SIP-----> *Global Crossing* (PSTN) > Test Passed - DTMF detected with no problem > > > One would think the issue is with the SIP provider (Global Crossing) but > what makes it odd is that DTMF fails only when using the > Linksys and only when using version 1.2 of asterisk. So for now I am > ruling out Global Crossing. > > > Any thoughts? > > > > PS: Bug 5780 states that it is related to g729, not g711 which is in use > here. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051205/88a61f56/attachment.htm