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

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to