Re: [asterisk-users] inband DTMF for g729

2007-06-27 Thread Steve Underwood
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


___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-27 Thread Alex Balashov

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

___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-25 Thread Gary Chen

- Original Message - 
From: Darrick Hartman (lists) [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Sunday, June 24, 2007 11:25 AM
Subject: Re: [asterisk-users] inband DTMF for g729


 Gang Chen wrote:
 On 6/22/07, Gary Chen [EMAIL PROTECTED] 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

 Gary,

 I'll restate what Kristian just said above.  You do NOT need inband for
 Level 3.  Set dtmf=RFC2833.

 Do you have the correct g729 codec licenses installed?  This may be more
 of a transcoding issue than anything else.

 Darrick
 -- 
 Darrick Hartman
 DJH Solutions, LLC
 http://www.djhsolutions.com

We  have not yet purchase the g729 codec licenses. I want to test it out 
first before we buy any license. I download g729 from Internet.  I did set 
dtmfmode=rfc2833. It worked if I use an SIP phone connect to Asterisk using 
g729 and send dtmf tone using rfc2833. But not from PSTN through Level 3 .

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


Re: [asterisk-users] inband DTMF for g729

2007-06-24 Thread Gang Chen

- Original Message - 
From: Kristian Kielhofner [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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 [EMAIL PROTECTED] 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 

___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-24 Thread Darrick Hartman (lists)
Gang Chen wrote:
 On 6/22/07, Gary Chen [EMAIL PROTECTED] 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 

Gary,

I'll restate what Kristian just said above.  You do NOT need inband for 
Level 3.  Set dtmf=RFC2833.

Do you have the correct g729 codec licenses installed?  This may be more 
of a transcoding issue than anything else.

Darrick
-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-24 Thread Andres



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


  



___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-24 Thread Julio Arruda
Gang Chen wrote:
 - Original Message - 
 From: Kristian Kielhofner [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@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 [EMAIL PROTECTED] 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).


___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-24 Thread Joshua Colp
Andres wrote:


 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.
 

I'll chime in since nobody has yet corrected this... it's 
dtmfmode=rfc2833 not dtmf=rfc2833


-- 
Joshua Colp
Software Developer
Digium, Inc. - The Genuine Asterisk Experience (TM)


___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-24 Thread Darrick Hartman (lists)
Joshua Colp wrote:
 Andres wrote:

 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.

 
 I'll chime in since nobody has yet corrected this... it's 
 dtmfmode=rfc2833 not dtmf=rfc2833

Yeah that's what I meant.  Total lack of caffeine this morning.

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

___
--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


[asterisk-users] inband DTMF for g729

2007-06-22 Thread Gary Chen
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

Re: [asterisk-users] inband DTMF for g729

2007-06-22 Thread Matthew Fredrickson
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


Re: [asterisk-users] inband DTMF for g729

2007-06-22 Thread Ed Nuñez
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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


___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-22 Thread Gary Chen
We are using Level 3. At this point, changing carrier is not an option.

- Original Message - 
From: Matthew Fredrickson [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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 

___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-22 Thread Kristian Kielhofner
On 6/22/07, Gary Chen [EMAIL PROTECTED] 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

___
--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


Re: [asterisk-users] inband DTMF for g729

2007-06-22 Thread Jon Weisman
inband is for G711 (uLaw) only.

Try rfc2833

Jon Weisman | Sales Engineer
International Bell Communications
www.ibell.net


- Original Message - 
From: Matthew Fredrickson [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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 


___
--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