overwriting local tag when establishing the dialog. fixes problems with early dialog from forked destination. patch from Alex Gradinar Alex.Gradinar at cartel.md

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1012 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 18 years ago
parent 5a64d15b59
commit 7e57a1b1d2

@ -194,6 +194,10 @@ void AmSipDialog::updateStatus(const AmSipReply& reply)
(remote_tag.empty() && !reply.remote_tag.empty()))
remote_tag = reply.remote_tag;
if ((reply.code >= 200) && (reply.code < 300) &&
(status != Connected && !reply.remote_tag.empty()))
remote_tag = reply.remote_tag;
// allow route overwritting
if(status < Connected) {

Loading…
Cancel
Save