SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
eXosip2 Publication Management

Functions

int eXosip_build_publish (struct eXosip_t *excontext, osip_message_t **message, const char *to, const char *from, const char *route, const char *event, const char *expires, const char *ctype, const char *body)
 build publication for a user. More...
 
int eXosip_publish (struct eXosip_t *excontext, osip_message_t *message, const char *to)
 Send an Publication Message (PUBLISH request). More...
 

Detailed Description

Function Documentation

int eXosip_build_publish ( struct eXosip_t *  excontext,
osip_message_t **  message,
const char *  to,
const char *  from,
const char *  route,
const char *  event,
const char *  expires,
const char *  ctype,
const char *  body 
)

#include <eX_publish.h>

build publication for a user.

(PUBLISH request)

Parameters
excontexteXosip_t instance.
messagereturned published request.
toSIP url for callee.
fromSIP url for caller.
routeRoute used for publication.
eventSIP Event header.
expiresSIP Expires header.
ctypeContent-Type of body.
bodybody for publication.
int eXosip_publish ( struct eXosip_t *  excontext,
osip_message_t message,
const char *  to 
)

#include <eX_publish.h>

Send an Publication Message (PUBLISH request).

Parameters
excontexteXosip_t instance.
messageis a ready to be sent publish message .
tothe aor of the publish request