diff --git a/sflphone-common/src/sip/sipaccount.cpp b/sflphone-common/src/sip/sipaccount.cpp index 463f92caf76ed4bb46c24356d31897e5ecf94b09..dd2cff51729367307d3ae7bc4757dc5315002afb 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 cf5a81c491c648e4677ab42b423579cd9315e747..5d8d96c22e305343dbea346e7109b943594149b2 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 */