Chan.disconnected

From Yate Documentation
Revision as of 14:24, 4 October 2012 by Dana (talk | contribs) (Created page with " == chan.disconnected == The '''chan.disconnected''' is a message sent before '''chan.hangup''' and is the last chance for a module to attach something on the channel that wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

chan.disconnected

The chan.disconnected is a message sent before chan.hangup and is the last chance for a module to attach something on the channel that will be hung up.

Parameters

id
id of the channel which will be hung up
reason
reason for being hung up
peerid
the id of the old party (you can't rely on this since it may be already dead)

Note: Some modules like pbxassist can handle this message and reconnect the channel.