11#define RESIPROCATE_SUBSYSTEM Subsystem::SIP
33 if(!it->second.empty())
36 value = tempNameAddr.
uri();
51 value = tempNameAddr.
uri();
56 cerr <<
"Invalid Uri setting: " << name <<
" = " << it->second <<
": " << e << endl;
68 Uri ret(defaultValue);
85 if(!it->second.empty())
99 cerr <<
"Invalid uri format: " << e << endl;
163 Data exceptionString(
"Unknown TLS client verification mode found in " + name +
" setting: " + it->second);
164 throw Exception(exceptionString, __FILE__, __LINE__);
The abstract base-class for all exceptions thrown by resip code.
static SecurityTypes::SSLType parseSSLType(const Data &typeName)
Converts a string containing an SSL type name to the corresponding enum value.
ConfigValuesMap mConfigValues
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
bool empty() const noexcept
Checks whether the Data is empty.
Data & lowercase()
Converts this Data to lowercase.
size_type find(const Data &match, size_type start=0) const
Finds a specified sequence of bytes in this Data.
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
resip::Uri getConfigUri(const resip::Data &name, const resip::Uri &defaultValue, bool useDefaultIfEmpty=false)
SecurityTypes::TlsClientVerificationMode getConfigClientVerificationMode(const resip::Data &name, SecurityTypes::TlsClientVerificationMode defaultValue)
SecurityTypes::SSLType getConfigSSLType(const resip::Data &name, SecurityTypes::SSLType defaultValue)
bool getConfigValue(const resip::Data &name, resip::Uri &value)
virtual ~SipConfigParse()
resip::NameAddr getConfigNameAddr(const resip::Data &name, const resip::NameAddr &defaultValue, bool useDefaultIfEmpty=false)
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
TlsClientVerificationMode
SSLType
Note: Before adding to the SSLType enum, please see the comments about mTlsCtx in resip/stack/ssl/Sec...
dcm! – add UnusedChecking(_enum) below;
bool isEqualNoCase(const Data &left, const Data &right)