I’m using Asterisk ARI v.16 and AsterNET.ARI
Question: I wanted to access some variables of a channel for example ${CDR(duration)}
and ${CDR(billsec)}
on hangup event because these variables could not be accessed until the call has been terminated however I always got error Channel Not Found
. I guess I was too late as the channel had already been destroyed. Tried on other events too such as OnChannelLeftBridgeEvent, OnStasisEndEvent but with no lucks. In which event I can access to these kind of variables before the channel has been destroyed or its impossible?