SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
eXosip2 REFER and blind tranfer Management outside of calls

Functions

int eXosip_refer_build_request (struct eXosip_t *excontext, osip_message_t **refer, const char *refer_to, const char *from, const char *to, const char *route)
 Build a default REFER message for a blind transfer outside of any calls. More...
 
int eXosip_refer_send_request (struct eXosip_t *excontext, osip_message_t *refer)
 Initiate a blind tranfer outside of any call. More...
 

Detailed Description

Function Documentation

int eXosip_refer_build_request ( struct eXosip_t *  excontext,
osip_message_t **  refer,
const char *  refer_to,
const char *  from,
const char *  to,
const char *  route 
)

#include <eX_refer.h>

Build a default REFER message for a blind transfer outside of any calls.

Parameters
excontexteXosip_t instance.
referPointer for the SIP element to hold.
refer_toSIP url for transfer.
fromSIP url for caller.
toSIP url for callee.
routeRoute header for REFER. (optional)
int eXosip_refer_send_request ( struct eXosip_t *  excontext,
osip_message_t refer 
)

#include <eX_refer.h>

Initiate a blind tranfer outside of any call.

Parameters
excontexteXosip_t instance.
referSIP REFER message to send.