eXosip2_registration(3) eXosip2 REGISTER and Registration Management

Functions


int eXosip_register_build_initial_register (struct eXosip_t *excontext, const char *from, const char *proxy, const char *contact, int expires, osip_message_t **reg)

int eXosip_register_build_initial_register_withqvalue (struct eXosip_t *excontext, const char *from, const char *proxy, const char *contact, int expires, const char *qvalue, osip_message_t **reg)

int eXosip_register_build_register (struct eXosip_t *excontext, int rid, int expires, osip_message_t **reg)

int eXosip_register_send_register (struct eXosip_t *excontext, int rid, osip_message_t *reg)

int eXosip_register_remove (struct eXosip_t *excontext, int rid)

Detailed Description

Function Documentation

int eXosip_register_build_initial_register (struct eXosip_t * excontext, const char * from, const char * proxy, const char * contact, int expires, osip_message_t ** reg)

Build initial REGISTER request.

Parameters:

excontext eXosip_t instance.
from SIP url for caller.
proxy Proxy used for registration.
contact Contact address. (optional)
expires The expires value for registration.
reg The SIP request to build.

int eXosip_register_build_initial_register_withqvalue (struct eXosip_t * excontext, const char * from, const char * proxy, const char * contact, int expires, const char * qvalue, osip_message_t ** reg)

Build initial REGISTER request with qvalue for contact.

Parameters:

excontext eXosip_t instance.
from SIP url for caller.
proxy Proxy used for registration.
contact Contact address. (optional)
expires The expires value for registration.
qvalue The qvalue value for contact header.
reg The SIP request to build.

int eXosip_register_build_register (struct eXosip_t * excontext, int rid, int expires, osip_message_t ** reg)

Build a new REGISTER request for an existing registration.

Parameters:

excontext eXosip_t instance.
rid A unique identifier for the registration context
expires The expires value for registration.
reg The SIP request to build.

int eXosip_register_send_register (struct eXosip_t * excontext, int rid, osip_message_t * reg)

Send a REGISTER request for an existing registration.

Parameters:

excontext eXosip_t instance.
rid A unique identifier for the registration context
reg The SIP request to build. (NULL for default REGISTER)

int eXosip_register_remove (struct eXosip_t * excontext, int rid)

Remove existing registration without sending REGISTER.

Parameters:

excontext eXosip_t instance.
rid A unique identifier for the registration context

Author

Generated automatically by Doxygen for libeXosip2 from the source code.