[asterisk-commits] oej: branch 1.2 r62126 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 27 06:57:46 MST 2007


Author: oej
Date: Fri Apr 27 08:57:45 2007
New Revision: 62126

URL: http://svn.digium.com/view/asterisk?view=rev&rev=62126
Log:
Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed to fix by OEJ
final fix by wojtekka - THANKS!!!! THis was a hard one to catch.


Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=62126&r1=62125&r2=62126
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Fri Apr 27 08:57:45 2007
@@ -4717,6 +4717,8 @@
 		dst->header[x] += offset;
 	for (x=0; x < src->lines; x++)
 		dst->line[x] += offset;
+	dst->rlPart1 += offset;
+	dst->rlPart2 += offset;
 }
 
 /*! \brief  transmit_response_with_sdp: Used for 200 OK and 183 early media ---*/



More information about the asterisk-commits mailing list