reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::MasterProfile Class Reference

#include <MasterProfile.hxx>

Inheritance diagram for resip::MasterProfile:
[legend]

Public Types

enum  ReliableProvisionalMode { Never , SupportedEssential , Supported , Required }
 
- Public Types inherited from resip::Profile
enum  SessionTimerMode { PreferLocalRefreshes , PreferRemoteRefreshes , PreferCallerRefreshes , PreferCalleeRefreshes }
 Only used if timer option tag is set in MasterProfile. More...
 

Public Member Functions

 MasterProfile ()
 Creates an Identity/Profile with no BaseProfile - this is the root of all profiles.
 
virtual void addSupportedScheme (const Data &scheme)
 Default is "sip".
 
virtual bool isSchemeSupported (const Data &scheme) const
 
virtual void clearSupportedSchemes () noexcept
 
virtual void addSupportedMethod (const MethodTypes &method)
 Defaults are: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE.
 
virtual void removeSupportedMethod (const MethodTypes &method)
 
virtual bool isMethodSupported (MethodTypes method) const
 
virtual Tokens getAllowedMethods () const
 
virtual Data getAllowedMethodsData () const
 
virtual void clearSupportedMethods () noexcept
 
virtual void addSupportedOptionTag (const Token &tag)
 Default is none. Do not use to enable PRACK(100rel) support.
 
virtual Tokens getUnsupportedOptionsTags (const Tokens &requiresOptionTags)
 
virtual Tokens getSupportedOptionTags () const
 
virtual void clearSupportedOptionTags () noexcept
 
virtual void setUacReliableProvisionalMode (ReliableProvisionalMode mode) noexcept
 
virtual ReliableProvisionalMode getUacReliableProvisionalMode () const noexcept
 
virtual void setUasReliableProvisionalMode (ReliableProvisionalMode mode) noexcept
 
virtual ReliableProvisionalMode getUasReliableProvisionalMode () const noexcept
 
virtual void addSupportedMimeType (const MethodTypes &method, const Mime &mimeType)
 Default is application/sdp for INVITE, OPTIONS, PRACK and UPDATE Methods.
 
virtual bool removeSupportedMimeType (const MethodTypes &method, const Mime &mimeType)
 
virtual bool isMimeTypeSupported (const MethodTypes &method, const Mime &mimeType)
 
virtual Mimes getSupportedMimeTypes (const MethodTypes &method)
 
virtual void clearSupportedMimeTypes (const MethodTypes &method)
 
virtual void clearSupportedMimeTypes () noexcept
 
virtual void addSupportedEncoding (const Token &encoding)
 Default is no encoding.
 
virtual bool isContentEncodingSupported (const Token &contentEncoding) const
 
virtual Tokens getSupportedEncodings () const
 
virtual void clearSupportedEncodings () noexcept
 
virtual void addSupportedLanguage (const Token &lang)
 Default is all - if nothing is set, then all are allowed.
 
virtual bool isLanguageSupported (const Tokens &lang) const
 
virtual Tokens getSupportedLanguages () const
 
virtual void clearSupportedLanguages () noexcept
 
virtual void addAllowedEvent (const Token &event)
 Default is to not send an Allow-Events header.
 
virtual bool isEventAllowed (const Tokens &event) const
 
virtual Tokens getAllowedEvents () const
 
virtual void clearAllowedEvents () noexcept
 
virtual bool & validateContentEnabled () noexcept
 enable/disable content validation
 
virtual bool validateContentEnabled () const noexcept
 
virtual bool & validateContentLanguageEnabled () noexcept
 enable/disable content language validation
 
virtual bool validateContentLanguageEnabled () const noexcept
 
virtual bool & validateAcceptEnabled () noexcept
 enable/disable Accept header validation
 
virtual bool validateAcceptEnabled () const noexcept
 
virtual bool & allowBadRegistrationEnabled () noexcept
 Set this to allow the Registration Server to accept registration requests that contain a To Tag.
 
