Re: [Asterisk-Users] Dial command in extensions

2005-10-18 Thread Edwin Lam
Kevin Bockman wrote: Patrick 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 with h (for hangup): exten = 1234,1,Dial... exten = 1234,h,... He actually meant the 'h' exten and not priority: exten =

[Asterisk-Users] Dial command in extensions

2005-10-17 Thread Edwin Lam
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

Re: [Asterisk-Users] Dial command in extensions

2005-10-17 Thread Patrick
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

Re: [Asterisk-Users] Dial command in extensions

2005-10-17 Thread Hermann Wecke
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

Re: [Asterisk-Users] Dial command in extensions

2005-10-17 Thread Kevin Bockman
Patrick 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 with h (for hangup): exten = 1234,1,Dial... exten = 1234,h,... He actually meant the 'h' exten and not priority: exten = h,1,blah but that would