From 6368a9ad8886e6947767771d2ec25a45d1424d47 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Thu, 15 Jul 2010 16:01:34 -0400
Subject: [PATCH] [#3170] Add route set for invite and registration requests

---
 sflphone-common/src/sip/sipaccount.cpp | 1 +
 sflphone-common/src/sip/sipaccount.h   | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/sflphone-common/src/sip/sipaccount.cpp b/sflphone-common/src/sip/sipaccount.cpp
index 463f92caf7..dd2cff5172 100755
--- a/sflphone-common/src/sip/sipaccount.cpp
+++ b/sflphone-common/src/sip/sipaccount.cpp
@@ -89,6 +89,7 @@ SIPAccount::SIPAccount (const AccountID& accountID)
         , _publishedIpAddress ("")
         , _localPort (atoi (DEFAULT_SIP_PORT))
         , _publishedPort (atoi (DEFAULT_SIP_PORT))
+	, _serviceRoute("")
 	, _tlsListenerPort (atoi (DEFAULT_SIP_TLS_PORT))
         , _transportType (PJSIP_TRANSPORT_UNSPECIFIED)
         , _transport (NULL)
diff --git a/sflphone-common/src/sip/sipaccount.h b/sflphone-common/src/sip/sipaccount.h
index cf5a81c491..5d8d96c22e 100755
--- a/sflphone-common/src/sip/sipaccount.h
+++ b/sflphone-common/src/sip/sipaccount.h
@@ -432,6 +432,10 @@ class SIPAccount : public Account
          * @return void
          */
         inline void setPublishedAddress(const std::string& publishedIpAddress) { _publishedIpAddress = publishedIpAddress; }
+
+	inline std::string getServiceRoute(void) { return _serviceRoute; }
+
+	inline void setServiceRoute(std::string route) { _serviceRoute = route; }
         
         /**
          * Get the chosen transport type.
@@ -576,6 +580,8 @@ class SIPAccount : public Account
         pj_uint16_t _localPort;
         pj_uint16_t _publishedPort;
 
+	std::string _serviceRoute;
+
         /**
          * The global TLS listener port which can be configured through the IP2IP_PROFILE
          */
-- 
GitLab