[Asterisk-Users] Dial command in extensions

Patrick asterisk at puzzled.xs4all.nl
Mon Oct 17 17:13:25 MST 2005


On Mon, 2005-10-17 at 17:04 -0700, Edwin Lam wrote:
> hi folks.
> 
> is there anyway to make the dial command return and execute
> the next line in the dial plan after the channel hangs up?
> 
> suppose i want to do something like this:
> 
> exten => 1234,1,dial(SIP/1234)
> exten => 1234,2,<do something>
> 
> but when the dial command hangs up normally, line 2 won't get
> executed.

Try with "h" (for hangup):

exten => 1234,1,Dial...
exten => 1234,h,.......

>From the command line in asterisk "show application dial" gives a lot of
info what it can do.

Regards,
Patrick



More information about the asterisk-users mailing list