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 <[email protected]> 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:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Sam Govind
> *Sent:* Friday, September 16, 2011 1:03 PM
> *To:* [email protected]
> *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
>
--
_____________________________________________________________________
-- 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

Reply via email to