[asterisk-users] Temporarily disable DTMF on a call
Danny Nicholas
danny at debsinc.com
Fri Sep 16 13:48:03 CDT 2011
+1 on my new Asterisk command for today.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sam Govind
Sent: Friday, September 16, 2011 1:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Temporarily disable DTMF on a call
Hey :)
Smiles on your reply but Its complicated :P
Anyways I was actually using SayUNixTime() application and found out that
if a digit is pressed it breaks and go to that extension. So I wanted user
to listen to the time but key presses don't do any harm as well.
I've successfully done it now using application SIPdtmfmode(info) whereas it
was rfc2833 just before hitting the sayunixtime() and then after that reset
sipdtmfmode(rf2833)
Like this.
...
exten => s,n,SIPDtmfMode(info)
exten => s,n,SayUnixTime(${params})
exten => s,n,SIPDtmfMode(rfc2833)
...
Now your x-girlfriend will never know if its her phone's fault or you've
done some trick :P
On Fri, Sep 16, 2011 at 11:39 PM, Danny Nicholas <danny at debsinc.com> wrote:
I would do this with ex-girlfriend logic
[mycontext]
Exten => s,1,playback(instructions)
Exten => s/5551212,n,goto(end)
Exten => s,n,read(var,prompt, .)
Exten => s,n,process..
Exten =>s(end),n,hangup
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sam Govind
Sent: Friday, September 16, 2011 1:03 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Temporarily disable DTMF on a call
Hello List,
I need help on disabling DTMF from a caller for a specific set of dialplan
commands and enable DTMF for some other dialplan part. This is not a SIP
peer - just live incoming call on SIP.
Please help.
Thanks
-Sammy
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110916/adf9dedf/attachment.htm>
More information about the asterisk-users
mailing list