reSIProcate/DialogUsageManager  9694
Public Types | Public Member Functions | Private Attributes
resip::Profile Class Reference

#include <Profile.hxx>

Inheritance diagram for resip::Profile:
Inheritance graph
[legend]
Collaboration diagram for resip::Profile:
Collaboration graph
[legend]

List of all members.

Public Types

enum  SessionTimerMode { PreferLocalRefreshes, PreferRemoteRefreshes, PreferCallerRefreshes, PreferCalleeRefreshes }
 Only used if timer option tag is set in MasterProfile. More...

Public Member Functions

 Profile ()
 Profile (SharedPtr< Profile > baseProfile)
virtual ~Profile ()
virtual void reset ()
 Reset this profile to it's initial state - (same as calling unsetXXX for each setting) If no fall through (base) profile was provided as creation time.
virtual void setDefaultRegistrationTime (UInt32 secs)
 Note: setXXXX methods will set this setting internally in this object.
virtual UInt32 getDefaultRegistrationTime () const
virtual void unsetDefaultRegistrationTime ()
virtual void setDefaultMaxRegistrationTime (UInt32 secs)
 If a registration gets rejected with a 423, then we ensure the MinExpires value is less than this before re-registering Set to 0 to disable this check and accept any time suggested by the server.
virtual UInt32 getDefaultMaxRegistrationTime () const
virtual void unsetDefaultMaxRegistrationTime ()
virtual void setDefaultRegistrationRetryTime (int secs)
 The time to retry registrations on error responses (if Retry-After header is not present in error) Set to 0 to never retry on errors.
virtual int getDefaultRegistrationRetryTime () const
virtual void unsetDefaultRegistrationRetryTime ()
virtual void setDefaultSubscriptionTime (UInt32 secs)
 This default is used if no value is passed in when creating a subscription.
virtual UInt32 getDefaultSubscriptionTime () const
virtual void unsetDefaultSubscriptionTime ()
virtual void setDefaultPublicationTime (UInt32 secs)
 This default is used if no value is passed in when creating a publication.
virtual UInt32 getDefaultPublicationTime () const
virtual void unsetDefaultPublicationTime ()
virtual void setDefaultStaleCallTime (int secs)
 Call is stale if UAC gets no final response within the stale call timeout (default 3 minutes)
virtual int getDefaultStaleCallTime () const
virtual void unsetDefaultStaleCallTime ()
virtual void setDefaultStaleReInviteTime (int secs)
 ReInvite is stale if UAC gets no final response within the stale reinvite timeout (default 40 seconds)
virtual int getDefaultStaleReInviteTime () const
virtual void unsetDefaultStaleReInviteTime ()
virtual void setDefaultSessionTime (UInt32 secs)
 Only used if timer option tag is set in MasterProfile.
virtual UInt32 getDefaultSessionTime () const
virtual void unsetDefaultSessionTime ()
virtual void setDefaultSessionTimerMode (Profile::SessionTimerMode mode)
virtual Profile::SessionTimerMode getDefaultSessionTimerMode () const
virtual void unsetDefaultSessionTimerMode ()
virtual void set1xxRetransmissionTime (int secs)
 The amount of time that can pass before dum will resubmit an unreliable provisional response.
virtual int get1xxRetransmissionTime () const
virtual void unset1xxRetransmissionTime ()
virtual void setOverrideHostAndPort (const Uri &hostPort)
 overrides the value used to populate the contact ?dcm? -- also change via entries? Also, dum currently uses(as a uas) the request uri of the dialog constructing request for the local contact within that dialog.
