[Asterisk-Users] sending a DTMF tone before hangup

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Sun Mar 13 08:10:04 MST 2005


On March 13, 2005 09:57 am, Nigel Burgess wrote:
> [door]
> exten => s,1,Dial (SIP31,15)
> exten => s,2,Playtones(dtmf)
>
> However the call hangsup before trying to play the DTMF tone.

Make sure you use the 'g' flag in the Dial command to go on in the context 
after a hangup.  Now whether the tone will be played or not is still a 
question, as I'm not sure when SIP declares the connection closed, but it's 
worth a try.

-A.



More information about the asterisk-users mailing list