Bryan Boatright
2005-Nov-29 17:48 UTC
[Asterisk-Users] Problem with IAX2 jitterbuffer and DTMF reception with 1.2.0
I've noticed that if I enable the jitterbuffer in iax.conf with Asterisk 1.2.0 that Asterisk stops responding to incoming DTMF frames for calls between Teliax and my server. I've used "iax2 debug" and Ethereal to confirm that Teliax is, in fact, sending the frames. I only have two IAX2 connections (one a softphone on my local network and the Teliax registration). The softphone does not experience the problem (DTMF frames sent from the softphone to * are recognized with the jitter buffer enabled). Everything else about the connection with Teliax is fine when the jitter buffer is enabled. "iax2 show channels" reports a 40 ms delay with the Teliax connection. Any ideas? My iax.conf is: [general] bandwidth=low jitterbuffer=no ; setting this to yes causes DTMF frames from Teliax to be ignored (for my server anyway), apparently forcejitterbuffer=no register => XXXXXXXXXXXXXXXXXX:XXXXXXXXXXX@voip-co3.teliax.com tos=lowdelay autokill=yes [bboatrig] type=friend host=dynamic context=default auth=md5,rsa,plaintext secret=XXXXXXXXXX callerid="Laptop" <7020> accountcode=bboatrig0 [teliax] context=incoming-voip-trusted type=friend host=voip-co3.teliax.com auth=md5 secret=XXXXXXXXXXXXXXXXXXXXX disallow=all allow=ulaw allow=alaw allow=gsm
Rich Adamson
2005-Nov-29 18:02 UTC
[Asterisk-Users] Problem with IAX2 jitterbuffer and DTMF reception with 1.2.0
> I've noticed that if I enable the jitterbuffer in iax.conf with Asterisk > 1.2.0 that Asterisk stops responding to incoming DTMF frames for calls > between Teliax and my server. I've used "iax2 debug" and Ethereal to > confirm that Teliax is, in fact, sending the frames. > > I only have two IAX2 connections (one a softphone on my local network > and the Teliax registration). The softphone does not experience the > problem (DTMF frames sent from the softphone to * are recognized with > the jitter buffer enabled). > > Everything else about the connection with Teliax is fine when the jitter > buffer is enabled. > > "iax2 show channels" reports a 40 ms delay with the Teliax connection. > > Any ideas? > > My iax.conf is: > > [general] > bandwidth=low > jitterbuffer=no ; setting this to yes causes DTMF frames from Teliax to > be ignored (for my server anyway), apparently > forcejitterbuffer=no > > > register => > XXXXXXXXXXXXXXXXXX:XXXXXXXXXXX@voip-co3.teliax.com > > tos=lowdelay > autokill=yes > > > > [bboatrig] > type=friend > host=dynamic > context=default > auth=md5,rsa,plaintext > secret=XXXXXXXXXX > callerid="Laptop" <7020> > accountcode=bboatrig0 > > [teliax] > context=incoming-voip-trusted > type=friend > host=voip-co3.teliax.com > auth=md5 > secret=XXXXXXXXXXXXXXXXXXXXX > disallow=all > allow=ulaw > allow=alaw > allow=gsmHad the same issue with them for some time using cvs-head. I simply left the jitterbuffer turned off and really haven't had an issue. I opened a trouble ticket with them and they quickly blamed asterisk for not fixing a problem. Best guess is they are running an older version of iax2 (probably modified) and haven't taken the time to upgrade. There is also a known issue with using trunk=yes and ilbc. Bug has been opened on that one.