SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
eXosip2 OPTIONS and UA capabilities Management

Functions

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. More...
 
int eXosip_options_send_request (struct eXosip_t *excontext, osip_message_t *options)
 Send an OPTIONS request. More...
 
int eXosip_options_build_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t **answer)
 Build answer for an OPTIONS request. More...
 
int eXosip_options_send_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t *answer)
 Send answer for an OPTIONS request. More...
 

Detailed Description

Function Documentation

int eXosip_options_build_answer ( struct eXosip_t *  excontext,
int  tid,
int  status,
osip_message_t **  answer 
)

#include <eX_options.h>

Build answer for an OPTIONS request.

Parameters
excontexteXosip_t instance.
tidid of OPTIONS transaction.
statusstatus for SIP answer to build.
answerThe SIP answer to build.
int eXosip_options_build_request ( struct eXosip_t *  excontext,
osip_message_t **  options,
const char *  to,
const char *  from,
const char *  route 
)

#include <eX_options.h>

Build a default OPTIONS message.

Parameters
excontexteXosip_t instance.
optionsPointer for the SIP request to build.
toSIP url for callee.
fromSIP url for caller.
routeRoute header for INVITE. (optional)
int eXosip_options_send_answer ( struct eXosip_t *  excontext,
int  tid,
int  status,
osip_message_t answer 
)

#include <eX_options.h>

Send answer for an OPTIONS request.

Parameters
excontexteXosip_t instance.
tidid of OPTIONS transaction.
statusstatus for SIP answer to send.
answerThe SIP answer to send. (default will be sent if NULL)
int eXosip_options_send_request ( struct eXosip_t *  excontext,
osip_message_t options 
)

#include <eX_options.h>

Send an OPTIONS request.

Parameters
excontexteXosip_t instance.
optionsSIP OPTIONS message to send.