[Asterisk-Users] Sending DTMF after a call is set up

Eric Wieling eric at fnords.org
Fri Feb 18 14:37:25 MST 2005


Bill Hamlin wrote:
> The thing is I need to wait a few seconds.  In fact, it's even worse, I need
> to wait a few seconds, dial an extension, wait a few more seconds, and then
> dial another!
> 
> It's perfect for something like
> 
> ... Wait(5)
> ... SendDTMF("123")
> ... Wait(5)
> ... SendDTMF("456")
> 
> but the Dial command doesn't return until the call is done.

w will wait .5 seconds.  Dial(SIP/1234,,D(wwwwwwwwww123wwwwwwwwww456))

Or if you are on an analog Zap channel

Dial(Zap/1234wwwwwwwwww123wwwwwwwwww456)

Hell, it even mentions the "w" in "show application dial" for the D() 
option.

Read the damn docs.



More information about the asterisk-users mailing list