Displaying 1 result from an estimated 1 matches for "stasis_don".
Did you mean:
stasis_done
2020 Aug 06
2
Is it possible to use Stasis to control both legs of a Local channel created using ARI?
...setup so if first stasis not there try second, but believe second channel never processes the dial plan so even if second line was hello-world2 it would not matter.
[mycontext]
exten => 1000,1,NoOp()
same => n,Stasis(hello-world)
same => n,GotoIf($[${STASISSTATUS}=FAILED]?IS_hello_world2:stasis_done)
same => n(IS_hello_world2),Stasis(hello-world2)
same => n(stasis_done),Hangup()
For testing, I am using curl
curl -v -u asterisk:asterisk -X POST http://asterisk:asterisk at localhost:8088/ari/channels/create?endpoint=local/1000 at mycontext &app=hello-world2&context=mycontext&...