libamsip  4.8.0
Functions
amsip register interface
Registration API.

Functions

int am_register_start (const char *identity, const char *proxy, int refresh_interval, int expires_interval)
int am_register_start_with_parameter (const char *identity, const char *proxy, int refresh_interval, int expires_interval, char *contact_param_name, char *contact_param_value)
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)

Detailed Description

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
identityProvide your SIP identity
proxySet the proxy server
refresh_intervalGive the refresh rate
expires_intervalProvide the Expires header
int am_register_start_with_parameter ( const char *  identity,
const char *  proxy,
int  refresh_interval,
int  expires_interval,
char *  contact_param_name,
char *  contact_param_value 
)

Configure amsip to register to a SIP server.

Parameters
identityProvide your SIP identity
proxySet the proxy server
refresh_intervalGive the refresh rate
expires_intervalProvide the Expires header
contact_param_nameName of an additionnal contact parameter
contact_param_valuevalue of an additionnal contact parameter
int am_register_refresh ( int  rid,
int  expires 
)

Configure amsip to refresh register on a SIP server.

Parameters
ridPrevious registration id.
expiresNew expiration value for contact.
int am_register_stop ( int  rid)

Configure amsip to unregister to a SIP server.

Parameters
rididentifier for registration
int am_register_remove ( int  rid)

Ask amsip to delete current registration context.

Parameters
rididentifier for registration
int am_register_send_star ( const char *  identity,
const char *  proxy 
)

Configure amsip to unregister all previous IP from server.

Parameters
identityProvide your SIP identity
proxySet the proxy server