libeXosip2  4.1.0
eXosip2 REFER and blind tranfer Management outside of calls
SIP messages and call control API


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)
int eXosip_refer_send_request (struct eXosip_t *excontext, osip_message_t *refer)

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 

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

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 

Initiate a blind tranfer outside of any call.

excontexteXosip_t instance.
referSIP REFER message to send.