Пример #1
0
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);
}
Пример #2
0
// 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;
}