virtual bool hasOverrideHostAndPort () const
virtual const UrigetOverrideHostAndPort () const
virtual void unsetOverrideHostAndPort ()
virtual void addAdvertisedCapability (const Headers::Type header)
 enable/disable sending of Allow/Supported/Accept-Language/Accept-Encoding headers on initial outbound requests (ie.
virtual bool isAdvertisedCapability (const Headers::Type header) const
virtual void clearAdvertisedCapabilities ()
virtual void unsetAdvertisedCapabilities ()
virtual void setOutboundProxy (const Uri &uri)
 Use to route all outbound requests through a particular proxy.
virtual const NameAddrgetOutboundProxy () const
virtual bool hasOutboundProxy () const
virtual void unsetOutboundProxy ()
virtual void setForceOutboundProxyOnAllRequestsEnabled (bool enabled)
 If enabled, forces use of outbound proxy on all requests, including mid-dialog requests.
virtual bool getForceOutboundProxyOnAllRequestsEnabled () const
virtual void unsetForceOutboundProxyOnAllRequestsEnabled ()
virtual void setExpressOutboundAsRouteSetEnabled (bool enabled)
 If enabled, add a route header for the outbound proxy.
virtual bool getExpressOutboundAsRouteSetEnabled () const
virtual void unsetExpressOutboundAsRouteSetEnabled ()
virtual void setRportEnabled (bool enabled)
 enable/disable rport for requests. rport is enabled by default
virtual bool getRportEnabled () const
virtual void unsetRportEnabled ()
virtual void setUserAgent (const Data &userAgent)
 if set then UserAgent header is added to outbound messages
virtual const DatagetUserAgent () const
virtual bool hasUserAgent () const
virtual void unsetUserAgent ()
virtual void setProxyRequires (const Tokens &proxyRequires)
 if set then ProxyRequires header is added to outbound messages
virtual const TokensgetProxyRequires () const
virtual bool hasProxyRequires () const
virtual void unsetProxyRequires ()
virtual void setKeepAliveTimeForDatagram (int keepAliveTime)
 time between CR/LF keepalive messages in seconds.
virtual int getKeepAliveTimeForDatagram () const
virtual void unsetKeepAliveTimeForDatagram ()
virtual void setKeepAliveTimeForStream (int keepAliveTime)
virtual int getKeepAliveTimeForStream () const
virtual void unsetKeepAliveTimeForStream ()
virtual void setFixedTransportPort (int fixedTransportPort)
 If set dum will provide a port in the via for requests sent down to the stack.
virtual int getFixedTransportPort () const
virtual void unsetFixedTransportPort ()
virtual void setFixedTransportInterface (const Data &fixedTransportInterface)
 If set dum will provide a interface in the via for requests sent down to the stack.
virtual const DatagetFixedTransportInterface () const
virtual void unsetFixedTransportInterface ()
virtual void setRinstanceEnabled (bool enabled)
 If enabled then rinstance parameter is added to contacts.
virtual bool getRinstanceEnabled () const
virtual void unsetRinstanceEnabled ()
virtual void setOutboundDecorator (SharedPtr< MessageDecorator > outboundDecorator)
virtual SharedPtr
< MessageDecorator
getOutboundDecorator ()
virtual void unsetOutboundDecorator ()
virtual void setMethodsParamEnabled (bool enabled)
 If enabled then methods parameter is added to contacts.
virtual bool getMethodsParamEnabled () const
virtual void unsetMethodsParamEnabled ()
virtual void setUserAgentCapabilities (const NameAddr &capabilities)
 If set, the parameters on the provided NameAddr are used in the contact header Example: #include <resip/stack/ExtensionParameter.hxx> static const resip::ExtensionParameter p_automaton("automaton"); static const resip::ExtensionParameter p_byeless("+sip.byeless"); static const resip::ExtensionParameter p_rendering("+sip.rendering"); ...
virtual bool hasUserAgentCapabilities () const
virtual const NameAddrgetUserAgentCapabilities () const
virtual void unsetUserAgentCapabilities ()
virtual void setExtraHeadersInReferNotifySipFragEnabled (bool enabled)
 If enabled then dialog identifying headers are added to SipFrag bodies that are generated in an InviteSession.
virtual bool getExtraHeadersInReferNotifySipFragEnabled () const
virtual void unsetExtraHeadersInReferNotifySipFragEnabled ()

Private Attributes

bool mHasDefaultRegistrationExpires
UInt32 mDefaultRegistrationExpires
bool mHasDefaultMaxRegistrationExpires
UInt32 mDefaultMaxRegistrationExpires
bool mHasDefaultRegistrationRetryInterval
int mDefaultRegistrationRetryInterval
bool mHasDefaultSubscriptionExpires
UInt32 mDefaultSubscriptionExpires
bool mHasDefaultPublicationExpires
UInt32 mDefaultPublicationExpires
bool mHasDefaultStaleCallTime
int mDefaultStaleCallTime
bool mHasDefaultStaleReInviteTime
int mDefaultStaleReInviteTime
bool mHasDefaultSessionExpires
UInt32 mDefaultSessionExpires
bool mHasDefaultSessionTimerMode
SessionTimerMode mDefaultSessionTimerMode
bool mHas1xxRetransmissionTime
int m1xxRetransmissionTime
bool mHasOutboundProxy
NameAddr mOutboundProxy
bool mHasForceOutboundProxyOnAllRequestsEnabled
bool mForceOutboundProxyOnAllRequestsEnabled
bool mHasExpressOutboundAsRouteSetEnabled
bool mExpressOutboundAsRouteSetEnabled
bool mHasAdvertisedCapabilities
std::set< Headers::TypemAdvertisedCapabilities
bool mHasRportEnabled
bool mRportEnabled
bool mHasUserAgent
Data mUserAgent
bool mHasOverrideHostPort
Uri mOverrideHostPort
bool mHasKeepAliveTimeForDatagram
int mKeepAliveTimeForDatagram
bool mHasKeepAliveTimeForStream
int mKeepAliveTimeForStream
bool mHasFixedTransportPort
int mFixedTransportPort
bool mHasFixedTransportInterface
Data mFixedTransportInterface
bool mHasProxyRequires
Tokens mProxyRequires
bool mHasRinstanceEnabled
bool mRinstanceEnabled
bool mHasOutboundDecorator
SharedPtr< MessageDecoratormOutboundDecorator
bool mHasMethodsParamEnabled
bool mMethodsParamEnabled
bool mHasUserAgentCapabilities
NameAddr mUserAgentCapabilities
bool mHasExtraHeadersInReferNotifySipFragEnabled
bool mExtraHeadersInReferNotifySipFragEnabled
SharedPtr< ProfilemBaseProfile

Detailed Description

Definition at line 16 of file Profile.hxx.


Member Enumeration Documentation

Only used if timer option tag is set in MasterProfile.

Set to PreferLocalRefreshes if you prefer that the local UA performs the refreshes. Set to PreferRemoteRefreshes if you prefer that the remote UA peforms the refreshes. Set to PreferCallerRefreshes if you prefer that the Caller performs the refreshes. Set to PreferCalleeRefreshes if you prefer that the Callee (called party) performs the refreshes. Note: determining the refresher is a negotiation, so despite this setting the remote end may end up enforcing their preference. Also if the remote end doesn't support SessionTimers then the refresher will always be local. This implementation follows the RECOMMENDED practices from section 7.1 of the draft and does not specify a refresher parameter in UAC requests.

Enumerator:
PreferLocalRefreshes 
PreferRemoteRefreshes 
PreferCallerRefreshes 
PreferCalleeRefreshes 

Definition at line 93 of file Profile.hxx.


Constructor & Destructor Documentation

Profile::Profile ( )

Definition at line 9 of file Profile.cxx.

References reset().

                 :
   mHasOutboundDecorator(false)
{
   reset();  // set defaults
}

Here is the call graph for this function:

Profile::Profile ( SharedPtr< Profile baseProfile)

Definition at line 15 of file Profile.cxx.

References resip::SharedPtr< T >::get(), and reset().

                                               : 
   mHasOutboundDecorator(false),
   mBaseProfile(baseProfile)
{
   assert(baseProfile.get());

   reset();  // default all settings to fallthrough to mBaseProfile
}

Here is the call graph for this function:

Profile::~Profile ( ) [virtual]

Definition at line 24 of file Profile.cxx.

{
}

Member Function Documentation

void Profile::addAdvertisedCapability ( const Headers::Type  header) [virtual]

enable/disable sending of Allow/Supported/Accept-Language/Accept-Encoding headers on initial outbound requests (ie.

Initial INVITE, REGISTER, etc.) and Invite 200 responses Note: Default is to advertise Headers::Allow and Headers::Supported, use clearAdvertisedCapabilities to remove these Currently implemented header values are: Headers::Allow, Headers::AcceptEncoding, Headers::AcceptLanguage, Headers::Supported

Definition at line 416 of file Profile.cxx.

References mAdvertisedCapabilities, and mHasAdvertisedCapabilities.

Referenced by unsetAdvertisedCapabilities().

{
   assert(header == Headers::Allow ||
   header == Headers::AcceptEncoding ||
   header == Headers::AcceptLanguage ||
   header == Headers::Supported);

   mAdvertisedCapabilities.insert(header);
   mHasAdvertisedCapabilities = true;
}
void Profile::clearAdvertisedCapabilities ( void  ) [virtual]

Definition at line 439 of file Profile.cxx.

References mAdvertisedCapabilities, and mHasAdvertisedCapabilities.

int Profile::get1xxRetransmissionTime ( ) const [virtual]

Definition at line 356 of file Profile.cxx.

References resip::SharedPtr< T >::get(), m1xxRetransmissionTime, mBaseProfile, and mHas1xxRetransmissionTime.

{
   // Fall through seting (if required)
   if(!mHas1xxRetransmissionTime && mBaseProfile.get())
   {
       return mBaseProfile->get1xxRetransmissionTime();
   }
   return m1xxRetransmissionTime;
}

Here is the call graph for this function:

UInt32 Profile::getDefaultMaxRegistrationTime ( ) const [virtual]

Definition at line 100 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultMaxRegistrationExpires, and mHasDefaultMaxRegistrationExpires.

{
   // Fall through seting (if required)
   if(!mHasDefaultMaxRegistrationExpires && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultMaxRegistrationTime();
   }
   return mDefaultMaxRegistrationExpires;
}

Here is the call graph for this function:

UInt32 Profile::getDefaultPublicationTime ( ) const [virtual]

Definition at line 196 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultPublicationExpires, and mHasDefaultPublicationExpires.

{
   // Fall through seting (if required)
   if(!mHasDefaultPublicationExpires && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultPublicationTime();
   }
   return mDefaultPublicationExpires;
}

Here is the call graph for this function:

int Profile::getDefaultRegistrationRetryTime ( ) const [virtual]

Definition at line 132 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultRegistrationRetryInterval, and mHasDefaultRegistrationRetryInterval.

{
   // Fall through seting (if required)
   if(!mHasDefaultRegistrationRetryInterval && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultRegistrationRetryTime();
   }
   return mDefaultRegistrationRetryInterval;
}

Here is the call graph for this function:

UInt32 Profile::getDefaultRegistrationTime ( ) const [virtual]

Definition at line 68 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultRegistrationExpires, and mHasDefaultRegistrationExpires.

{
   // Fall through seting (if required)
   if(!mHasDefaultRegistrationExpires && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultRegistrationTime();
   }
   return mDefaultRegistrationExpires;
}

Here is the call graph for this function:

UInt32 Profile::getDefaultSessionTime ( ) const [virtual]

Definition at line 292 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultSessionExpires, and mHasDefaultSessionExpires.

{
   // Fall through seting (if required)
   if(!mHasDefaultSessionExpires && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultSessionTime();
   }
   return mDefaultSessionExpires;
}

Here is the call graph for this function:

Profile::SessionTimerMode Profile::getDefaultSessionTimerMode ( ) const [virtual]

Definition at line 324 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultSessionTimerMode, and mHasDefaultSessionTimerMode.

{
   // Fall through seting (if required)
   if(!mHasDefaultSessionTimerMode && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultSessionTimerMode();
   }
   return mDefaultSessionTimerMode;
}

Here is the call graph for this function:

int Profile::getDefaultStaleCallTime ( ) const [virtual]

Definition at line 228 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultStaleCallTime, and mHasDefaultStaleCallTime.

{
   // Fall through seting (if required)
   if(!mHasDefaultStaleCallTime && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultStaleCallTime();
   }
   return mDefaultStaleCallTime;
}

Here is the call graph for this function:

int Profile::getDefaultStaleReInviteTime ( ) const [virtual]

Definition at line 260 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultStaleReInviteTime, and mHasDefaultStaleReInviteTime.

{
   // Fall through seting (if required)
   if(!mHasDefaultStaleReInviteTime && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultStaleReInviteTime();
   }
   return mDefaultStaleReInviteTime;
}

Here is the call graph for this function:

UInt32 Profile::getDefaultSubscriptionTime ( ) const [virtual]

Definition at line 164 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultSubscriptionExpires, and mHasDefaultSubscriptionExpires.

{
   // Fall through seting (if required)
   if(!mHasDefaultSubscriptionExpires && mBaseProfile.get())
   {
       return mBaseProfile->getDefaultSubscriptionTime();
   }
   return mDefaultSubscriptionExpires;
}

Here is the call graph for this function:

bool Profile::getExpressOutboundAsRouteSetEnabled ( ) const [virtual]

Definition at line 538 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mExpressOutboundAsRouteSetEnabled, and mHasExpressOutboundAsRouteSetEnabled.

Referenced by resip::DialogUsageManager::sendUsingOutboundIfAppropriate().

{
   // Fall through seting (if required)
   if(!mHasExpressOutboundAsRouteSetEnabled && mBaseProfile.get())
   {
       return mBaseProfile->getExpressOutboundAsRouteSetEnabled();
   }
   return mExpressOutboundAsRouteSetEnabled;
}

Here is the call graph for this function:

bool Profile::getExtraHeadersInReferNotifySipFragEnabled ( ) const [virtual]

Definition at line 937 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mExtraHeadersInReferNotifySipFragEnabled, and mHasExtraHeadersInReferNotifySipFragEnabled.

{
   // Fall through seting (if required)
   if(!mHasExtraHeadersInReferNotifySipFragEnabled && mBaseProfile.get())
   {
       return mBaseProfile->getExtraHeadersInReferNotifySipFragEnabled();
   }
   return mExtraHeadersInReferNotifySipFragEnabled;
}

Here is the call graph for this function:

const Data & Profile::getFixedTransportInterface ( ) const [virtual]

Definition at line 770 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mFixedTransportInterface, and mHasFixedTransportInterface.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasFixedTransportInterface && mBaseProfile.get())
   {
       return mBaseProfile->getFixedTransportInterface();
   }
   return mFixedTransportInterface;
}

