libamsip  5.2.1
Functions
amsip publication interface

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

◆ am_publish_send()

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.