From: Olle Johansson Date: Wed, 31 May 2006 14:36:47 +0000 (+0000) Subject: Add congestion message to SIP history X-Git-Tag: 1.4.0-beta1~1146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7007e1f554e4037ccddcc3be5c2886cfb8d0643;p=thirdparty%2Fasterisk.git Add congestion message to SIP history git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30992 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e25727f585..f338d95e9c 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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); }