From f2a635f87ecc22f761b280531ef3017d8c9f2de8 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Tue, 26 Feb 2008 07:37:56 +0000 Subject: [PATCH] - added req.contact and reply.contact with correct values. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@747 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/sipctrl/SipCtrlInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/plug-in/sipctrl/SipCtrlInterface.cpp b/core/plug-in/sipctrl/SipCtrlInterface.cpp index a7bc0925..e82447eb 100644 --- a/core/plug-in/sipctrl/SipCtrlInterface.cpp +++ b/core/plug-in/sipctrl/SipCtrlInterface.cpp @@ -430,6 +430,7 @@ void SipCtrlInterface::handle_sip_request(const char* tid, sip_msg* msg) } else { req.from_uri = c2stlstr(na.addr); + req.contact = c2stlstr(msg->contact->value); } } @@ -493,6 +494,7 @@ void SipCtrlInterface::handle_sip_reply(sip_msg* msg) // 'Contact' header? reply.next_request_uri = c2stlstr(na.addr); + reply.contact = c2stlstr(msg->contact->value); } reply.callid = c2stlstr(msg->callid->value);