[asterisk-commits] rizzo: branch rizzo/astobj2 r51226 -
/team/rizzo/astobj2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jan 18 09:30:50 MST 2007
Author: rizzo
Date: Thu Jan 18 10:30:49 2007
New Revision: 51226
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51226
Log:
merge from trunk 48488:
Issue #8592 - treat 504 as congestion (imported from 1.2/1.4)
Modified:
team/rizzo/astobj2/channels/chan_sip.c
Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=51226&r1=51225&r2=51226
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Thu Jan 18 10:30:49 2007
@@ -12982,6 +12982,7 @@
}
/* Fall through */
case 503: /* Service Unavailable */
+ case 504: /* Server Timeout */
if (owner)
ast_queue_control(p->owner, AST_CONTROL_CONGESTION);
break;
@@ -13108,6 +13109,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 asterisk-commits
mailing list