summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-01-16 03:09:11 +0000
committerJoshua Colp <jcolp@digium.com>2008-01-16 03:09:11 +0000
commit4082bed03a1334e7f08889150d1d14137c072e3f (patch)
tree59d57f61ebaec767881d1a22add9e03cb0fcfde0 /channels
parent1faba2a90c6ee82a00e37f3b95ead033b2f9b5b7 (diff)
Merged revisions 98955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r98955 | file | 2008-01-15 23:07:24 -0400 (Tue, 15 Jan 2008) | 6 lines Don't drop the old record route information when dealing with packets related to a reinvite. (closes issue #11545) Reported by: kebl0155 Patches: reinvite-patch.txt uploaded by kebl0155 (license 356) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index cb76b2212..b21a82045 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -13593,7 +13593,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
}
/* Save Record-Route for any later requests we make on this dialogue */
- build_route(p, req, 1);
+ if (!reinvite)
+ build_route(p, req, 1);
}
if (p->owner && (p->owner->_state == AST_STATE_UP) && (bridgepeer = ast_bridged_channel(p->owner))) { /* if this is a re-invite */