Re: [asterisk-users] Return without Gosub: stack is empty

2017-11-02 Thread Richard Mudgett
On Thu, Nov 2, 2017 at 1:25 PM, Dmitriy Serov wrote: > [sub-out-do-dial] > exten => s,1,NoOp(Dial) > same => n,NoOp(FirstChannel: ${CHANNEL}) > same => n,Dial(,60,gF) > same => n,NoOp(SecondChannel: ${CHANNEL}) > same => n,Return() > > [some] > exten =>

[asterisk-users] Return without Gosub: stack is empty

2017-11-02 Thread Dmitriy Serov
[sub-out-do-dial] exten => s,1,NoOp(Dial)  same => n,NoOp(FirstChannel: ${CHANNEL})  same => n,Dial(,60,gF)  same => n,NoOp(SecondChannel: ${CHANNEL})  same => n,Return() [some] exten => s,1,GoSub(sub-out-do-dial,s,1) In case of the destination channel hangs up in log i see: