[asterisk-commits] mmichelson: branch 1.8 r373848 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 26 16:11:04 CDT 2012


Author: mmichelson
Date: Wed Sep 26 16:11:00 2012
New Revision: 373848

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=373848
Log:
Move handling of 408 response so there is no misleading warning message.

(closes issue ASTERISK-20060)
Reported by: Walter Doekes


Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=373848&r1=373847&r2=373848
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Wed Sep 26 16:11:00 2012
@@ -20562,7 +20562,6 @@
 		}
 		break;
 
-	case 408: /* Request timeout */
 	case 481: /* Call leg does not exist */
 		/* Could be REFER caused INVITE with replaces */
 		ast_log(LOG_WARNING, "Re-invite to non-existing call leg on other UA. SIP dialog '%s'. Giving up.\n", p->callid);
@@ -20644,6 +20643,7 @@
 		}
 		break;
 
+	case 408: /* Request timeout */
 	case 405: /* Not allowed */
 	case 501: /* Not implemented */
 		xmitres = transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE);




More information about the asterisk-commits mailing list