From 2e3c53bb1e7c91ad991c2d03941dac42677247a6 Mon Sep 17 00:00:00 2001 From: marian Date: Mon, 25 Jul 2011 13:45:43 +0000 Subject: [PATCH] Return line's resolved party address/port to match it for incoming requests. git-svn-id: http://voip.null.ro/svn/yate@4523 acf43c95-373e-0410-b603-e72c3f656dc1 --- modules/ysipchan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ysipchan.cpp b/modules/ysipchan.cpp index 2185bd3f..e1633740 100644 --- a/modules/ysipchan.cpp +++ b/modules/ysipchan.cpp @@ -561,11 +561,11 @@ public: inline const String& getLocalAddr() const { return m_localAddr; } inline const String& getPartyAddr() const - { return m_transRemoteAddr ? m_transRemoteAddr : m_partyAddr; } + { return m_partyAddr ? m_partyAddr : m_transRemoteAddr; } inline int getLocalPort() const { return m_localPort; } inline int getPartyPort() const - { return m_transRemotePort ? m_transRemotePort : m_partyPort; } + { return m_partyPort ? m_partyPort : m_transRemotePort; } inline bool localDetect() const { return m_localDetect; } inline const String& getFullName() const