I have a very simple custom Destination,
The incoming call comes in,
Its first destination is a custom destination, caasship,s,1
It goes to the destination,
In that destintination I set a value of Client = ship
And call return like
exten => s,n,return
I get an error of
– Executing [9137543070@from-pstn:20] Goto(“PJSIP/vz1-00000017”, “CaasshipTag,s,1”) in new stack
– Goto (CaasshipTag,s,1)
– Executing [s@CaasshipTag:1] NoOp(“PJSIP/vz1-00000017”, “start”) in new stack
– Executing [s@CaasshipTag:2] Set(“PJSIP/vz1-00000017”, “client=ship”) in new stack
– Executing [s@CaasshipTag:3] NoOp(“PJSIP/vz1-00000017”, “ship”) in new stack
– Executing [s@CaasshipTag:4] Return(“PJSIP/vz1-00000017”, “”) in new stack
[2020-04-09 13:22:42] ERROR[12060][C-00000015]: app_stack.c:400 return_exec: Return without Gosub: stack is empty
== Spawn extension (CaasshipTag, s, 4) exited non-zero on ‘PJSIP/vz1-00000017’
Any Ideas, This seems like it should be really simple.