Chan.connected

From Yate Documentation
Jump to: navigation, search

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.

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