[Asterisk-Users] Identify call flow from manager events

Stefan Reuter srt at reucon.net
Sat Aug 13 03:53:18 MST 2005


On Sat, 2005-08-13 at 11:59 +0200, Christian Peter wrote:
> I know I have the action id to identify events which belong together.
> But if I have a call going inside asterisk and asterisk rings a phone
> these are two channels with different action ids. How can I know that
> these channels belong together?
> 
> I know there are link events but what if the phone doesn't answer? Then
> I have two separate channels.

With Asterisk stable all you get are the link events when the channels
are linked. With Asterisk CVS-HEAD there is a dial event that informs
your Manager application at dial time about the caller ids and the ids
of the channels.

> Can I rely on the number in the action id after the dot? Eg.
> 111111111111111.0 is the incoming channel and
> 111111111111111.1 is the next channel belonging to the incoming call
> action

not if other channels are created around that time.

=Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050813/a95ee0f9/attachment.pgp


More information about the asterisk-users mailing list