Antoine Fressancourt
2007-Jan-10 12:53 UTC
[asterisk-users] Possibility to catch DTMF when 2 users are in a conversation
Hello, I will expose my problem here. Please tell me if it is not the right place as I am really new to that list. I use Asterisk as a SIP proxy. I have two users connected to it, Let's call them 1234 and 5678 In my dialplan I have two lines: exten => 1234,1,Dial(SIP/1234) exten => 5678,1,Dial(SIP/5678) The SIP phones (X-lite) are configured to send DTMF's using RFC 2833 mechanism. I want to know if it is possible in Asterisk to catch a DTMF event sent by one of the phone to trigger an action, for example to play a sound/video clip to one of the phones. Thank you very much in advance for your help, Antoine
Leo Ann Boon
2007-Jan-10 16:40 UTC
[asterisk-users] Possibility to catch DTMF when 2 users are in a conversation
> > exten => 1234,1,Dial(SIP/1234) > exten => 5678,1,Dial(SIP/5678) > > The SIP phones (X-lite) are configured to send DTMF's using RFC 2833 > mechanism. > > I want to know if it is possible in Asterisk to catch a DTMF event > sent by one of the phone to trigger an action, for example to play a > sound/video clip to one of the phones.google for features.conf, But you'll need to keep asterisk in the callpath, i.e. canreinvite=no, otherwise the RFC2833 DTMF codes will only be sent between the end points. If you need to reinvite, then you might have to try using SIP-INFO for DTMF instead of RFC2833. Leo