Summit Apps Q&A
crecio01 at September 18th, 2017 17:14 — #1
I am attempting to evaluate the status of a channel.dial. I want to check if the call "failed" or received "noanswer" and the explanation is not completely clear and there are no specific code examples.
Any input would be greatly appreciated. Thanks.
chrisstevens at September 19th, 2017 08:14 — #2
Hello @crecio01 the information you are looking for can be found in 2 places
What you want to look at is the channel reference. That is where your status for the call will be.
Here is some sudo code to get you started...
local call = channel.dial('+12223334444')
crecio01 at September 19th, 2017 11:04 — #3
Thank you for the info. The example helps quite a bit. The documentation is lean as to syntax so this is helpful.