aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-27 13:57:45 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-27 13:57:45 +0000
commit6dfd2d5b4481a1188b56c1044fcece8e1896bf7d (patch)
tree2b011109672f2986581bdea4bb1ad7aa38e05941 /channels/chan_sip.c
parent033f2347a51cb61c97051ca8453d85319d94b8f0 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.2@62126 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 924fe9c55..59bc1e928 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 ---*/