[asterisk-users] Associate manager events to a previous Originate action

Stefan Reuter srt at reucon.net
Fri Jul 21 16:13:27 MST 2006


Johannes Zweng wrote:
> Although I can associate every incoming event to a specific channel on
> Asterisk (because of the Uniqueid field) I see no possibility to identify
> without doubts which channels were created as a result of my Originate
> action. 

add an ActionId property to your Originate action and you will receive
the same ActionId as part of the OriginateSuccess or OriginateFailure
event. The OriginateSuccess event also contains a link to the channel so
you can relate them after you received the OriginateSuccess event.
For the OriginateSuccess/-Failure events to be sent you must also set
Async to true when sending the Originate action.

=Stefan

-- 
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail:  srt at reucon.net
Jabber:  srt at jabber.reucon.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060721/3c1572ad/signature.pgp


More information about the asterisk-users mailing list