#include <sipXtapiEvents.h>
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 |
the size of this structure in bytes | |
char * | szSRTPkey |
the negotiated SRTP key, if any. | |
void * | pCertificate |
pointer to the certificate blob that was used to encrypt and/or sign. | |
int | nCertificateSize |
size of the certificate blob | |
SIPX_SECURITY_EVENT | event |
Event code for this SECURITY_INFO message. | |
SIPX_SECURITY_CAUSE | cause |
Cause code for this SECURITY_INFO message. | |
char * | szSubjAltName |
Populated for SECURITY_CAUSE_SIGNATURE_NOTIFY. | |
char * | callId |
Points to a call-id string associated with the event. | |
SIPX_CALL | hCall |
A call handle associated with the event. | |
char * | remoteAddress |
A remote address associated with the event. |
size_t SIPX_SECURITY_INFO::nSize |
the size of this structure in bytes
the negotiated SRTP key, if any.
pointer to the certificate blob that was used to encrypt and/or sign.
size of the certificate blob
Event code for this SECURITY_INFO message.
Cause code for this SECURITY_INFO message.
Populated for SECURITY_CAUSE_SIGNATURE_NOTIFY.
Points to a call-id string associated with the event.
Can be NULL.
A call handle associated with the event.
Can be 0, to signify that the event is not associated with a call.
A remote address associated with the event.
Can be NULL.