Displaying 5 results from an estimated 5 matches for "channeldestroyed".
2017 Jun 12
2
ARI events : ChannelDestroyed and ChannelHangupRequest
Hello,
I noticed that when a channel is destroyed, two different events can be
raised : ChannelDestroyed and ChannelHangupRequest. These two events
seem to be mutually exclusive : if I receive a ChannelHangupRequest, I
will never receive a ChannelDestroyed, and vice versa.
This behaviour does not look consistent with the documentation, which
states : "ChannelDestroyed : Notification that a ch...
2019 Jan 11
2
[asterisk-app-dev] Multiple ChannelDestroyed events for the same channel
Hiya,
When I hang up on a call to my stasis app I’m getting multiple channelDestroyed events for the same channel:
app.js:985:13) Channel was destroyed: 1547220509.77
app.js:1029:17) This was a customer
app.js:1030:17) Checking if this was a customer talking to an agent
app.js:1043:21) Customer was not talking to anyone
app.js:1126:13) 2019-01-11 10:28:29
app.js:985:13) Channel was...
2023 Jun 07
1
Listen to ARI events
...:"AppDial2","app_data":"(Outgoing
Line)"},"creationtime":"2023-06-07T10:54:56.295-0300","language":"en"},"asterisk_id":"0c:c4:7a:ba:b3:5a","application":"test"}
<
{"type":"ChannelDestroyed","timestamp":"2023-06-07T10:54:56.296-0300","cause":34,"cause_txt":"Circuit/channel
congestion","channel":{"id":"1686146096.1","name":"PJSIP/mytrunk_endpoint-00000000","state":"Do...
2023 Jun 07
1
Listen to ARI events
...:"AppDial2","app_data":"(Outgoing Line)"},"creationtime":"2023-06-07T10:54:56.295-0300","language":"en"},"asterisk_id":"0c:c4:7a:ba:b3:5a","application":"test"}
< {"type":"ChannelDestroyed","timestamp":"2023-06-07T10:54:56.296-0300","cause":34,"cause_txt":"Circuit/channel congestion","channel":{"id":"1686146096.1","name":"PJSIP/mytrunk_endpoint-00000000","state":"Do...
2023 Jun 07
1
Listen to ARI events
I’ve reread the documentation a few times, and what isn’t clear is whether I need an app=X parameter in the url. In other words, can I only get events for a single named statis app? Or can I get events for the entire Asterisk server?
The command below (without app= parameter) results in no events being shown, but no error either.
Thanks
Brian
(Ast newbie)
From: asterisk-users