[asterisk-commits] trunk r30992 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 31 07:36:48 MST 2006


Author: oej
Date: Wed May 31 09:36:47 2006
New Revision: 30992

URL: http://svn.digium.com/view/asterisk?rev=30992&view=rev
Log:
Add congestion message to SIP history

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=30992&r1=30991&r2=30992&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed May 31 09:36:47 2006
@@ -2353,6 +2353,7 @@
 		/* 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);
 		}



More information about the asterisk-commits mailing list