SIPX_SUBSTATUS_INFO Struct Reference

#include <sipXtapiEvents.h>


Detailed Description

An SUBSTATUS event informs that application layer of the status of an outbound SUBSCRIPTION requests;.

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.

See also:
SIPX_EVENT_CALLBACK_PROC

SIPX_EVENT_CATEGORY


Data Fields

size_t nSize
 The size of this structure in bytes.
SIPX_SUB hSub
 A handle to the subscription to which this state change occurred.
SIPX_SUBSCRIPTION_STATE state
 Enum state value indicating the current state of the subscription.
SIPX_SUBSCRIPTION_CAUSE cause
 Enum cause for the state change in this event.
const char * szSubServerUserAgent
 The User Agent header field value from the SIP SUBSCRIBE response (may be NULL).


Field Documentation

size_t SIPX_SUBSTATUS_INFO::nSize

The size of this structure in bytes.

SIPX_SUB SIPX_SUBSTATUS_INFO::hSub

A handle to the subscription to which this state change occurred.

SIPX_SUBSCRIPTION_STATE SIPX_SUBSTATUS_INFO::state

Enum state value indicating the current state of the subscription.

SIPX_SUBSCRIPTION_CAUSE SIPX_SUBSTATUS_INFO::cause

Enum cause for the state change in this event.

const char* SIPX_SUBSTATUS_INFO::szSubServerUserAgent

The User Agent header field value from the SIP SUBSCRIBE response (may be NULL).


The documentation for this struct was generated from the following file:
Generated on Wed Jan 31 22:16:37 2007 for sipXtapi by  doxygen 1.5.1-p1