virtual bool allowBadRegistrationEnabled () const noexcept
 
virtual uint32_t & serverRegistrationMinExpiresTime () noexcept
 Used when receiving a REGISTER request, if the expires value in the request is less than this time, then dum will reject the message with a 423 and set the min-expires header to the value specified here.
 
virtual uint32_t serverRegistrationMinExpiresTime () const noexcept
 
virtual uint32_t & serverRegistrationMaxExpiresTime () noexcept
 If an inbound REGISTER has an Expires header or any individual contact bindings with expires greater than this value, use this Max expires instead of the one given by the client.
 
virtual uint32_t serverRegistrationMaxExpiresTime () const noexcept
 
virtual uint32_t & serverRegistrationDefaultExpiresTime () noexcept
 If no Expires header or individual contact bindings specify an expiration value, use this value.
 
virtual uint32_t serverRegistrationDefaultExpiresTime () const noexcept
 
virtual bool & checkReqUriInMergeDetectionEnabled () noexcept
 Set this to include the RequestURI in merge request detection.
 
virtual bool checkReqUriInMergeDetectionEnabled () const noexcept
 
virtual bool & additionalTransactionTerminatingResponsesEnabled () noexcept
 Enabling this setting will allow the application layer to provide additional SIP responses, from class 4xx, 5xx, 6xx, that will lead to transaction termination instead of other failure effects like dialog termination, as defined by method Helper::determineFailureMessageEffect.
 
virtual bool additionalTransactionTerminatingResponsesEnabled () const noexcept
 
virtual void addAdditionalTransactionTerminatingResponses (int code)
 
virtual bool isAdditionalTransactionTerminatingResponse (int code) const
 
virtual const std::set< int > & getAdditionalTransactionTerminatingResponses () const
 
virtual void clearAdditionalTransactionTerminatingResponses () noexcept
 
- Public Member Functions inherited from resip::UserProfile
 UserProfile ()
 
 UserProfile (std::shared_ptr< Profile > baseProfile)
 
virtual ~UserProfile ()
 
virtual void setDefaultFrom (const NameAddr &from)
 
virtual NameAddr & getDefaultFrom () noexcept
 
virtual void setServiceRoute (const NameAddrs &sRoute)
 
virtual NameAddrs & getServiceRoute () noexcept
 
virtual void setImsAuthUser (const Data &userName, const Data &host)
 
virtual Data & getImsAuthUserName () noexcept
 
virtual Data & getImsAuthHost () noexcept
 
virtual std::shared_ptr< UserProfile > getAnonymousUserProfile () const
 
bool isAnonymous () const
 
virtual void addGruu (const Data &aor, const NameAddr &contact)
 
virtual bool hasGruu (const Data &aor) const
 
virtual bool hasGruu (const Data &aor, const Data &instance) const
 
virtual NameAddr & getGruu (const Data &aor)
 
virtual NameAddr & getGruu (const Data &aor, const NameAddr &contact)
 
virtual bool & gruuEnabled () noexcept
 
virtual bool gruuEnabled () const noexcept
 
virtual bool hasPublicGruu () const
 
virtual const Uri & getPublicGruu () const noexcept
 
virtual void setPublicGruu (const Uri &gruu)
 
virtual bool hasTempGruu () const
 
virtual const Uri & getTempGruu () const noexcept
 
virtual void setTempGruu (const Uri &gruu)
 
virtual void clearDigestCredentials () noexcept
 The following functions deal with clearing, setting and getting of digest credentals.
 
virtual void setDigestCredential (const Data &realm, const Data &user, const Data &password, bool isPasswordA1Hash=false)
 For the password you may either provide the plain text password (isPasswordA1Hash = false) or the Digest A1 MD5 Hash (isPasswordA1Hash = true).
 
virtual const DigestCredential & getDigestCredential (const Data &realm)
 
