[asterisk-commits] oej: branch 1.4 r48487 - in /branches/1.4: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Dec 15 03:55:41 MST 2006


Author: oej
Date: Fri Dec 15 04:55:41 2006
New Revision: 48487

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48487
Log:
Issue #8592 - treat 504 as 503 (imported from 1.2)

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_sip.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=48487&r1=48486&r2=48487
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Fri Dec 15 04:55:41 2006
@@ -12250,6 +12250,7 @@
 					}
 					/* Fall through */
 				case 503: /* Service Unavailable */
+				case 504: /* Server Timeout */
 					if (owner)
 						ast_queue_control(p->owner, AST_CONTROL_CONGESTION);
 					break;
@@ -12380,6 +12381,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