mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 22:38:08 +00:00
Add congestion message to SIP history
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2353,6 +2353,7 @@ static int auto_congest(void *nothing)
|
||||
/* XXX fails on possible deadlock */
|
||||
if (!ast_channel_trylock(p->owner)) {
|
||||
ast_log(LOG_NOTICE, "Auto-congesting %s\n", p->owner->name);
|
||||
append_history(p, "Cong", "Auto-congesting (timer)");
|
||||
ast_queue_control(p->owner, AST_CONTROL_CONGESTION);
|
||||
ast_channel_unlock(p->owner);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user