Here is the call graph for this function:

int Profile::getFixedTransportPort ( ) const [virtual]

Definition at line 738 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mFixedTransportPort, and mHasFixedTransportPort.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasFixedTransportPort && mBaseProfile.get())
   {
       return mBaseProfile->getFixedTransportPort();
   }
   return mFixedTransportPort;
}

Here is the call graph for this function:

bool Profile::getForceOutboundProxyOnAllRequestsEnabled ( ) const [virtual]

Definition at line 506 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mForceOutboundProxyOnAllRequestsEnabled, and mHasForceOutboundProxyOnAllRequestsEnabled.

Referenced by resip::DialogUsageManager::sendUsingOutboundIfAppropriate().

{
   // Fall through seting (if required)
   if(!mHasForceOutboundProxyOnAllRequestsEnabled && mBaseProfile.get())
   {
       return mBaseProfile->getForceOutboundProxyOnAllRequestsEnabled();
   }
   return mForceOutboundProxyOnAllRequestsEnabled;
}

Here is the call graph for this function:

int Profile::getKeepAliveTimeForDatagram ( ) const [virtual]

Definition at line 674 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasKeepAliveTimeForDatagram, and mKeepAliveTimeForDatagram.

{
   // Fall through seting (if required)
   if(!mHasKeepAliveTimeForDatagram && mBaseProfile.get())
   {
       return mBaseProfile->getKeepAliveTimeForDatagram();
   }
   return mKeepAliveTimeForDatagram;
}

