5#define RESIPROCATE_SUBSYSTEM Subsystem::DUM
11 mRemoteTag(
Data::Empty)
18 if (msg.
header(h_To).exists(p_tag))
20 mRemoteTag = msg.
header(h_To).param(p_tag);
25 if (msg.
header(h_From).exists(p_tag))
27 mRemoteTag = msg.
header(h_From).param(p_tag);
37 if (msg.
header(h_To).exists(p_tag))
39 mRemoteTag = msg.
header(h_To).param(p_tag);
44 if (msg.
header(h_From).exists(p_tag))
46 mRemoteTag = msg.
header(h_From).param(p_tag);
50 DebugLog ( <<
"DialogId::DialogId: " << *
this);
54 mDialogSetId(callId, localTag),
63 DebugLog ( <<
"DialogId::DialogId: " << *
this);
69 return mDialogSetId == rhs.mDialogSetId && mRemoteTag == rhs.mRemoteTag;
75 return mDialogSetId != rhs.mDialogSetId || mRemoteTag != rhs.mRemoteTag;
81 if (mDialogSetId < rhs.mDialogSetId)
85 if (mDialogSetId > rhs.mDialogSetId)
89 return mRemoteTag < rhs.mRemoteTag;
120 return os <<
id.mDialogSetId <<
"-" <<
id.mRemoteTag;
#define HashValueImp(type, ret)
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
size_t keyedHash() const
Creates a keyed hash based on the contents of this Data.
bool operator<(const DialogId &rhs) const
const Data & getLocalTag() const
bool operator!=(const DialogId &rhs) const
DialogId(const SipMessage &msg)
bool operator==(const DialogId &rhs) const
const Data & getRemoteTag() const
const DialogSetId & getDialogSetId() const
const Data & getCallId() const
const Data & getCallId() const
const Data & getLocalTag() const
Represents a SIP message.
bool isRequest() const
Returns true if message is a request, false otherwise.
const RequestLine & header(const RequestLineType &l) const
Returns the RequestLine. This is only valid for request messages.
bool isResponse() const
Returns true if message is a response, false otherwise.
bool isExternal() const
Check if SipMessage is to be treated as it came off the wire.
dcm! – add UnusedChecking(_enum) below;
size_t hashCombine(size_t seed, size_t hash)
Combines the hashes of the parts of a composite key, eg.
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)