libamsip 4.6.0
Functions

amsip publication interface

Functions

int am_publish_send (const char *to, const char *from, const char *route, const char *event, const char *expires, const char *ctype, const char *body)

Function Documentation

int am_publish_send ( const char *  to,
const char *  from,
const char *  route,
const char *  event,
const char *  expires,
const char *  ctype,
const char *  body 
)

Configure amsip to publish to a SIP server.

Parameters:
toSet the target SIP identity (often the same than "from" header)
fromSet your SIP identity
routeSet the proxy server
eventSet the event package extension.
expiresSet the Expires header
ctypeSet the Content-Type of body
bodySet the body data.