Here is the call graph for this function:

int Profile::getKeepAliveTimeForStream ( ) const [virtual]

Definition at line 706 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasKeepAliveTimeForStream, and mKeepAliveTimeForStream.

{
   // Fall through seting (if required)
   if(!mHasKeepAliveTimeForStream && mBaseProfile.get())
   {
       return mBaseProfile->getKeepAliveTimeForStream();
   }
   return mKeepAliveTimeForStream;
}

Here is the call graph for this function:

bool Profile::getMethodsParamEnabled ( ) const [virtual]

Definition at line 869 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasMethodsParamEnabled, and mMethodsParamEnabled.

{
   // Fall through seting (if required)
   if(!mHasMethodsParamEnabled && mBaseProfile.get())
   {
       return mBaseProfile->getMethodsParamEnabled();
   }
   return mMethodsParamEnabled;
}

Here is the call graph for this function:

SharedPtr< MessageDecorator > Profile::getOutboundDecorator ( ) [virtual]

Definition at line 840 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasOutboundDecorator, and mOutboundDecorator.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasOutboundDecorator && mBaseProfile.get())
   {
       return mBaseProfile->getOutboundDecorator();
   }
   return mOutboundDecorator;
}

Here is the call graph for this function:

const NameAddr & Profile::getOutboundProxy ( ) const [virtual]

Definition at line 470 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasOutboundProxy, and mOutboundProxy.

Referenced by resip::DialogUsageManager::sendUsingOutboundIfAppropriate().

{
   // Fall through seting (if required)
   if(!mHasOutboundProxy && mBaseProfile.get())
   {
       return mBaseProfile->getOutboundProxy();
   }
   assert(mHasOutboundProxy);
   return mOutboundProxy;
}

Here is the call graph for this function:

const Uri & Profile::getOverrideHostAndPort ( ) const [virtual]

Definition at line 399 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasOverrideHostPort, and mOverrideHostPort.

{
   // Fall through seting (if required)
   if(!mHasOverrideHostPort && mBaseProfile.get())
   {
       return mBaseProfile->getOverrideHostAndPort();
   }
   return mOverrideHostPort;
}

Here is the call graph for this function:

const Tokens & Profile::getProxyRequires ( ) const [virtual]

Definition at line 638 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasProxyRequires, and mProxyRequires.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasProxyRequires && mBaseProfile.get())
   {
       return mBaseProfile->getProxyRequires();
   }
   assert(mHasProxyRequires);
   return mProxyRequires;
}

Here is the call graph for this function:

bool Profile::getRinstanceEnabled ( ) const [virtual]

Definition at line 803 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasRinstanceEnabled, and mRinstanceEnabled.

{
   // Fall through seting (if required)
   if(!mHasRinstanceEnabled && mBaseProfile.get())
   {
       return mBaseProfile->getRinstanceEnabled();
   }
   return mRinstanceEnabled;
}

Here is the call graph for this function:

bool Profile::getRportEnabled ( ) const [virtual]

Definition at line 570 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasRportEnabled, and mRportEnabled.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasRportEnabled && mBaseProfile.get())
   {
       return mBaseProfile->getRportEnabled();
   }
   return mRportEnabled;
}

Here is the call graph for this function:

const Data & Profile::getUserAgent ( ) const [virtual]

Definition at line 602 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasUserAgent, and mUserAgent.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasUserAgent && mBaseProfile.get())
   {
       return mBaseProfile->getUserAgent();
   }
   assert(mHasUserAgent);
   return mUserAgent;
}

Here is the call graph for this function:

const NameAddr & Profile::getUserAgentCapabilities ( ) const [virtual]

Definition at line 901 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasUserAgentCapabilities, and mUserAgentCapabilities.

{
   // Fall through seting (if required)
   if(!mHasUserAgentCapabilities && mBaseProfile.get())
   {
       return mBaseProfile->getUserAgentCapabilities();
   }
   assert(mHasUserAgentCapabilities);
   return mUserAgentCapabilities;
}

Here is the call graph for this function:

bool Profile::hasOutboundProxy ( ) const [virtual]

Definition at line 482 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, and mHasOutboundProxy.

Referenced by resip::DialogUsageManager::sendUsingOutboundIfAppropriate().

{
   // Fall through seting (if required)
   if(!mHasOutboundProxy && mBaseProfile.get())
   {
       return mBaseProfile->hasOutboundProxy();
   }
   return mHasOutboundProxy;
}

Here is the call graph for this function:

bool Profile::hasOverrideHostAndPort ( ) const [virtual]

Definition at line 388 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, and mHasOverrideHostPort.

