Chan.disconnected
From Yate Documentation
(Difference between revisions)
(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...") |
|||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | 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. | |
− | + | ||
− | 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 === | === Parameters === | ||
Line 9: | Line 7: | ||
;reason : reason for being 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) | ;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. | '''Note:''' Some modules like [[pbxassist]] can handle this message and reconnect the channel. | ||
+ | |||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | * [[chan.dtmf]] |
Latest revision as of 18:04, 18 January 2013
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.
[edit] 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.
See also