[Asterisk-Users] Identifying a call with manager interface

mattf mattf at vicimarketing.com
Fri Mar 19 08:10:57 MST 2004


You can also use a unique CallerID, that's how I got call tracking to work
with my Asterisk Central Queue System(backend part of the astguiclient).
Take a look at the code if you like:

http://astguiclient.sf.net/

MATT---


-----Original Message-----
From: michiel betel [mailto:michiel at betel.nl]
Sent: Friday, March 19, 2004 9:58 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Identifying a call with manager interface


Nicolas Bougues wrote:

>Dear all,
>
>I'm trying to play with the manager interface.
>
>What I'd like to do is being able to originate a call and trace its
>status through events.
>
>I use the "Originate" manager command. I then receive several events
>telling me about the progress of the call, and then the "Response"
>message.
>
>However, I didn't find a way to be sure that the first "Event" I
>receive after the "Originate" really relates the call I'm making, and
>not some other random call, since I believe that I may get events for
>any channel, not just mine.
>
>Note that the Channel I'm using is IAX based, and looks like this :
>IAX2[217.146.224.41:4569]/3 in the events messages. So I have no way
>to know it's really mine.
>
>Event the final Response message doesn't state the "UniqueId" of the
>call.
>
>Maybe I missed something obvious.
>
>Any idea ?
>
>  
>
You should be able to specify an ActionID with the originate request. 
Asterisk will the put this ActionID in all replys to your request. 
Haven't (yet) tried this myself, but check manager.c for the exact 
implementation.

Michiel


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list