From ca1e19de52442f1a2aa93e9ed77443d9ae1e6190 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 9 Apr 2008 10:35:42 +0000 Subject: [PATCH] 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 --- core/AmSipDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index 4b5aa911..8d913fc7 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -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;