libamsip  5.1.0
Functions
amsip publication interface
Subscription control and Instant Messaging API.

Functions

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

Detailed Description

Function Documentation

int am_publish_send ( const char *  to,
const char *  from,
const char *  proxy,
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
proxySet the proxy server
routeSet the outbound proxy server
eventSet the event package extension.
expiresSet the Expires header
ctypeSet the Content-Type of body
bodySet the body data.