eXosip2_options - Man Page

eXosip2 OPTIONS and UA capabilities Management

Synopsis

Functions

int eXosip_options_build_request (osip_message_t **options, const char *to, const char *from, const char *route)
int eXosip_options_send_request (osip_message_t *options)
int eXosip_options_build_answer (int tid, int status, osip_message_t **answer)
int eXosip_options_send_answer (int tid, int status, osip_message_t *answer)

Detailed Description

Function Documentation

int eXosip_options_build_request (osip_message_t ** options, const char * to, const char * from, const char * route)

Build a default OPTIONS message.

Parameters

options Pointer for the SIP request to build.
to SIP url for callee.
from SIP url for caller.
route Route header for INVITE. (optional)

int eXosip_options_send_request (osip_message_t * options)

Send an OPTIONS request.

Parameters

options SIP OPTIONS message to send.

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

Build answer for an OPTIONS request.

Parameters

tid id of OPTIONS transaction.
status status for SIP answer to build.
answer The SIP answer to build.

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

Send answer for an OPTIONS request.

Parameters

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

Author

Generated automatically by Doxygen for libeXosip2 from the source code.

Info

Thu Jan 19 2023 Version 3.1.0 libeXosip2