eXosip2 SUBSCRIBE and incoming subscriptions
[SIP messages and call control API]


Functions

int eXosip_insubscription_build_answer (int tid, int status, osip_message_t **answer)
int eXosip_insubscription_send_answer (int tid, int status, osip_message_t *answer)
int eXosip_insubscription_build_request (int did, const char *method, osip_message_t **request)
int eXosip_insubscription_build_notify (int did, int subscription_status, int subscription_reason, osip_message_t **request)
int eXosip_insubscription_send_request (int did, osip_message_t *request)
int eXosip_insubscription_remove (int did)

Function Documentation

int eXosip_insubscription_build_answer ( int  tid,
int  status,
osip_message_t **  answer 
)

Build answer for an SUBSCRIBE request.

Parameters:
tid id of SUBSCRIBE transaction.
status status for SIP answer to build.
answer The SIP answer to build.

int eXosip_insubscription_send_answer ( int  tid,
int  status,
osip_message_t *  answer 
)

Send answer for an SUBSCRIBE request.

Parameters:
tid id of SUBSCRIBE transaction.
status status for SIP answer to send.
answer The SIP answer to send. (default will be sent if NULL)

int eXosip_insubscription_build_request ( int  did,
const char *  method,
osip_message_t **  request 
)

Build a request within subscription.

Parameters:
did id of incoming subscription.
method request method to build.
request The SIP request to build.

int eXosip_insubscription_build_notify ( int  did,
int  subscription_status,
int  subscription_reason,
osip_message_t **  request 
)

Build a NOTIFY request within subscription.

Parameters:
did id of incoming subscription.
subscription_status subscription status (pending, active, terminated)
subscription_reason subscription reason
request The SIP request to build.

int eXosip_insubscription_send_request ( int  did,
osip_message_t *  request 
)

Send a request within subscription.

Parameters:
did id of incoming subscription.
request The SIP request to send.

int eXosip_insubscription_remove ( int  did  ) 

Remove incoming subscription context.

Parameters:
did identifier of the subscription.


Generated on Wed Feb 13 01:25:39 2008 for libeXosip2 by  doxygen 1.5.4