1#if !defined(UserAgentMasterProfile_hxx)
2#define UserAgentMasterProfile_hxx
91 resip::SecurityTypes::TlsClientVerificationMode
cvm =
resip::SecurityTypes::None,
226 resip::Data mCertPath;
227 std::vector<
resip::Data> mRootCertDirectories;
228 std::vector<
resip::Data> mRootCertBundles;
229 bool mStatisticsManagerEnabled;
230 bool mServerAuthManagerEnabled;
231 std::shared_ptr<
resip::Transport::SipMessageLoggingHandler> mTransportSipMessageLoggingHandler;
232 std::shared_ptr<
flowmanager::RTCPEventLoggingHandler> mRTCPEventLoggingHandler;
233 bool mDTMFDigitLoggingEnabled;
235 std::vector<
resip::Data> mEnumSuffixes;
236 resip::DnsStub::NameserverList mAdditionalDnsServers;
237 unsigned short mRTPPortRangeMin;
238 unsigned short mRTPPortRangeMax;
239 int mSubscriptionRetryInterval;
resip::Data mTlsPrivateKeyPassPhrase
resip::StunSetting mStunEnabled
resip::IpVersion mIPVersion
resip::SecurityTypes::TlsClientVerificationMode mCvm
resip::Data mTlsCertificate
resip::Data mSipDomainname
resip::Data mTlsPrivateKey
resip::SecurityTypes::SSLType mSslType
resip::TransportType mProtocol
This class extends the resip MasterProfile to include UserAgent specific settings.
std::vector< TransportInfo > & getTransports()
Gets a vector of the transports previously added.
std::shared_ptr< flowmanager::RTCPEventLoggingHandler > getRTCPEventLoggingHandler() const noexcept
std::shared_ptr< resip::Transport::SipMessageLoggingHandler > getTransportSipMessageLoggingHandler() const noexcept
virtual unsigned short & rtpPortRangeMin()
Get/Set the starting port number in the range of valid port numbers to be used for RTP traffic.
virtual std::vector< resip::Data > & rootCertBundles()
Get/Set the names of files containing bundles of X.509 trusted root certificates.
void addEnumSuffix(const resip::Data &enumSuffix)
Adds a domain suffix used in ENUM DNS queries.
virtual int & subscriptionRetryInterval()
Get/Set the interval at which subscriptions are retried if they fail (if one is not suggested in the ...
void setTransportSipMessageLoggingHandler(std::shared_ptr< resip::Transport::SipMessageLoggingHandler > handler) noexcept
const std::vector< resip::Data > & getEnumSuffixes() const
Gets a vector of the ENUM domain suffixes previously added.
virtual unsigned short & rtpPortRangeMax()
Get/Set the ending port number in the range of valid port numbers to be used for RTP traffic.
virtual std::vector< resip::Data > & rootCertDirectories()
Get/Set the locations where the SIP stack will look for X.509 trusted root certificates.
virtual bool & serverAuthManagerEnabled()
Get/Set wether Server Auth Manager is enabled or not.
virtual bool & statisticsManagerEnabled()
Get/Set wether SIP message statistics are send to logging subsystem.
void addAdditionalDnsServer(const resip::Data &dnsServerIPAddress)
Adds an additional DNS server to ones that are attempted to be discovered by the SIP stack.
virtual resip::Data & certPath()
Get/Set the location where the SIP stack will look for X509 certificates.
void setRTCPEventLoggingHandler(std::shared_ptr< flowmanager::RTCPEventLoggingHandler > handler) noexcept
void addTransport(resip::TransportType protocol, int port, resip::IpVersion version=resip::V4, resip::StunSetting stun=resip::StunDisabled, const resip::Data &ipInterface=resip::Data::Empty, const resip::Data &sipDomainname=resip::Data::Empty, const resip::Data &privateKeyPassPhrase=resip::Data::Empty, resip::SecurityTypes::SSLType sslType=resip::SecurityTypes::DynamicTLS, unsigned transportFlags=0, const resip::Data &certificateFilename=resip::Data::Empty, const resip::Data &privateKeyFilename=resip::Data::Empty, resip::SecurityTypes::TlsClientVerificationMode cvm=resip::SecurityTypes::None, bool useEmailAsSIP=false, unsigned int rcvBufLen=0)
Adds a network transport to use for send/receiving SIP messages.
const resip::DnsStub::NameserverList & getAdditionalDnsServers() const
Gets a vector of the DNS Servers previously added.
virtual bool & dtmfDigitLoggingEnabled()
Get/Set wether recon is allowed to log DTMF digits pressed.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
This class is used during media sessions that use Dtls-Srtp for a media transport.
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;
TransportType
An enumeration of transport protocols.
IpVersion
An enumeration of IP versions.