{
   // Fall through seting (if required)
   if(!mHasOverrideHostPort && mBaseProfile.get())
   {
       return mBaseProfile->hasOverrideHostAndPort();
   }
   return mHasOverrideHostPort;
}

Here is the call graph for this function:

bool Profile::hasProxyRequires ( ) const [virtual]

Definition at line 650 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, and mHasProxyRequires.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasProxyRequires && mBaseProfile.get())
   {
       return mBaseProfile->hasProxyRequires();
   }
   return mHasProxyRequires;
}

Here is the call graph for this function:

bool Profile::hasUserAgent ( ) const [virtual]

Definition at line 614 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, and mHasUserAgent.

Referenced by resip::DialogUsageManager::send().

{
   // Fall through seting (if required)
   if(!mHasUserAgent && mBaseProfile.get())
   {
       return mBaseProfile->hasUserAgent();
   }
   return mHasUserAgent;
}

Here is the call graph for this function:

bool Profile::hasUserAgentCapabilities ( ) const [virtual]

Definition at line 913 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, and mHasUserAgentCapabilities.

{
   // Fall through seting (if required)
   if(!mHasUserAgentCapabilities && mBaseProfile.get())
   {
       return mBaseProfile->hasUserAgentCapabilities();
   }
   return mHasUserAgentCapabilities;
}

Here is the call graph for this function:

bool Profile::isAdvertisedCapability ( const Headers::Type  header) const [virtual]

Definition at line 428 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mAdvertisedCapabilities, mBaseProfile, and mHasAdvertisedCapabilities.

{
   // Fall through seting (if required)
   if(!mHasAdvertisedCapabilities && mBaseProfile.get())
   {
       return mBaseProfile->isAdvertisedCapability(header);
   }
   return mAdvertisedCapabilities.count(header) != 0;
}

Here is the call graph for this function:

void Profile::reset ( ) [virtual]

Reset this profile to it's initial state - (same as calling unsetXXX for each setting) If no fall through (base) profile was provided as creation time.

  • Reset all settings to Default settings else
  • Reset all setting to fall through to base profile

Definition at line 29 of file Profile.cxx.

References unset1xxRetransmissionTime(), unsetAdvertisedCapabilities(), unsetDefaultMaxRegistrationTime(), unsetDefaultPublicationTime(), unsetDefaultRegistrationRetryTime(), unsetDefaultRegistrationTime(), unsetDefaultSessionTime(), unsetDefaultSessionTimerMode(), unsetDefaultStaleCallTime(), unsetDefaultStaleReInviteTime(), unsetDefaultSubscriptionTime(), unsetExpressOutboundAsRouteSetEnabled(), unsetExtraHeadersInReferNotifySipFragEnabled(), unsetFixedTransportInterface(), unsetFixedTransportPort(), unsetForceOutboundProxyOnAllRequestsEnabled(), unsetKeepAliveTimeForDatagram(), unsetKeepAliveTimeForStream(), unsetMethodsParamEnabled(), unsetOutboundDecorator(), unsetOutboundProxy(), unsetOverrideHostAndPort(), unsetProxyRequires(), unsetRinstanceEnabled(), unsetRportEnabled(), unsetUserAgent(), and unsetUserAgentCapabilities().

Referenced by Profile().

Here is the call graph for this function:

void Profile::set1xxRetransmissionTime ( int  secs) [virtual]

The amount of time that can pass before dum will resubmit an unreliable provisional response.

Definition at line 349 of file Profile.cxx.

References m1xxRetransmissionTime, and mHas1xxRetransmissionTime.

void Profile::setDefaultMaxRegistrationTime ( UInt32  secs) [virtual]

If a registration gets rejected with a 423, then we ensure the MinExpires value is less than this before re-registering Set to 0 to disable this check and accept any time suggested by the server.

Definition at line 93 of file Profile.cxx.

References mDefaultMaxRegistrationExpires, and mHasDefaultMaxRegistrationExpires.

void Profile::setDefaultPublicationTime ( UInt32  secs) [virtual]

This default is used if no value is passed in when creating a publication.

Definition at line 189 of file Profile.cxx.

References mDefaultPublicationExpires, and mHasDefaultPublicationExpires.

void Profile::setDefaultRegistrationRetryTime ( int  secs) [virtual]

The time to retry registrations on error responses (if Retry-After header is not present in error) Set to 0 to never retry on errors.

Note: onRequestRetry is called before this setting is checked. Return -1 from onRequestRetry in order to use this setting.

Definition at line 125 of file Profile.cxx.

References mDefaultRegistrationRetryInterval, and mHasDefaultRegistrationRetryInterval.

void Profile::setDefaultRegistrationTime ( UInt32  secs) [virtual]

Note: setXXXX methods will set this setting internally in this object.

If you do not call a particular setXXX method on this object then a corresponding getXXXX call will attempt to retrieve that value from the BaseProfile (provided in the constructor). This allows you to setup a heirarchy of profiles and settings. unsetXXX methods are used to re-enable fallthrough after calling a setXXXX method. If you call an unsetXXXX method on an object with a NULL BaseProfile the setting will return to it's creation time default. Note: Defaults are described below. This default is used if no value is passed in when creating a registration

Definition at line 61 of file Profile.cxx.

References mDefaultRegistrationExpires, and mHasDefaultRegistrationExpires.

void Profile::setDefaultSessionTime ( UInt32  secs) [virtual]

Only used if timer option tag is set in MasterProfile.

Note: Value must be higher than 90 (as specified in RFC 4028)

Definition at line 285 of file Profile.cxx.

References mDefaultSessionExpires, and mHasDefaultSessionExpires.

void Profile::setDefaultSessionTimerMode ( Profile::SessionTimerMode  mode) [virtual]
void Profile::setDefaultStaleCallTime ( int  secs) [virtual]

Call is stale if UAC gets no final response within the stale call timeout (default 3 minutes)

Definition at line 221 of file Profile.cxx.

References mDefaultStaleCallTime, and mHasDefaultStaleCallTime.

void Profile::setDefaultStaleReInviteTime ( int  secs) [virtual]

ReInvite is stale if UAC gets no final response within the stale reinvite timeout (default 40 seconds)

Definition at line 253 of file Profile.cxx.

References mDefaultStaleReInviteTime, and mHasDefaultStaleReInviteTime.

