[asterisk-users] Event showing who called who
    TTT 
    lists at telium.io
       
    Thu Jun  8 13:29:19 CDT 2023
    
    
  
I'm monitoring the ARI, and if extension 1 calls extension 2, it seems that
extension 2 enters the bridge first, then extension 1 enters the bridge.
Can I safely (always) determine who initiated the call by who is the latest
endpoint to enter the bridge?  Or is there a better way to know who
initiates the call?  
 
I want to make this dialplan agnostic, so I don't want to listen for
ChannelDialplan events.  I see a Dial event that holds caller and peer
information but that doesn't mean a bridge will be successful,  so do I have
to start tracking the id's of each endpoint, track who 'dialed', and once a
bridge is entered try to related that data?
 
Looking ahead I wonder how to handle if extension 1 calls a call group..but
I'll ignore that for now.
 
Thanks
Brian
(ast newb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230608/53887040/attachment.html>
    
    
More information about the asterisk-users
mailing list