[asterisk-users] dial a pager and enter DTMF

Ed Greenberg edg at greenberg.org
Sat Feb 24 19:36:20 MST 2007


Supa wrote:
> Probably just a simple syntax issue, but does anyone know how to dial 
> a number and the once phone has been answered, play DTMF tones and 
> then disconnect. I am trying to use this for page notification.
>
> Ive been trying the following string with out luck:
>
> exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|D(12345678)

I think what you are missing is the timeout parameter.

The dial command is... 

 Dial(type/identifier, timeout, options)

So you would want something like:
    exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|120|D(12345678))
which would give you a two minute timeout

Also, you are indeed missing a right paren on the end, which I added in 
the line above.

</edg>


More information about the asterisk-users mailing list