void Profile::setDefaultSubscriptionTime ( UInt32  secs) [virtual]

This default is used if no value is passed in when creating a subscription.

Definition at line 157 of file Profile.cxx.

References mDefaultSubscriptionExpires, and mHasDefaultSubscriptionExpires.

void Profile::setExpressOutboundAsRouteSetEnabled ( bool  enabled) [virtual]

If enabled, add a route header for the outbound proxy.

Definition at line 531 of file Profile.cxx.

References mExpressOutboundAsRouteSetEnabled, and mHasExpressOutboundAsRouteSetEnabled.

void Profile::setExtraHeadersInReferNotifySipFragEnabled ( bool  enabled) [virtual]

If enabled then dialog identifying headers are added to SipFrag bodies that are generated in an InviteSession.

Definition at line 930 of file Profile.cxx.

References mExtraHeadersInReferNotifySipFragEnabled, and mHasExtraHeadersInReferNotifySipFragEnabled.

void Profile::setFixedTransportInterface ( const Data fixedTransportInterface) [virtual]

If set dum will provide a interface in the via for requests sent down to the stack.

This will tell the transport selector to only look at those transports using this interface. Default is Data::Empty (Disabled).

Definition at line 763 of file Profile.cxx.

References mFixedTransportInterface, and mHasFixedTransportInterface.

{
   mFixedTransportInterface = fixedTransportInterface;
   mHasFixedTransportInterface = true;
}
void Profile::setFixedTransportPort ( int  fixedTransportPort) [virtual]

If set dum will provide a port in the via for requests sent down to the stack.

This will tell the transport selector to only look at those transports using this port. Default is 0 (Disabled). WARNING: Setting this can cause undesirable behaviour in the case when you want DNS entries to decided your transport and you are supporting TLS. For example: if you add UDP:5060, TCP:5060 and TLS:5061 and setFixedTransportPort to 5060 - then the TLS transport cannot be used.

Definition at line 731 of file Profile.cxx.

References mFixedTransportPort, and mHasFixedTransportPort.

{
   mFixedTransportPort = fixedTransportPort;
   mHasFixedTransportPort = true;
}
void Profile::setForceOutboundProxyOnAllRequestsEnabled ( bool  enabled) [virtual]

If enabled, forces use of outbound proxy on all requests, including mid-dialog requests.

WARNING: Using this setting breaks 3261 mid-dialog routing and disables any ability to react to target refreshes. However there are certain scenarios/endpoints for which this setting may make sense - for example: to communicate with an endpoint that never populates it's Contact header correctly.

Definition at line 499 of file Profile.cxx.

References mForceOutboundProxyOnAllRequestsEnabled, and mHasForceOutboundProxyOnAllRequestsEnabled.

void Profile::setKeepAliveTimeForDatagram ( int  keepAliveTime) [virtual]

time between CR/LF keepalive messages in seconds.

Set to 0 to disable. Default is 30 seconds for datagram and 180 seconds for stream. Note: You must set a KeepAliveManager on DUM for this to work.

Definition at line 667 of file Profile.cxx.

References mHasKeepAliveTimeForDatagram, and mKeepAliveTimeForDatagram.

void Profile::setKeepAliveTimeForStream ( int  keepAliveTime) [virtual]

Definition at line 699 of file Profile.cxx.

References mHasKeepAliveTimeForStream, and mKeepAliveTimeForStream.

void Profile::setMethodsParamEnabled ( bool  enabled) [virtual]

If enabled then methods parameter is added to contacts.

Definition at line 862 of file Profile.cxx.

References mHasMethodsParamEnabled, and mMethodsParamEnabled.

void Profile::setOutboundDecorator ( SharedPtr< MessageDecorator outboundDecorator) [virtual]

Definition at line 833 of file Profile.cxx.

References mHasOutboundDecorator, and mOutboundDecorator.

{
   mOutboundDecorator = outboundDecorator;
   mHasOutboundDecorator = true;
}
void Profile::setOutboundProxy ( const Uri uri) [virtual]

Use to route all outbound requests through a particular proxy.

Definition at line 461 of file Profile.cxx.

References mHasOutboundProxy, mOutboundProxy, and resip::ParserCategory::param().

{
   Uri tmpUri(uri);
   tmpUri.param(p_lr);
   mOutboundProxy = NameAddr(tmpUri);
   mHasOutboundProxy = true;
}

Here is the call graph for this function:

void Profile::setOverrideHostAndPort ( const Uri hostPort) [virtual]

overrides the value used to populate the contact ?dcm? -- also change via entries? Also, dum currently uses(as a uas) the request uri of the dialog constructing request for the local contact within that dialog.

A transport paramter here could also be used to force tcp vs udp vs tls?

Definition at line 381 of file Profile.cxx.

References mHasOverrideHostPort, and mOverrideHostPort.

{
   mOverrideHostPort = hostPort;   
   mHasOverrideHostPort = true;   
}
void Profile::setProxyRequires ( const Tokens proxyRequires) [virtual]

if set then ProxyRequires header is added to outbound messages

Definition at line 631 of file Profile.cxx.

References mHasProxyRequires, and mProxyRequires.

{
   mProxyRequires = proxyRequires;   
   mHasProxyRequires = true;   
}
void Profile::setRinstanceEnabled ( bool  enabled) [virtual]

If enabled then rinstance parameter is added to contacts.

The rinstance parameter is added by default.

Definition at line 796 of file Profile.cxx.

References mHasRinstanceEnabled, and mRinstanceEnabled.

{
   mRinstanceEnabled = enabled;
   mHasRinstanceEnabled = true;
}
void Profile::setRportEnabled ( bool  enabled) [virtual]

enable/disable rport for requests. rport is enabled by default

Definition at line 563 of file Profile.cxx.

References mHasRportEnabled, and mRportEnabled.

{
   mRportEnabled = enabled;
   mHasRportEnabled = true;
}
void Profile::setUserAgent ( const Data userAgent) [virtual]

if set then UserAgent header is added to outbound messages

Definition at line 595 of file Profile.cxx.

References mHasUserAgent, and mUserAgent.

