Functions | |
int | eXosip_build_publish (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 (osip_message_t *message, const char *sip_if_match) |
int eXosip_build_publish | ( | 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)
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 | ( | osip_message_t * | message, | |
const char * | sip_if_match | |||
) |
Send an Publication Message (PUBLISH request).
message | is a ready to be sent publish message . | |
sip_if_match | is the SIP-If-Match header. (NULL for initial publication) |