ht@phonitel.com
2005-Apr-14 17:11 UTC
[Asterisk-Users] DTMF does not work with g729 and AGI
Hello, I have an AGI script that runs a menu at two levels of a tree. If I call the extension from a voip phone with g711, the menu works fine and accepts DTMF no probs. Then, when I Call from a DID, it sends call using SIP and g729 to?* box. The IVR also starts running, but no DTMF is deteced. I have tried various configs (combinations of dtmfmode=info, dtmfmode=rfc2833 and dtmfrelax=yes, dtmfrelax=no) with no success. Any hint? sip.conf [SS_SIP] type=peer host=XXX.XX.XXX.XX dtmfrelax=no ;dtmfmode=rfc2833 dtmfmode=info context=outbound disallow=all allow=g723.1 allow=g729 [SS_SIP] type=user host=XXX.XX.XXX.XX context=outbound dtmfmode=inband disallow=all allow=g723.1 allow=g729
First of all I hope you realize you can't have the same context activated at the same time for the same host as * does not support this. So I am just thinking the configuration below are just examples of what you tried. I strongly suggest using dtmfmode=rfc2833 and dtmfmode=info instead of inband. Inband will only work for g711 as there is no compression. Secondly, I would suggest looking at your client and configure the client to match * config. If that does not work, I would capture the data with ethereal and decode the protocol to see what is happening. Most likely problem is with your client. Alex -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of ht@phonitel.com Sent: Thursday, April 14, 2005 8:11 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] DTMF does not work with g729 and AGI Hello, I have an AGI script that runs a menu at two levels of a tree. If I call the extension from a voip phone with g711, the menu works fine and accepts DTMF no probs. Then, when I Call from a DID, it sends call using SIP and g729 to?* box. The IVR also starts running, but no DTMF is deteced. I have tried various configs (combinations of dtmfmode=info, dtmfmode=rfc2833 and dtmfrelax=yes, dtmfrelax=no) with no success. Any hint? sip.conf [SS_SIP] type=peer host=XXX.XX.XXX.XX dtmfrelax=no ;dtmfmode=rfc2833 dtmfmode=info context=outbound disallow=all allow=g723.1 allow=g729 [SS_SIP] type=user host=XXX.XX.XXX.XX context=outbound dtmfmode=inband disallow=all allow=g723.1 allow=g729 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users