#include <sipXtapiEvents.h>
If the INFO message was sent to a call context (session) hCall will desiginate the call session.
This information is passed as part of the sipXtapi callback mechanism. Based on the SIPX_EVENT_CATEGORY, the application developer should cast the pInfo member of your callback to the appropriate structure.
Data Fields | |
size_t | nSize |
Size of structure. | |
SIPX_CALL | hCall |
Call handle if available. | |
SIPX_LINE | hLine |
Line handle if available. | |
const char * | szFromURL |
the URL of the host that originated the INFO message | |
const char * | szUserAgent |
the User Agent string of the source agent | |
const char * | szContentType |
string indicating the info content type | |
const char * | pContent |
pointer to the INFO message content | |
size_t | nContentLength |
length of the INFO message content |
size_t SIPX_INFO_INFO::nSize |
Size of structure.
Call handle if available.
Line handle if available.
const char* SIPX_INFO_INFO::szFromURL |
the URL of the host that originated the INFO message
const char* SIPX_INFO_INFO::szUserAgent |
the User Agent string of the source agent
const char* SIPX_INFO_INFO::szContentType |
string indicating the info content type
const char* SIPX_INFO_INFO::pContent |
pointer to the INFO message content
length of the INFO message content