virtual void setDigestCacheUseLimit (unsigned long digestCacheUseLimit) noexcept
 
virtual unsigned long getDigestCacheUseLimit () const noexcept
 
virtual bool & clientOutboundEnabled () noexcept
 
virtual bool clientOutboundEnabled () const noexcept
 
virtual bool hasInstanceId ()
 
virtual void setInstanceId (const Data &id)
 
virtual const Data & getInstanceId () const noexcept
 
virtual void setRegId (int regId) noexcept
 
virtual int getRegId () noexcept
 
const Tuple & getClientOutboundFlowTuple () const noexcept
 
void clearClientOutboundFlowTuple ()
 
void setClientOutboundFlowTuple (const Tuple &outboundFlowTuple)
 
- Public Member Functions inherited from resip::Profile
 Profile ()
 
 Profile (std::shared_ptr< Profile > baseProfile)
 
 Profile (const Profile &)=default
 
 Profile (Profile &&)=default
 
virtual ~Profile ()=default
 
Profile & operator= (const Profile &)=default
 
Profile & operator= (Profile &&)=default
 
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_t secs) noexcept
 Note: setXXXX methods will set this setting internally in this object.
 
virtual uint32_t getDefaultRegistrationTime () const noexcept
 
virtual void unsetDefaultRegistrationTime () noexcept
 
virtual void setDefaultMaxRegistrationTime (uint32_t secs) noexcept
 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_t getDefaultMaxRegistrationTime () const noexcept
 
virtual void unsetDefaultMaxRegistrationTime () noexcept
 
virtual void setDefaultRegistrationRetryTime (int secs) noexcept
 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 noexcept
 
virtual void unsetDefaultRegistrationRetryTime () noexcept
 
virtual void setDefaultSubscriptionTime (uint32_t secs) noexcept
 This default is used if no value is passed in when creating a subscription.
 
virtual uint32_t getDefaultSubscriptionTime () const noexcept
 
virtual void unsetDefaultSubscriptionTime () noexcept
 
virtual void setDefaultPublicationTime (uint32_t secs) noexcept
 This default is used if no value is passed in when creating a publication.
 
virtual uint32_t getDefaultPublicationTime () const noexcept
 
virtual void unsetDefaultPublicationTime () noexcept
 
virtual void setDefaultStaleCallTime (int secs) noexcept
 Call is stale if UAC gets no final response within the stale call timeout (default 3 minutes)
 
virtual int getDefaultStaleCallTime () const noexcept
 
virtual void unsetDefaultStaleCallTime () noexcept
 
virtual void setDefaultStaleReInviteTime (int secs) noexcept
 ReInvite is stale if UAC gets no final response within the stale reinvite timeout (default 40 seconds)
 
virtual int getDefaultStaleReInviteTime () const noexcept
 
virtual void unsetDefaultStaleReInviteTime () noexcept
 
virtual void setDefaultSessionTime (uint32_t secs) noexcept
 Only used if timer option tag is set in MasterProfile.
 
virtual uint32_t getDefaultSessionTime () const noexcept
 
virtual void unsetDefaultSessionTime () noexcept
 
virtual void setDefaultSessionTimerMode (Profile::SessionTimerMode mode) noexcept
 
virtual Profile::SessionTimerMode getDefaultSessionTimerMode () const noexcept
 
virtual void unsetDefaultSessionTimerMode () noexcept
 
virtual void set1xxRetransmissionTime (int secs) noexcept
 The amount of time that can pass before dum will resubmit an unreliable provisional response.
 
virtual int get1xxRetransmissionTime () const noexcept
 
virtual void unset1xxRetransmissionTime () noexcept
 
virtual void set1xxRelResubmitTime (int secs) noexcept
 The amount of time that can pass before dum will resubmit a reliable provisional response.
 
virtual int get1xxRelResubmitTime () const noexcept
 
virtual void unset1xxRelResubmitTime () noexcept
 
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 noexcept
 
