[Asterisk-Users] Dial command in extensions

Hermann Wecke hermann at wecke.com
Mon Oct 17 18:48:17 MST 2005


Edwin Lam wrote:
> is there anyway to make the dial command return and execute
> the next line in the dial plan after the channel hangs up?

Try "g":

exten => 1234,1,dial(SIP/1234,,g)
exten => 1234,2,<do something>

g: When the called party hangs up, exit to execute more commands in the 
current context.

http://www.voip-info.org/wiki-Asterisk+cmd+Dial

I'm not sure if this is what you are looking for...



More information about the asterisk-users mailing list