{
   mUserAgent = userAgent;   
   mHasUserAgent = true;   
}
void Profile::setUserAgentCapabilities ( const NameAddr capabilities) [virtual]

If set, the parameters on the provided NameAddr are used in the contact header Example: #include <resip/stack/ExtensionParameter.hxx> static const resip::ExtensionParameter p_automaton("automaton"); static const resip::ExtensionParameter p_byeless("+sip.byeless"); static const resip::ExtensionParameter p_rendering("+sip.rendering"); ...

NameAddr capabilities; capabilities.param(p_automaton); capabilities.param(p_byeless); capabilities.param(p_rendering) = "\"no""; profile->setUserAgentCapabilities(capabilities);

Definition at line 894 of file Profile.cxx.

References mHasUserAgentCapabilities, and mUserAgentCapabilities.

void Profile::unset1xxRetransmissionTime ( ) [virtual]

Definition at line 367 of file Profile.cxx.

References resip::SharedPtr< T >::get(), m1xxRetransmissionTime, mBaseProfile, and mHas1xxRetransmissionTime.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHas1xxRetransmissionTime = false;
   }
   else // No Base profile - so return to default setting
   {
      mHas1xxRetransmissionTime = true;
      m1xxRetransmissionTime = 60;  // RFC3261 13.3.1 specifies this timeout should be 1 minute
   }
}

Here is the call graph for this function:

void Profile::unsetAdvertisedCapabilities ( ) [virtual]

Definition at line 446 of file Profile.cxx.

References addAdvertisedCapability(), resip::SharedPtr< T >::get(), mBaseProfile, and mHasAdvertisedCapabilities.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasAdvertisedCapabilities = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasAdvertisedCapabilities = true;
      addAdvertisedCapability(Headers::Allow);  
      addAdvertisedCapability(Headers::Supported);  
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultMaxRegistrationTime ( ) [virtual]

Definition at line 111 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultMaxRegistrationExpires, and mHasDefaultMaxRegistrationExpires.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultMaxRegistrationExpires = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultMaxRegistrationExpires = true;
      mDefaultMaxRegistrationExpires = 0; // No restriction
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultPublicationTime ( ) [virtual]

Definition at line 207 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultPublicationExpires, and mHasDefaultPublicationExpires.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultPublicationExpires = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultPublicationExpires = true;
      mDefaultPublicationExpires = 3600;  // 1 hour
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultRegistrationRetryTime ( ) [virtual]

Definition at line 143 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultRegistrationRetryInterval, and mHasDefaultRegistrationRetryInterval.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultRegistrationRetryInterval = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultRegistrationRetryInterval = true;
      mDefaultRegistrationRetryInterval = 0; // Retries disabled
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultRegistrationTime ( ) [virtual]

Definition at line 79 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultRegistrationExpires, and mHasDefaultRegistrationExpires.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultRegistrationExpires = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultRegistrationExpires = true;
      mDefaultRegistrationExpires = 3600; // 1 hour
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultSessionTime ( ) [virtual]

Definition at line 303 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultSessionExpires, and mHasDefaultSessionExpires.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultSessionExpires = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultSessionExpires = true;
      mDefaultSessionExpires = 1800;      // 30 minutes
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultSessionTimerMode ( ) [virtual]

Definition at line 335 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultSessionTimerMode, mHasDefaultSessionTimerMode, and PreferCallerRefreshes.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultSessionTimerMode = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultSessionTimerMode = true;
      mDefaultSessionTimerMode = Profile::PreferCallerRefreshes;
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultStaleCallTime ( ) [virtual]

Definition at line 239 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultStaleCallTime, and mHasDefaultStaleCallTime.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultStaleCallTime = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultStaleCallTime = true;
      mDefaultStaleCallTime = 180;        // 3 minutes
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultStaleReInviteTime ( ) [virtual]

Definition at line 271 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultStaleReInviteTime, and mHasDefaultStaleReInviteTime.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultStaleReInviteTime = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultStaleReInviteTime = true;
      mDefaultStaleReInviteTime = 40;        // 40 Seconds (slightly longer than T1*64)
   }
}

Here is the call graph for this function:

void Profile::unsetDefaultSubscriptionTime ( ) [virtual]

Definition at line 175 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mDefaultSubscriptionExpires, and mHasDefaultSubscriptionExpires.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasDefaultSubscriptionExpires = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasDefaultSubscriptionExpires = true;
      mDefaultSubscriptionExpires = 3600; // 1 hour
   }
}

Here is the call graph for this function:

void Profile::unsetExpressOutboundAsRouteSetEnabled ( ) [virtual]
void Profile::unsetExtraHeadersInReferNotifySipFragEnabled ( ) [virtual]
void Profile::unsetFixedTransportInterface ( ) [virtual]

Definition at line 781 of file Profile.cxx.

References resip::Data::Empty, resip::SharedPtr< T >::get(), mBaseProfile, mFixedTransportInterface, and mHasFixedTransportInterface.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasFixedTransportInterface = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasFixedTransportInterface = true;
      mFixedTransportInterface = Data::Empty;
   }
}

Here is the call graph for this function:

void Profile::unsetFixedTransportPort ( ) [virtual]

Definition at line 749 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mFixedTransportPort, and mHasFixedTransportPort.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasFixedTransportPort = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasFixedTransportPort = true;
      mFixedTransportPort = 0;
   }
}

Here is the call graph for this function:

void Profile::unsetForceOutboundProxyOnAllRequestsEnabled ( ) [virtual]
void Profile::unsetKeepAliveTimeForDatagram ( ) [virtual]

Definition at line 685 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasKeepAliveTimeForDatagram, and mKeepAliveTimeForDatagram.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasKeepAliveTimeForDatagram = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasKeepAliveTimeForDatagram = true;
      mKeepAliveTimeForDatagram = 30; // 30 seconds.
   }
}

Here is the call graph for this function:

void Profile::unsetKeepAliveTimeForStream ( ) [virtual]

Definition at line 717 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasKeepAliveTimeForStream, and mKeepAliveTimeForStream.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasKeepAliveTimeForStream = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasKeepAliveTimeForStream = true;
      mKeepAliveTimeForStream = 180; // 3 minutes.
   }
}

