]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed...
authorOlle Johansson <oej@edvina.net>
Fri, 27 Apr 2007 13:57:45 +0000 (13:57 +0000)
committerOlle Johansson <oej@edvina.net>
Fri, 27 Apr 2007 13:57:45 +0000 (13:57 +0000)
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

channels/chan_sip.c

index 924fe9c55f3b3d134a48bd1796feb0c088adc25a..59bc1e9285df5850001676fa175b654048590c78 100644 (file)
@@ -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 ---*/