Replies: 3 comments 9 replies
-
Hi @medvel , I can't understand exactly what are you trying to achieve.
|
Beta Was this translation helpful? Give feedback.
-
I understand.
|
Beta Was this translation helpful? Give feedback.
-
Discussion can be closed. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I played a lot with "high level dial" sample but couldn't make it working with outgoing calls.
I have something like following in extensions.conf:
exten => 9000,1,NoOp()
same => n,Stasis(my_app)
same => n,HangUp()
I was able to connect to asterisk and handle incoming calls to 9000 via OnStasisStarted in my_app. Everything works for incoming calls to 9000.
But when I make call from 9000 I can't enter Stasis application, so CalledCh() in the sample never gets called. I am able to catch other events like "channel created", "channel sate changed" for outgoing calls, but "stasis started" eventy never occurs.
How I can setup outgoing dialplan for 9000 to make sample working when I dial someone from controlled extension?
Please advise.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions