eXosip2_options3
Exosip2 options and ua capabilities management
Detailed Description
Function Documentation
int eXosip_options_build_request (struct eXosip_t * excontext, osip_message_t ** options, const char * to, const char * from, const char * route)
Build a default OPTIONS message.
Parameters:
excontext eXosip_t instance.
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 (struct eXosip_t * excontext, osip_message_t * options)
Send an OPTIONS request.
Parameters:
excontext eXosip_t instance.
options SIP OPTIONS message to send.
int eXosip_options_build_answer (struct eXosip_t * excontext, int tid, int status, osip_message_t ** answer)
Build answer for an OPTIONS request.
Parameters:
excontext eXosip_t instance.
tid id of OPTIONS transaction.
status status for SIP answer to build.
answer The SIP answer to build.
int eXosip_options_send_answer (struct eXosip_t * excontext, int tid, int status, osip_message_t * answer)
Send answer for an OPTIONS request.
Parameters:
excontext eXosip_t instance.
tid id of OPTIONS transaction.
status status for SIP answer to send.
answer The SIP answer to send. (default will be sent if NULL)
History
- Debian 10 (Buster) to Debian 9 (Stretch): the text shown here
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)