12 #ifndef _SipDialogMgr_h_ 13 #define _SipDialogMgr_h_ 19 #include <os/OsDefs.h> 20 #include <os/OsMutex.h> 21 #include <utl/UtlString.h> 22 #include <utl/UtlHashBag.h> 62 UtlBoolean messageIsFromLocalSide,
63 const char* dialogHandle = NULL);
72 const char* dialogHandle = NULL);
82 const char* method = NULL,
83 const char* dialogHandle = NULL);
91 UtlString& earlyDialogHandle);
95 UtlString& establishedDialogHandle);
101 int toString(UtlString& dumpString);
126 const char* dialogHandle = NULL);
148 SipDialog* findDialog(UtlString& dialogHandle,
149 UtlBoolean ifHandleEstablishedFindEarlyDialog,
150 UtlBoolean ifHandleEarlyFindEstablishedDialog);
157 UtlString& remoteTag,
158 UtlBoolean ifHandleEstablishedFindEarlyDialog,
159 UtlBoolean ifHandleEarlyFindEstablishedDialog);
167 OsMutex mDialogMgrMutex;
173 #endif // _SipDialogMgr_h_ SipDialogMgr()
Default Dialog constructor.
Definition: SipDialogMgr.cpp:32
UtlBoolean isLastLocalTransaction(const SipMessage &message, const char *dialogHandle=NULL)
Checks to see if the given message matches the last local transaction.
Definition: SipDialogMgr.cpp:336
UtlBoolean earlyDialogExists(const char *earlyDialogHandle)
Is there an early dialog that matches this early dialogHandle.
Definition: SipDialogMgr.cpp:267
UtlBoolean earlyDialogExistsFor(const char *establishedDialogHandle)
Is there an early dialog that matches this established dialogHandle.
Definition: SipDialogMgr.cpp:290
Specialization of HttpMessage to contain and manipulate SIP messages.
Definition: SipMessage.h:343
virtual ~SipDialogMgr()
Destructor.
Definition: SipDialogMgr.cpp:46
int countDialogs() const
Get a count of the SipDialogs.
Definition: SipDialogMgr.cpp:236
UtlBoolean deleteDialog(const char *dialogHandle)
Delete the dialog for the given dialog handle.
Definition: SipDialogMgr.cpp:467
UtlBoolean updateDialog(const SipMessage &message, const char *dialogHandle=NULL)
Update the dialog information for the given message.
Definition: SipDialogMgr.cpp:100
UtlBoolean getEarlyDialogHandleFor(const char *establishedDialogHandle, UtlString &earlyDialogHandle)
Get the early dialog handle for the given established dialog handle.
Definition: SipDialogMgr.cpp:185
Class for refreshing SIP subscriptions and registrations.
Definition: SipDialogMgr.h:42
UtlBoolean setNextLocalTransactionInfo(SipMessage &request, const char *method=NULL, const char *dialogHandle=NULL)
Get the dialog related fields and set them in the given request.
Definition: SipDialogMgr.cpp:139
UtlBoolean createDialog(const SipMessage &message, UtlBoolean messageIsFromLocalSide, const char *dialogHandle=NULL)
Create a new dialog for the given SIP message.
Definition: SipDialogMgr.cpp:64
int toString(UtlString &dumpString)
Get dump string of dialogs.
Definition: SipDialogMgr.cpp:241
Class for containing SIP dialog state information.
Definition: SipDialog.h:61
UtlBoolean getEstablishedDialogHandleFor(const char *earlyDialogHandle, UtlString &establishedDialogHandle)
Get the established dialog for the given early dialog.
Definition: SipDialogMgr.cpp:209
UtlBoolean isNewRemoteTransaction(const SipMessage &sipMessage)
Check if the message is part of a new remote transaction.
Definition: SipDialogMgr.cpp:370
UtlBoolean dialogExists(const char *dialogHandle)
Is there a dialog that matches this dialogHandle.
Definition: SipDialogMgr.cpp:316