Chan.hangup

From Yate Documentation
Revision as of 10:15, 8 October 2012 by Dana (Talk | contribs)

Jump to: navigation, search

The chan.hangup message is sent by channel modules when a channel is hung up - typically this is the last message ever seen about that channel.

Normally these messages are queued asynchronously and the module does not wait for them being dispatched. You cannot therefore make assumptions about the channel's state at the time the message is received.

Mandatory parameters

driver

name of the module that created the instance

id

unique channel identifier

Optional parameters

targetid

the identifier of the other channel to which this one was connected to

reason

textual hangup reason

Note: that helper channels like Tone Generator and Wave File do not emit this message. External modules also have to emit it themselves.

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers