amsip publication interface
[SIP messages and call control API]


Functions

int am_message_execute_uri (osip_message_t **message, const char *identity, const char *url, const char *proxy, const char *outbound_proxy, const char *buf)
int ams_message_build (osip_message_t **message, const char *identity, const char *url, const char *proxy, const char *outbound_proxy, const char *buf)
int ams_message_send (osip_message_t *message)
int am_message_send (const char *identity, const char *url, const char *proxy, const char *outbound_proxy, const char *buf)
int am_message_answer (int tid, int code)

Function Documentation

int am_message_execute_uri ( osip_message_t **  message,
const char *  identity,
const char *  url,
const char *  proxy,
const char *  outbound_proxy,
const char *  buf 
)

This method build and send a SIP message.

The url argument can be used to specify the method: default will be MESSAGE.

Parameters:
message The message to build.
identity 
url 
proxy 
outbound_proxy 
buf 

int ams_message_build ( osip_message_t **  message,
const char *  identity,
const char *  url,
const char *  proxy,
const char *  outbound_proxy,
const char *  buf 
)

Configure amsip to send a SIP message with text data.

Parameters:
message Message pointer to build.
identity Set your SIP identity.
url Set the target SIP identity.
proxy Set the proxy server.
outbound_proxy Set the outbound_proxy server.
buf Set the body data.

int ams_message_send ( osip_message_t *  message  ) 

This method send a MESSAGE message.

Parameters:
message The message to send.

int am_message_send ( const char *  identity,
const char *  url,
const char *  proxy,
const char *  outbound_proxy,
const char *  buf 
)

Configure amsip to send a SIP message with text data.

Parameters:
identity Set your SIP identity
url Set the target SIP identity
proxy Set the proxy server
outbound_proxy Set the outbound_proxy server
buf Set the body data.

int am_message_answer ( int  tid,
int  code 
)

Configure amsip to answer a SIP MESSAGE request.

Parameters:
tid id of transaction.
code Code to answer.


Generated on Thu Feb 14 17:12:33 2008 for libamsip by  doxygen 1.5.4