Does anybody know why Asterisk does not support inband DTMF for G.729? Our SIP carrier use inband dtmf for G.729. This causes problem for us to use it for our Asterisk IVR system. Any suggestion to solve this problem? Gary -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070622/43308a1f/attachment.htm
Sounds like you need a new SIP carrier. G.729 has a way of destroying inband DTMF tones. --- Matthew Fredrickson Software Engineer Digium, Inc. On Jun 22, 2007, at 1:20 PM, Gary Chen wrote:> Does anybody know why Asterisk does not support inband DTMF for G.729? > Our SIP carrier use inband dtmf for G.729. This causes problem for > us to use it for our Asterisk IVR system. > > Any suggestion to solve this problem? > > Gary > _______________________________________________ > --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
We are using Level 3. At this point, changing carrier is not an option. ----- Original Message ----- From: "Matthew Fredrickson" <creslin at digium.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Sent: Friday, June 22, 2007 3:20 PM Subject: Re: [asterisk-users] inband DTMF for g729> Sounds like you need a new SIP carrier. G.729 has a way of > destroying inband DTMF tones. > > --- > Matthew Fredrickson > Software Engineer > Digium, Inc. > > On Jun 22, 2007, at 1:20 PM, Gary Chen wrote: > >> Does anybody know why Asterisk does not support inband DTMF for G.729? >> Our SIP carrier use inband dtmf for G.729. This causes problem for >> us to use it for our Asterisk IVR system. >> >> Any suggestion to solve this problem? >> >> Gary >> _______________________________________________ >> --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 > > > _______________________________________________ > --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
I have a similar issue with Qwest SIP. They only support rfc2833 in g729AB, and Asterisk is only G729A. Sprint works fine for me. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew Fredrickson Sent: Friday, June 22, 2007 3:21 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] inband DTMF for g729 Sounds like you need a new SIP carrier. G.729 has a way of destroying inband DTMF tones. --- Matthew Fredrickson Software Engineer Digium, Inc. On Jun 22, 2007, at 1:20 PM, Gary Chen wrote:> Does anybody know why Asterisk does not support inband DTMF for G.729? > Our SIP carrier use inband dtmf for G.729. This causes problem for > us to use it for our Asterisk IVR system. > > Any suggestion to solve this problem? > > Gary > _______________________________________________ > --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_______________________________________________ --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
On 6/22/07, Gary Chen <gang.chen at insightbb.com> wrote:> We are using Level 3. At this point, changing carrier is not an option. >Gary, I use Level(3) with G729a and RFC2833. No problems, no requirement for inband G729. -- Kristian Kielhofner
inband is for G711 (uLaw) only. Try rfc2833 Jon Weisman | Sales Engineer International Bell Communications www.ibell.net ----- Original Message ----- From: "Matthew Fredrickson" <creslin at digium.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Sent: Friday, June 22, 2007 3:20 PM Subject: Re: [asterisk-users] inband DTMF for g729> Sounds like you need a new SIP carrier. G.729 has a way of > destroying inband DTMF tones. > > --- > Matthew Fredrickson > Software Engineer > Digium, Inc. > > On Jun 22, 2007, at 1:20 PM, Gary Chen wrote: > >> Does anybody know why Asterisk does not support inband DTMF for G.729? >> Our SIP carrier use inband dtmf for G.729. This causes problem for >> us to use it for our Asterisk IVR system. >> >> Any suggestion to solve this problem? >> >> Gary >> _______________________________________________ >> --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 > > > _______________________________________________ > --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
----- Original Message ----- From: "Kristian Kielhofner" <kristian.kielhofner at gmail.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Sent: Friday, June 22, 2007 4:32 PM Subject: Re: [asterisk-users] inband DTMF for g729> On 6/22/07, Gary Chen <gang.chen at insightbb.com> wrote: >> We are using Level 3. At this point, changing carrier is not an option. >> > > Gary, > > I use Level(3) with G729a and RFC2833. No problems, no requirement > for inband G729. > > > -- > Kristian Kielhofner >I can connect to Asterisk IVR using a SIP phone and send RFC2833 with g729. It works fine. But when test call from PSTN to Asterisk, if I set dtmf=auto with g729, I got warning saying something like * does not support inband for g729 and sutomaticlly switch to rfc2833. If I set dtmf=g729, there is no warning but I have the same problem. This tells me that Level3 does use inband for g729 or maybe I am doing something wrong . Gary
Gang Chen wrote:> ----- Original Message ----- > From: "Kristian Kielhofner" <kristian.kielhofner at gmail.com> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <asterisk-users at lists.digium.com> > Sent: Friday, June 22, 2007 4:32 PM > Subject: Re: [asterisk-users] inband DTMF for g729 > > >> On 6/22/07, Gary Chen <gang.chen at insightbb.com> wrote: >>> We are using Level 3. At this point, changing carrier is not an option. >>> >> Gary, >> >> I use Level(3) with G729a and RFC2833. No problems, no requirement >> for inband G729. >> >> >> -- >> Kristian Kielhofner >> > > I can connect to Asterisk IVR using a SIP phone and send RFC2833 with g729. > It works fine. But when test call from PSTN to Asterisk, if I set dtmf=auto > with g729, I got warning saying something like * does not support inband > for g729 and sutomaticlly switch to rfc2833. If I set dtmf=g729, there is > no warning but I have the same problem. This tells me that Level3 does use > inband for g729 or maybe I am doing something wrong .Have you captured the SDPs ? Or even the RTP traffic (if they are doing inband, it would show in the RTP stream). And have you tried dtmf=rfc2833 ? (not sure what dtmf=g729 does quite frankly).
> > > >I can connect to Asterisk IVR using a SIP phone and send RFC2833 with g729. >It works fine. But when test call from PSTN to Asterisk, if I set dtmf=auto >with g729, I got warning saying something like * does not support inband >for g729 and sutomaticlly switch to rfc2833. If I set dtmf=g729, there is >no warning but I have the same problem. This tells me that Level3 does use >inband for g729 or maybe I am doing something wrong . > >You are doing something wrong. Nobody uses inband DTMF for G729 because it does not work. Do a sip debug to make sure your sip.conf entry with the dtmf=rfc2833 is being used.>Gary > >_______________________________________________ >--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 > > > >
Gary Chen wrote:> Does anybody know why Asterisk does not support inband DTMF for G.729? > Our SIP carrier use inband dtmf for G.729. This causes problem for us > to use it for our Asterisk IVR system. > > Any suggestion to solve this problem?I supposed the basic "why" is nobody has done it. G.729 spoils the quality of DTMF, and detection reliability degrades a bit, but not that much. I can put a DTMF test stream through G.729 and my decoder gets almost the same results as feeding the test stream direct to the decoder. I've never tried this, but it looks like you could do reasonable DTMF decoding from the G.729 parameters directly, without decoding to linear data at all. That might avoid patent licencing for this task. So, with some effort, and possibly with some patent licencing it could kinda work. On the other hand, the industry standard approach is to avoid this completely, and use RFC4733 (used to be RFC2833), which avoids any degradation in performance, and is simple to implement. Steve
On Thu, 28 Jun 2007, Steve Underwood wrote:> So, with some effort, and possibly with some patent licencing it could > kinda work. On the other hand, the industry standard approach is to > avoid this completely, and use RFC4733 (used to be RFC2833), which > avoids any degradation in performance, and is simple to implement.I would also be curious to know when and where there is ever a compelling reason to use inband DTMF representation with any codec, in any set of circumstances, barring one in which some intermediate element does not support out-of-band RFC 4733 events. -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671