libeXosip2
5.3.0
|
Functions | |
int | eXosip_insubscription_build_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t **answer) |
int | eXosip_insubscription_send_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t *answer) |
int | eXosip_insubscription_build_request (struct eXosip_t *excontext, int did, const char *method, osip_message_t **request) |
int | eXosip_insubscription_build_notify (struct eXosip_t *excontext, int did, int subscription_status, int subscription_reason, osip_message_t **request) |
int | eXosip_insubscription_send_request (struct eXosip_t *excontext, int did, osip_message_t *request) |
int | eXosip_insubscription_remove (struct eXosip_t *excontext, int did) |
int eXosip_insubscription_build_answer | ( | struct eXosip_t * | excontext, |
int | tid, | ||
int | status, | ||
osip_message_t ** | answer | ||
) |
Build answer for an SUBSCRIBE request.
excontext | eXosip_t instance. |
tid | id of SUBSCRIBE transaction. |
status | status for SIP answer to build. |
answer | The SIP answer to build. |
int eXosip_insubscription_send_answer | ( | struct eXosip_t * | excontext, |
int | tid, | ||
int | status, | ||
osip_message_t * | answer | ||
) |
Send answer for an SUBSCRIBE request.
excontext | eXosip_t instance. |
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 | ( | struct eXosip_t * | excontext, |
int | did, | ||
const char * | method, | ||
osip_message_t ** | request | ||
) |
Build a request within subscription.
excontext | eXosip_t instance. |
did | id of incoming subscription. |
method | request method to build. |
request | The SIP request to build. |
int eXosip_insubscription_build_notify | ( | struct eXosip_t * | excontext, |
int | did, | ||
int | subscription_status, | ||
int | subscription_reason, | ||
osip_message_t ** | request | ||
) |
Build a NOTIFY request within subscription.
excontext | eXosip_t instance. |
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 | ( | struct eXosip_t * | excontext, |
int | did, | ||
osip_message_t * | request | ||
) |
Send a request within subscription.
excontext | eXosip_t instance. |
did | id of incoming subscription. |
request | The SIP request to send. |
int eXosip_insubscription_remove | ( | struct eXosip_t * | excontext, |
int | did | ||
) |
Remove incoming subscription context.
excontext | eXosip_t instance. |
did | identifier of the subscription. |