11#define RESIPROCATE_SUBSYSTEM Subsystem::DUM
16 : mLastRequest(std::make_shared<
SipMessage>()),
18 mUserProfile(userProfile)
22std::shared_ptr<SipMessage>
36std::shared_ptr<UserProfile>
54 rLine.
uri() = target.
uri();
76 DebugLog ( <<
"Adding auth header to inital reg for IMS: " << auth);
128 contact.
param(p_Instance) = instanceId;
132 if (method != REGISTER)
142 if(
mUserProfile->clientOutboundEnabled() && method != REGISTER)
#define resip_assert(x)
This file needs to work for both C and C++ code.
Represents the "credentials" and "challenge" elements in the SIP grammar.
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
void makeInitialRequest(const NameAddr &target, MethodTypes method)
DialogUsageManager & mDum
std::shared_ptr< UserProfile > getUserProfile() const noexcept
std::shared_ptr< SipMessage > mLastRequest
BaseCreator(DialogUsageManager &dum, std::shared_ptr< UserProfile > userProfile)
std::shared_ptr< UserProfile > mUserProfile
std::shared_ptr< SipMessage > getLastRequest() const noexcept
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
static const Data Empty
Constant that represents a zero-length data.
bool empty() const noexcept
Checks whether the Data is empty.
void setAdvertisedCapabilities(SipMessage &msg, const std::shared_ptr< UserProfile > &userProfile)
static const int tagSize
bytes in to-tag& from-tag, should prob. live somewhere else
static Data computeTag(int numBytes)
static Data computeCallId()
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
bool empty() const
return true or false indicating whether the mParsers vector is empty or not
T & front()
Returns the first header field value in this container.
Represents the "Request-Line" element in the RFC 3261 grammar.
Represents a SIP message.
static const char * Digest
bool isUserRelevant() const
Checks if this URI's scheme has sip:/sips:/tel: user-part semantics, i.e.
bool exists(const Param< Uri > ¶mType) const
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
Represents the "via-parm" element in the RFC 3261 grammar.
dcm! – add UnusedChecking(_enum) below;
RequestLineType h_RequestLine