libeXosip2
5.3.0
|
Functions | |
int | eXosip_subscription_build_initial_subscribe (struct eXosip_t *excontext, osip_message_t **subscribe, const char *to, const char *from, const char *route, const char *event, int expires) |
int | eXosip_subscription_build_initial_refer (struct eXosip_t *excontext, osip_message_t **refer, const char *to, const char *from, const char *route, const char *refer_to) |
int | eXosip_subscription_send_initial_request (struct eXosip_t *excontext, osip_message_t *subscribe) |
int | eXosip_subscription_build_refresh_request (struct eXosip_t *excontext, int did, osip_message_t **sub) |
int | eXosip_subscription_send_refresh_request (struct eXosip_t *excontext, int did, osip_message_t *sub) |
int | eXosip_subscription_remove (struct eXosip_t *excontext, int did) |
enum eXosip_ss |
enum eXosip_ss_reason |
enum eXosip_ss_status |
Structure for notification status
int eXosip_subscription_build_initial_subscribe | ( | struct eXosip_t * | excontext, |
osip_message_t ** | subscribe, | ||
const char * | to, | ||
const char * | from, | ||
const char * | route, | ||
const char * | event, | ||
int | expires | ||
) |
Build a default initial SUBSCRIBE request.
excontext | eXosip_t instance. |
subscribe | Pointer for the SIP request to build. |
to | SIP url for callee. |
from | SIP url for caller. |
route | Route header for SUBSCRIBE. (optional) |
event | Event header for SUBSCRIBE. |
expires | Expires header for SUBSCRIBE. |
int eXosip_subscription_build_initial_refer | ( | struct eXosip_t * | excontext, |
osip_message_t ** | refer, | ||
const char * | to, | ||
const char * | from, | ||
const char * | route, | ||
const char * | refer_to | ||
) |
Build a default initial REFER request.
excontext | eXosip_t instance. |
refer | Pointer for the SIP request to build. |
to | SIP url for callee. |
from | SIP url for caller. |
route | Route header for REFER. (optional) |
refer_to | SIP url for transfer. |
int eXosip_subscription_send_initial_request | ( | struct eXosip_t * | excontext, |
osip_message_t * | subscribe | ||
) |
Send an initial SUBSCRIBE/REFER request.
excontext | eXosip_t instance. |
subscribe | SIP SUBSCRIBE message to send. |
int eXosip_subscription_build_refresh_request | ( | struct eXosip_t * | excontext, |
int | did, | ||
osip_message_t ** | sub | ||
) |
Build a default new SUBSCRIBE/REFER refresh message.
excontext | eXosip_t instance. |
did | identifier of the subscription. |
sub | Pointer for the SIP request to build. |
int eXosip_subscription_send_refresh_request | ( | struct eXosip_t * | excontext, |
int | did, | ||
osip_message_t * | sub | ||
) |
Send a new SUBSCRIBE/REFER refresh request.
excontext | eXosip_t instance. |
did | identifier of the subscription. |
sub | SIP SUBSCRIBE message to send. |
int eXosip_subscription_remove | ( | struct eXosip_t * | excontext, |
int | did | ||
) |
Remove outgoing subscription context.
excontext | eXosip_t instance. |
did | identifier of the subscription. |