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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 9 06:04:15 MST 2007


Author: oej
Date: Wed May  9 08:04:14 2007
New Revision: 63532

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63532
Log:
Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)

Modified:
    branches/1.4/channels/chan_sip.c

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=63532&r1=63531&r2=63532
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed May  9 08:04:14 2007
@@ -13641,8 +13641,7 @@
 				} 
 				/* Respond to normal re-invite */
 				if (sendok)
-					transmit_response_with_sdp(p, "200 OK", req, XMIT_CRITICAL);
-
+					transmit_response_with_sdp(p, "200 OK", req, ast_test_flag(req, SIP_PKT_IGNORE) ?  XMIT_UNRELIABLE : XMIT_CRITICAL);
 			}
 			p->invitestate = INV_TERMINATED;
 			break;



More information about the asterisk-commits mailing list