amsip register interface
[SIP messages and call control API]


Functions

int am_register_start (const char *identity, const char *proxy, int refresh_interval, int expires_interval)
int am_register_refresh (int rid, int expires)
int am_register_stop (int rid)
int am_register_remove (int rid)
int am_register_send_star (const char *identity, const char *proxy)

Function Documentation

int am_register_start ( const char *  identity,
const char *  proxy,
int  refresh_interval,
int  expires_interval 
)

Configure amsip to register to a SIP server.

Parameters:
identity Provide your SIP identity
proxy Set the proxy server
refresh_interval Give the refresh rate
expires_interval Provide the Expires header

int am_register_refresh ( int  rid,
int  expires 
)

Configure amsip to refresh register on a SIP server.

Parameters:
rid Previous registration id.
expires New expiration value for contact.

int am_register_stop ( int  rid  ) 

Configure amsip to unregister to a SIP server.

Parameters:
rid identifier for registration

int am_register_remove ( int  rid  ) 

Ask amsip to delete current registration context.

Parameters:
rid identifier for registration

int am_register_send_star ( const char *  identity,
const char *  proxy 
)

Configure amsip to unregister all previous IP from server.

Parameters:
identity Provide your SIP identity
proxy Set the proxy server


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