|
Yate
|
SIP Dialog object. More...
#include <yatesip.h>
Public Member Functions | |
| SIPDialog () | |
| SIPDialog (const SIPDialog &original) | |
| SIPDialog (const SIPMessage &message) | |
| SIPDialog (const String &callid) | |
| SIPDialog & | operator= (const SIPDialog &original) |
| SIPDialog & | operator= (const SIPMessage &message) |
| SIPDialog & | operator= (const String &callid) |
| bool | matches (const SIPDialog &other, bool ignoreURIs) const |
| bool | operator== (const SIPDialog &other) const |
| bool | operator!= (const SIPDialog &other) const |
| bool | operator&= (const SIPDialog &other) const |
| bool | operator|= (const SIPDialog &other) const |
| const String & | fromURI (bool outgoing) const |
| const String & | fromTag (bool outgoing) const |
| const String & | toURI (bool outgoing) const |
| const String & | toTag (bool outgoing) const |
Public Attributes | |
| String | localURI |
| String | localTag |
| String | remoteURI |
| String | remoteTag |
SIP Dialog object.
A class to store information required to identify a dialog
| SIPDialog | ( | ) |
Default constructor, build an empty SIP dialog
Copy constructor
| original | Original SIP dialog to copy |
| SIPDialog | ( | const SIPMessage & | message | ) | [explicit] |
Constructor from a SIP message
| message | SIP message to copy the dialog information from |
Constructor from a Call ID, leaves URIs and tags empty
| callid | Call ID to insert in the dialog |
Get the From tag from the dialog
| outgoing | True if getting the tag for an outgoing transaction |
SIP dialog matching check
| other | Other dialog to compare to |
| ignoreURIs | True to ignore local and remote URIs when comparing |
| bool operator!= | ( | const SIPDialog & | other | ) | const [inline] |
Dialog inequality comparation, suitable for RFC 2543
| other | Other dialog to compare to |
| bool operator&= | ( | const SIPDialog & | other | ) | const [inline] |
Dialog equality comparation, suitable for RFC 3261
| other | Other dialog to compare to |
Assignment from another dialog
| original | Original SIP dialog to copy |
| SIPDialog& operator= | ( | const SIPMessage & | message | ) |
Assignment from a SIP message
| message | SIP message to copy the dialog information from |
Assignment from a Call ID, URIs and tags are cleared
| callid | Call ID to copy to the dialog |
Reimplemented from String.
| bool operator== | ( | const SIPDialog & | other | ) | const [inline] |
Dialog equality comparation, suitable for RFC 2543
| other | Other dialog to compare to |
| bool operator|= | ( | const SIPDialog & | other | ) | const [inline] |
Dialog inequality comparation, suitable for RFC 3261
| other | Other dialog to compare to |
Get the To tag from the dialog
| outgoing | True if getting the tag for an outgoing transaction |
1.7.6.1