mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Fix documentation for ast_softhangup() and correct the misuse thereof.
(closes issue #16103) Reported by: majorbloodnok git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@225105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3919,7 +3919,7 @@ static void sla_handle_hold_event(struct sla_event *event)
|
||||
ast_indicate(event->trunk_ref->trunk->chan, AST_CONTROL_HOLD);
|
||||
}
|
||||
|
||||
ast_softhangup(event->trunk_ref->chan, AST_CAUSE_NORMAL);
|
||||
ast_softhangup(event->trunk_ref->chan, AST_SOFTHANGUP_DEV);
|
||||
event->trunk_ref->chan = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user