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/branches/1.4@98955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 18 years ago
parent a0c14dbda3
commit d35f5e39a2

@ -12096,7 +12096,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 */

Loading…
Cancel
Save