virtual const Uri & getOverrideHostAndPort () const
 
virtual void unsetOverrideHostAndPort () noexcept
 
virtual void addAdvertisedCapability (Headers::Type header)
 enable/disable sending of Allow/Supported/Accept-Language/Accept-Encoding headers on initial outbound requests (ie.
 
virtual bool isAdvertisedCapability (Headers::Type header) const
 
virtual void clearAdvertisedCapabilities () noexcept
 
virtual void unsetAdvertisedCapabilities ()
 
virtual void setOutboundProxy (const Uri &uri)
 Use to route all outbound requests through a particular proxy.
 
virtual const NameAddr & getOutboundProxy () const
 
virtual bool hasOutboundProxy () const noexcept
 
virtual void unsetOutboundProxy () noexcept
 
virtual void setForceOutboundProxyOnAllRequestsEnabled (bool enabled) noexcept
 If enabled, forces use of outbound proxy on all requests, including mid-dialog requests.
 
virtual bool getForceOutboundProxyOnAllRequestsEnabled () const noexcept
 
virtual void unsetForceOutboundProxyOnAllRequestsEnabled () noexcept
 
virtual void setExpressOutboundAsRouteSetEnabled (bool enabled) noexcept
 If enabled, add a route header for the outbound proxy.
 
virtual bool getExpressOutboundAsRouteSetEnabled () const noexcept
 
virtual void unsetExpressOutboundAsRouteSetEnabled () noexcept
 
virtual void setRportEnabled (bool enabled) noexcept
 enable/disable rport for requests. rport is enabled by default
 
virtual bool getRportEnabled () const noexcept
 
virtual void unsetRportEnabled () noexcept
 
virtual void setUserAgent (const Data &userAgent)
 if set then UserAgent header is added to outbound messages
 
virtual const Data & getUserAgent () const
 
virtual bool hasUserAgent () const noexcept
 
virtual void unsetUserAgent () noexcept
 
virtual void setProxyRequires (const Tokens &proxyRequires)
 if set then ProxyRequires header is added to outbound messages
 
virtual const Tokens & getProxyRequires () const
 
virtual bool hasProxyRequires () const noexcept
 
virtual void unsetProxyRequires () noexcept
 
virtual void setKeepAliveTimeForDatagram (int keepAliveTime) noexcept
 time between CR/LF keepalive messages in seconds.
 
virtual int getKeepAliveTimeForDatagram () const noexcept
 
virtual void unsetKeepAliveTimeForDatagram () noexcept
 
virtual void setKeepAliveTimeForStream (int keepAliveTime) noexcept
 
virtual int getKeepAliveTimeForStream () const noexcept
 
virtual void unsetKeepAliveTimeForStream () noexcept
 
virtual void setFixedTransportPort (int fixedTransportPort) noexcept
 If set dum will provide a port in the via for requests sent down to the stack.
 
virtual int getFixedTransportPort () const noexcept
 
virtual void unsetFixedTransportPort () noexcept
 
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 Data & getFixedTransportInterface () const
 
virtual void unsetFixedTransportInterface ()
 
virtual void setRinstanceEnabled (bool enabled) noexcept
 If enabled then rinstance parameter is added to contacts.
 
virtual bool getRinstanceEnabled () const noexcept
 
virtual void unsetRinstanceEnabled () noexcept
 
virtual void setOutboundDecorator (std::shared_ptr< MessageDecorator > outboundDecorator) noexcept
 
virtual std::shared_ptr< MessageDecorator > getOutboundDecorator () noexcept
 
virtual void unsetOutboundDecorator () noexcept
 
virtual void setMethodsParamEnabled (bool enabled) noexcept
 If enabled then methods parameter is added to contacts.
 
virtual bool getMethodsParamEnabled () const noexcept
 
virtual void unsetMethodsParamEnabled () noexcept
 
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"); ... NameAddr capabilities; capabilities.param(p_automaton); capabilities.param(p_byeless); capabilities.param(p_rendering) = "\"no\""; profile->setUserAgentCapabilities(capabilities);.
 
virtual bool hasUserAgentCapabilities () const noexcept
 
virtual const NameAddr & getUserAgentCapabilities () const
 
virtual void unsetUserAgentCapabilities () noexcept
 
virtual void setExtraHeadersInReferNotifySipFragEnabled (bool enabled) noexcept
 If enabled then dialog identifying headers are added to SipFrag bodies that are generated in an InviteSession.
 
virtual bool getExtraHeadersInReferNotifySipFragEnabled () const noexcept
 
virtual void unsetExtraHeadersInReferNotifySipFragEnabled () noexcept
 
virtual void setHandleInviteSession491AsGeneralFailureEnabled (bool enabled)
 
virtual bool getHandleInviteSession491AsGeneralFailureEnabled () const
 
virtual void unsetHandleInviteSession491AsGeneralFailureEnabled ()
 

Additional Inherited Members

Detailed Description

Definition at line 15 of file MasterProfile.hxx.

Member Enumeration Documentation

◆ ReliableProvisionalMode

Enumerator
Never 
SupportedEssential 
Supported 
Required 

Definition at line 50 of file MasterProfile.hxx.

Constructor & Destructor Documentation

◆ MasterProfile()

MasterProfile::MasterProfile ( )

Creates an Identity/Profile with no BaseProfile - this is the root of all profiles.

Definition at line 15 of file MasterProfile.cxx.

Member Function Documentation

◆ addAdditionalTransactionTerminatingResponses()

void MasterProfile::addAdditionalTransactionTerminatingResponses ( int  code)
virtual

Definition at line 467 of file MasterProfile.cxx.

◆ addAllowedEvent()

void MasterProfile::addAllowedEvent ( const Token &  event)
virtual

Default is to not send an Allow-Events header.

Definition at line 324 of file MasterProfile.cxx.

◆ additionalTransactionTerminatingResponsesEnabled() [1/2]

bool MasterProfile::additionalTransactionTerminatingResponsesEnabled ( ) const
virtualnoexcept

Definition at line 462 of file MasterProfile.cxx.

◆ additionalTransactionTerminatingResponsesEnabled() [2/2]

bool & MasterProfile::additionalTransactionTerminatingResponsesEnabled ( )
virtualnoexcept

Enabling this setting will allow the application layer to provide additional SIP responses, from class 4xx, 5xx, 6xx, that will lead to transaction termination instead of other failure effects like dialog termination, as defined by method Helper::determineFailureMessageEffect.

(See header Helper.hxx for all transaction failure effects). A scenarui when this is useful is when, for a server subscription, a NOTIFY is responded with an error response due to a timeout condition, but the application needs the subscription to be continued. Even though RFC 3265 prescribes the notifier should remove the subscription in such cases, timeouts may occur for transient conditions like a overloaded proxy, a slow network connection, eventually nobody would benefit if the subscription is terminated by the server. With this setting enabled the subscription will be continued, but only until the subscription expires. Currently, it is only used by ServerSubscriptions. Default is to not allow additional transaction terminating responses To enable it:

  1. Set additionalTransactionTerminatingResponsesEnabled() = true on master profile
  2. Call method addAdditionalTransactionTerminatingResponses(code) to provide SIP responses for which the application need the transaction to be terminated

Definition at line 457 of file MasterProfile.cxx.

◆ addSupportedEncoding()

void MasterProfile::addSupportedEncoding ( const Token &  encoding)
virtual

Default is no encoding.

Definition at line 269 of file MasterProfile.cxx.

◆ addSupportedLanguage()

void MasterProfile::addSupportedLanguage ( const Token &  lang)
virtual

Default is all - if nothing is set, then all are allowed.

Definition at line 293 of file MasterProfile.cxx.

◆ addSupportedMethod()

void MasterProfile::addSupportedMethod ( const MethodTypes &  method)
virtual

Defaults are: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE.

Definition at line 65 of file MasterProfile.cxx.

◆ addSupportedMimeType()

void MasterProfile::addSupportedMimeType ( const MethodTypes &  method,
const Mime &  mimeType 
)
virtual

Default is application/sdp for INVITE, OPTIONS, PRACK and UPDATE Methods.

Definition at line 201 of file MasterProfile.cxx.

◆ addSupportedOptionTag()

void MasterProfile::addSupportedOptionTag ( const Token &  tag)
virtual

Default is none. Do not use to enable PRACK(100rel) support.

Definition at line 127 of file MasterProfile.cxx.

◆ addSupportedScheme()

void MasterProfile::addSupportedScheme ( const Data &  scheme)
virtual

Default is "sip".

Note: "urn" (RFC 8141, e.g. the RFC 5031 emergency service URNs like "urn:service:sos") is intentionally NOT included by default – accepting urn: Request-URIs is deployment policy, not something the library should impose on every application. An application that wants to accept them (e.g. an emergency-services UAS) should call this explicitly:

masterProfile->addSupportedScheme(Symbols::Urn);
static const char * Urn
Definition Symbols.hxx:65

Definition at line 47 of file MasterProfile.cxx.

◆ allowBadRegistrationEnabled() [1/2]

bool MasterProfile::allowBadRegistrationEnabled ( ) const
virtualnoexcept

Definition at line 391 of file MasterProfile.cxx.

◆ allowBadRegistrationEnabled() [2/2]

bool & MasterProfile::allowBadRegistrationEnabled ( )
virtualnoexcept

Set this to allow the Registration Server to accept registration requests that contain a To Tag.

Definition at line 397 of file MasterProfile.cxx.

◆ checkReqUriInMergeDetectionEnabled() [1/2]

bool MasterProfile::checkReqUriInMergeDetectionEnabled ( ) const
virtualnoexcept

Definition at line 440 of file MasterProfile.cxx.

◆ checkReqUriInMergeDetectionEnabled() [2/2]

bool & MasterProfile::checkReqUriInMergeDetectionEnabled ( )
virtualnoexcept

Set this to include the RequestURI in merge request detection.

!!*!*!*!*! RED FLASHING LIGHT !!*!*!*!*! When false, DUM implements the policy that all RURIs that arrive are equivalent, so if a request forks and arives here with different RURIs, we reject all but one of them as merged requests. This makes sense for single-line endpoints. Nodes responsible for multiple simultaneous resources (like gateways, media-servers, B2BUAs, etc) need to set this to true. Applications like multi-line business phones will want to carefully consider the edge case of a request that forks to more than one line - if you want only one line to ring, leave this false. If you want them all to ring, set it to true.

Definition at line 446 of file MasterProfile.cxx.

◆ clearAdditionalTransactionTerminatingResponses()

void MasterProfile::clearAdditionalTransactionTerminatingResponses ( )
virtualnoexcept

Definition at line 486 of file MasterProfile.cxx.

◆ clearAllowedEvents()

void MasterProfile::clearAllowedEvents ( )
virtualnoexcept

Definition at line 349 of file MasterProfile.cxx.

◆ clearSupportedEncodings()

void MasterProfile::clearSupportedEncodings ( )
virtualnoexcept

Definition at line 287 of file MasterProfile.cxx.

◆ clearSupportedLanguages()

void MasterProfile::clearSupportedLanguages ( )
virtualnoexcept

Definition at line 318 of file MasterProfile.cxx.

◆ clearSupportedMethods()

void MasterProfile::clearSupportedMethods ( )
virtualnoexcept

Definition at line 120 of file MasterProfile.cxx.

◆ clearSupportedMimeTypes() [1/2]

void MasterProfile::clearSupportedMimeTypes ( )
virtualnoexcept

Definition at line 263 of file MasterProfile.cxx.

◆ clearSupportedMimeTypes() [2/2]

void MasterProfile::clearSupportedMimeTypes ( const MethodTypes &  method)
virtual

Definition at line 253 of file MasterProfile.cxx.

◆ clearSupportedOptionTags()

void MasterProfile::clearSupportedOptionTags ( )
virtualnoexcept

Definition at line 171 of file MasterProfile.cxx.

◆ clearSupportedSchemes()

void MasterProfile::clearSupportedSchemes ( )
virtualnoexcept

Definition at line 59 of file MasterProfile.cxx.

◆ getAdditionalTransactionTerminatingResponses()

const std::set< int > & MasterProfile::getAdditionalTransactionTerminatingResponses ( ) const
virtual

Definition at line 481 of file MasterProfile.cxx.

◆ getAllowedEvents()

Tokens MasterProfile::getAllowedEvents ( ) const
virtual

Definition at line 343 of file MasterProfile.cxx.

◆ getAllowedMethods()

Tokens MasterProfile::getAllowedMethods ( ) const
virtual

Definition at line 96 of file MasterProfile.cxx.

◆ getAllowedMethodsData()

Data MasterProfile::getAllowedMethodsData ( ) const
virtual

Definition at line 102 of file MasterProfile.cxx.

◆ getSupportedEncodings()

Tokens MasterProfile::getSupportedEncodings ( ) const
virtual

Definition at line 281 of file MasterProfile.cxx.

◆ getSupportedLanguages()

Tokens MasterProfile::getSupportedLanguages ( ) const
virtual

Definition at line 312 of file MasterProfile.cxx.

◆ getSupportedMimeTypes()

Mimes MasterProfile::getSupportedMimeTypes ( const MethodTypes &  method)
virtual

Definition at line 242 of file MasterProfile.cxx.

◆ getSupportedOptionTags()

Tokens MasterProfile::getSupportedOptionTags ( ) const
virtual

Definition at line 165 of file MasterProfile.cxx.

◆ getUacReliableProvisionalMode()

MasterProfile::ReliableProvisionalMode MasterProfile::getUacReliableProvisionalMode ( ) const
virtualnoexcept

Definition at line 189 of file MasterProfile.cxx.

◆ getUasReliableProvisionalMode()

MasterProfile::ReliableProvisionalMode MasterProfile::getUasReliableProvisionalMode ( ) const
virtualnoexcept

Definition at line 195 of file MasterProfile.cxx.

◆ getUnsupportedOptionsTags()

Tokens MasterProfile::getUnsupportedOptionsTags ( const Tokens &  requiresOptionTags)
virtual

Definition at line 138 of file MasterProfile.cxx.

◆ isAdditionalTransactionTerminatingResponse()

bool MasterProfile::isAdditionalTransactionTerminatingResponse ( int  code) const
virtual

Definition at line 473 of file MasterProfile.cxx.

◆ isContentEncodingSupported()

bool MasterProfile::isContentEncodingSupported ( const Token &  contentEncoding) const
virtual

Definition at line 275 of file MasterProfile.cxx.

◆ isEventAllowed()

bool MasterProfile::isEventAllowed ( const Tokens &  event) const
virtual

Definition at line 330 of file MasterProfile.cxx.

◆ isLanguageSupported()

bool MasterProfile::isLanguageSupported ( const Tokens &  lang) const
virtual

Definition at line 299 of file MasterProfile.cxx.

◆ isMethodSupported()

bool MasterProfile::isMethodSupported ( MethodTypes  method) const
virtual

Definition at line 90 of file MasterProfile.cxx.

◆ isMimeTypeSupported()

bool MasterProfile::isMimeTypeSupported ( const MethodTypes &  method,
const Mime &  mimeType 
)
virtual

Definition at line 226 of file MasterProfile.cxx.

◆ isSchemeSupported()

bool MasterProfile::isSchemeSupported ( const Data &  scheme) const
virtual

Definition at line 53 of file MasterProfile.cxx.

◆ removeSupportedMethod()

void MasterProfile::removeSupportedMethod ( const MethodTypes &  method)
virtual

Definition at line 72 of file MasterProfile.cxx.

◆ removeSupportedMimeType()

bool MasterProfile::removeSupportedMimeType ( const MethodTypes &  method,
const Mime &  mimeType 
)
virtual

Definition at line 207 of file MasterProfile.cxx.

◆ serverRegistrationDefaultExpiresTime() [1/2]

uint32_t MasterProfile::serverRegistrationDefaultExpiresTime ( ) const
virtualnoexcept

Definition at line 434 of file MasterProfile.cxx.

◆ serverRegistrationDefaultExpiresTime() [2/2]

uint32_t & MasterProfile::serverRegistrationDefaultExpiresTime ( )
virtualnoexcept

If no Expires header or individual contact bindings specify an expiration value, use this value.

Definition at line 428 of file MasterProfile.cxx.

◆ serverRegistrationMaxExpiresTime() [1/2]

uint32_t MasterProfile::serverRegistrationMaxExpiresTime ( ) const
virtualnoexcept

Definition at line 422 of file MasterProfile.cxx.

◆ serverRegistrationMaxExpiresTime() [2/2]

uint32_t & MasterProfile::serverRegistrationMaxExpiresTime ( )
virtualnoexcept

If an inbound REGISTER has an Expires header or any individual contact bindings with expires greater than this value, use this Max expires instead of the one given by the client.

Definition at line 416 of file MasterProfile.cxx.

◆ serverRegistrationMinExpiresTime() [1/2]

uint32_t MasterProfile::serverRegistrationMinExpiresTime ( ) const
virtualnoexcept

Definition at line 410 of file MasterProfile.cxx.

◆ serverRegistrationMinExpiresTime() [2/2]

uint32_t & MasterProfile::serverRegistrationMinExpiresTime ( )
virtualnoexcept

Used when receiving a REGISTER request, if the expires value in the request is less than this time, then dum will reject the message with a 423 and set the min-expires header to the value specified here.

Definition at line 404 of file MasterProfile.cxx.

◆ setUacReliableProvisionalMode()

void MasterProfile::setUacReliableProvisionalMode ( ReliableProvisionalMode  mode)
virtualnoexcept

Definition at line 177 of file MasterProfile.cxx.

◆ setUasReliableProvisionalMode()

void MasterProfile::setUasReliableProvisionalMode ( ReliableProvisionalMode  mode)
virtualnoexcept

Definition at line 183 of file MasterProfile.cxx.

◆ validateAcceptEnabled() [1/2]

bool MasterProfile::validateAcceptEnabled ( ) const
virtualnoexcept

Definition at line 385 of file MasterProfile.cxx.

◆ validateAcceptEnabled() [2/2]

bool & MasterProfile::validateAcceptEnabled ( )
virtualnoexcept

enable/disable Accept header validation

Definition at line 379 of file MasterProfile.cxx.

◆ validateContentEnabled() [1/2]

bool MasterProfile::validateContentEnabled ( ) const
virtualnoexcept

Definition at line 361 of file MasterProfile.cxx.

◆ validateContentEnabled() [2/2]

bool & MasterProfile::validateContentEnabled ( )
virtualnoexcept

enable/disable content validation

Definition at line 355 of file MasterProfile.cxx.

◆ validateContentLanguageEnabled() [1/2]

bool MasterProfile::validateContentLanguageEnabled ( ) const
virtualnoexcept

Definition at line 373 of file MasterProfile.cxx.

◆ validateContentLanguageEnabled() [2/2]

bool & MasterProfile::validateContentLanguageEnabled ( )
virtualnoexcept

enable/disable content language validation

Definition at line 367 of file MasterProfile.cxx.


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