25 #ifndef __EX_SUBSCRIBE_H__
26 #define __EX_SUBSCRIBE_H__
Structure for SIP Message (REQUEST and RESPONSE).
int eXosip_insubscription_send_request(struct eXosip_t *excontext, int did, osip_message_t *request)
Send a request within subscription.
unknown state for subscription
giveup for subscription-state
active subscription-state
int eXosip_insubscription_remove(struct eXosip_t *excontext, int did)
Remove incoming subscription context.
deactivated for subscription-state
int eXosip_subscribe_remove(struct eXosip_t *excontext, int did)
Remove outgoing subscription context.
eXosip_ss
Structure for subscription status.
terminated subscription-state
pending subscription-state
rejected for subscription-state
int eXosip_subscribe_build_initial_request(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.
int eXosip_insubscription_send_answer(struct eXosip_t *excontext, int tid, int status, osip_message_t *answer)
Send answer for an SUBSCRIBE request.
unknown subscription-state
noresource for subscription-state
subscription not yet accepted
eXosip_ss_status
Structure for notification status.
int eXosip_insubscription_build_answer(struct eXosip_t *excontext, int tid, int status, osip_message_t **answer)
Build answer for an SUBSCRIBE request.
int eXosip_subscribe_build_refresh_request(struct eXosip_t *excontext, int did, osip_message_t **sub)
Build a default new SUBSCRIBE message.
timeout for subscription-state
int eXosip_insubscription_build_request(struct eXosip_t *excontext, int did, const char *method, osip_message_t **request)
Build a request within subscription.
probation for subscription-state
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.
oSIP SIP Parser additionnal Routines
eXosip_ss_reason
Structure for subscription reason.
int eXosip_subscribe_send_refresh_request(struct eXosip_t *excontext, int did, osip_message_t *sub)
Send a new SUBSCRIBE request.
int eXosip_subscribe_send_initial_request(struct eXosip_t *excontext, osip_message_t *subscribe)
Send an initial SUBSCRIBE request.