Chan.connected

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Parameters)
 
Line 18: Line 18:
  
 
If one or both of the involved channels were previously connected to something some [[chan.disconnected]] messages will be sent as well.
 
If one or both of the involved channels were previously connected to something some [[chan.disconnected]] messages will be sent as well.
 +
 +
'''See also'''
 +
 +
* [[chan.disconnected]]

Latest revision as of 18:03, 18 January 2013

chan.connected is a message sent whenever a channel is connected to another. This happens initially when an incoming call leg creates an outgoing one and also when the channels are switched by PBX or fallback features.

Usually this message is seen in pairs, one for each call leg involved. The exceptions happen when a call leg is not a Channel instance but a more generic CallEndpoint.

[edit] Parameters

id
id of the channel which was connected
peerid
the id of the new connected party
lastpeerid
the id of the previous connected party if there was one
reason
reason for connecting, only if provided

Note

If one or both of the involved channels were previously connected to something some chan.disconnected messages will be sent as well.

See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers