libeXosip2
5.3.0
|
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) |
int | eXosip_publish (struct eXosip_t *excontext, osip_message_t *message, const char *to) |
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. (PUBLISH request)
excontext | eXosip_t instance. |
message | returned published request. |
to | SIP url for callee. |
from | SIP url for caller. |
route | Route used for publication. |
event | SIP Event header. |
expires | SIP Expires header. |
ctype | Content-Type of body. |
body | body for publication. |
int eXosip_publish | ( | struct eXosip_t * | excontext, |
osip_message_t * | message, | ||
const char * | to | ||
) |
Send an Publication Message (PUBLISH request).
excontext | eXosip_t instance. |
message | a ready to be sent publish message . |
to | the aor of the publish request |