[svn-commits] oej: trunk r48488 - in /trunk: ./ channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Dec 15 03:58:36 MST 2006
Author: oej
Date: Fri Dec 15 04:58:36 2006
New Revision: 48488
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48488
Log:
Issue #8592 - treat 504 as congestion (imported from 1.2/1.4)
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=48488&r1=48487&r2=48488
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Dec 15 04:58:36 2006
@@ -12461,6 +12461,7 @@
}
/* Fall through */
case 503: /* Service Unavailable */
+ case 504: /* Server Timeout */
if (owner)
ast_queue_control(p->owner, AST_CONTROL_CONGESTION);
break;
@@ -12587,6 +12588,7 @@
case 603: /* Decline */
case 500: /* Server error */
case 503: /* Service Unavailable */
+ case 504: /* Server timeout */
if (sipmethod == SIP_INVITE) { /* re-invite failed */
sip_cancel_destroy(p);
More information about the svn-commits
mailing list