From: Olle Johansson Date: Fri, 27 Apr 2007 13:57:45 +0000 (+0000) Subject: Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed... X-Git-Tag: 1.2.19~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bafdca29fece80ea7268aa5b1a0c1374485f70b;p=thirdparty%2Fasterisk.git 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@62126 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 924fe9c55f..59bc1e9285 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4717,6 +4717,8 @@ static void copy_request(struct sip_request *dst, struct sip_request *src) 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 ---*/