Here is the call graph for this function:

void Profile::unsetMethodsParamEnabled ( ) [virtual]

Definition at line 880 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasMethodsParamEnabled, and mMethodsParamEnabled.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasMethodsParamEnabled = false;
   }
   else
   {
      mHasMethodsParamEnabled = true;
      mMethodsParamEnabled = false;
   }
}

Here is the call graph for this function:

void Profile::unsetOutboundDecorator ( ) [virtual]

Definition at line 851 of file Profile.cxx.

References mHasOutboundDecorator, mOutboundDecorator, and resip::SharedPtr< T >::reset().

Referenced by reset().

Here is the call graph for this function:

void Profile::unsetOutboundProxy ( ) [virtual]

Definition at line 493 of file Profile.cxx.

References mHasOutboundProxy.

Referenced by reset().

{
   mHasOutboundProxy = false;
}
void Profile::unsetOverrideHostAndPort ( ) [virtual]

Definition at line 410 of file Profile.cxx.

References mHasOverrideHostPort.

Referenced by reset().

{
   mHasOverrideHostPort = false;
}
void Profile::unsetProxyRequires ( ) [virtual]

Definition at line 661 of file Profile.cxx.

References mHasProxyRequires.

Referenced by reset().

{
   mHasProxyRequires = false;
}
void Profile::unsetRinstanceEnabled ( ) [virtual]

Definition at line 814 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasRinstanceEnabled, and mRinstanceEnabled.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasRinstanceEnabled = false;
   }
   else
   {
      mHasRinstanceEnabled = true;
      mRinstanceEnabled = true;
   }
}

Here is the call graph for this function:

void Profile::unsetRportEnabled ( ) [virtual]

Definition at line 581 of file Profile.cxx.

References resip::SharedPtr< T >::get(), mBaseProfile, mHasRportEnabled, and mRportEnabled.

Referenced by reset().

{
   if(mBaseProfile.get()) 
   {
      mHasRportEnabled = false;
   }
   else // No Base profile - so return to default setting
   {
      mHasRportEnabled = true;
      mRportEnabled = true;
   }
}

Here is the call graph for this function:

void Profile::unsetUserAgent ( ) [virtual]

Definition at line 625 of file Profile.cxx.

References mHasUserAgent.

Referenced by reset().

{
   mHasUserAgent = false;
}
void Profile::unsetUserAgentCapabilities ( ) [virtual]

Definition at line 924 of file Profile.cxx.

References mHasUserAgentCapabilities.

Referenced by reset().


Member Data Documentation

Definition at line 316 of file Profile.hxx.

Referenced by get1xxRetransmissionTime(), getDefaultMaxRegistrationTime(), getDefaultPublicationTime(), getDefaultRegistrationRetryTime(), getDefaultRegistrationTime(), getDefaultSessionTime(), getDefaultSessionTimerMode(), getDefaultStaleCallTime(), getDefaultStaleReInviteTime(), getDefaultSubscriptionTime(), getExpressOutboundAsRouteSetEnabled(), getExtraHeadersInReferNotifySipFragEnabled(), getFixedTransportInterface(), getFixedTransportPort(), getForceOutboundProxyOnAllRequestsEnabled(), getKeepAliveTimeForDatagram(), getKeepAliveTimeForStream(), getMethodsParamEnabled(), getOutboundDecorator(), getOutboundProxy(), getOverrideHostAndPort(), getProxyRequires(), getRinstanceEnabled(), getRportEnabled(), getUserAgent(), getUserAgentCapabilities(), hasOutboundProxy(), hasOverrideHostAndPort(), hasProxyRequires(), hasUserAgent(), hasUserAgentCapabilities(), isAdvertisedCapability(), unset1xxRetransmissionTime(), unsetAdvertisedCapabilities(), unsetDefaultMaxRegistrationTime(), unsetDefaultPublicationTime(), unsetDefaultRegistrationRetryTime(), unsetDefaultRegistrationTime(), unsetDefaultSessionTime(), unsetDefaultSessionTimerMode(), unsetDefaultStaleCallTime(), unsetDefaultStaleReInviteTime(), unsetDefaultSubscriptionTime(), unsetExpressOutboundAsRouteSetEnabled(), unsetExtraHeadersInReferNotifySipFragEnabled(), unsetFixedTransportInterface(), unsetFixedTransportPort(), unsetForceOutboundProxyOnAllRequestsEnabled(), unsetKeepAliveTimeForDatagram(), unsetKeepAliveTimeForStream(), unsetMethodsParamEnabled(), unsetRinstanceEnabled(), and unsetRportEnabled().

Definition at line 304 of file Profile.hxx.

Referenced by getOutboundDecorator(), setOutboundDecorator(), and unsetOutboundDecorator().

Definition at line 301 of file Profile.hxx.

Referenced by getRinstanceEnabled(), setRinstanceEnabled(), and unsetRinstanceEnabled().

Definition at line 277 of file Profile.hxx.

Referenced by getRportEnabled(), setRportEnabled(), and unsetRportEnabled().

Definition at line 280 of file Profile.hxx.

Referenced by getUserAgent(), hasUserAgent(), setUserAgent(), and unsetUserAgent().

Definition at line 305 of file Profile.hxx.

Referenced by getOutboundDecorator(), setOutboundDecorator(), and unsetOutboundDecorator().

Definition at line 266 of file Profile.hxx.

Referenced by getOutboundProxy(), and setOutboundProxy().

Definition at line 284 of file Profile.hxx.

Referenced by getOverrideHostAndPort(), and setOverrideHostAndPort().

Definition at line 299 of file Profile.hxx.

Referenced by getProxyRequires(), and setProxyRequires().

Definition at line 302 of file Profile.hxx.

Referenced by getRinstanceEnabled(), setRinstanceEnabled(), and unsetRinstanceEnabled().

Definition at line 278 of file Profile.hxx.

Referenced by getRportEnabled(), setRportEnabled(), and unsetRportEnabled().

Definition at line 281 of file Profile.hxx.

Referenced by getUserAgent(), and setUserAgent().

Definition at line 311 of file Profile.hxx.

Referenced by getUserAgentCapabilities(), and setUserAgentCapabilities().


The documentation for this class was generated from the following files: