void SipDialogMonitor::notifyEventCallback(const char* earlyDialogHandle, const char* dialogHandle, void* applicationData, const SipMessage* notifyRequest) { // Receive the notification and process the message SipDialogMonitor* pThis = (SipDialogMonitor *) applicationData; pThis->handleNotifyMessage(notifyRequest); }
// Callback to handle incoming NOTIFYs. bool SipDialogMonitor::notifyEventCallback(const char* earlyDialogHandle, const char* dialogHandle, void* applicationData, const SipMessage* notifyRequest) { // Receive the notification and process the message // Our SipdialogMonitor is pointed to by the applicationData. SipDialogMonitor* pThis = (SipDialogMonitor *) applicationData; pThis->handleNotifyMessage(notifyRequest, earlyDialogHandle, dialogHandle); return true; }