only update remote uri if there is a contact in the reply

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@854 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent d788672b02
commit ca1e19de52

@ -198,7 +198,8 @@ void AmSipDialog::updateStatus(const AmSipReply& reply)
next_hop = reply.next_hop;
}
remote_uri = reply.next_request_uri;
if (reply.next_request_uri.length())
remote_uri = reply.next_request_uri;
if(!reply.dstip.empty()){
sip_ip = reply.dstip;

Loading…
Cancel
Save