[Asterisk-Users] Identifying a call with manager interface

Nicolas Bougues nbougues-listes at axialys.net
Fri Mar 19 06:48:31 MST 2004


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 ?

-- 
Nicolas Bougues
Axialys Interactive



More information about the asterisk-users mailing list