[asterisk-commits] oej: trunk r63533 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 9 06:07:44 MST 2007


Author: oej
Date: Wed May  9 08:07:44 2007
New Revision: 63533

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63533
Log:
Merged revisions 63532 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63532 | oej | 2007-05-09 15:04:14 +0200 (Wed, 09 May 2007) | 2 lines

Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)

........

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=63533&r1=63532&r2=63533
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed May  9 08:07:44 2007
@@ -14499,8 +14499,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