libamsip  5.2.1
Functions
amsip register interface

Functions

int am_register_start (const char *identity, const char *proxy, const char *route, int expires_header)
 
int am_register_start_with_parameter (const char *identity, const char *proxy, const char *route, int expires_header, const char *contact_param_name, const char *contact_param_value)
 
int am_register_start_with_parameters (const char *identity, const char *proxy, const char *route, int expires_header, const char *contact_param_name[], const char *contact_param_value[], const char *contact_url_param_name[], const char *contact_url_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, const char *route)
 

Detailed Description

Function Documentation

◆ am_register_start()

int am_register_start ( const char *  identity,
const char *  proxy,
const char *  route,
int  expires_header 
)

Configure amsip to register to a SIP server.

Parameters
identityProvide your SIP identity
proxySet the proxy server
routeSet the outbound route
expires_headerProvide the Expires header

◆ am_register_start_with_parameter()

int am_register_start_with_parameter ( const char *  identity,
const char *  proxy,
const char *  route,
int  expires_header,
const char *  contact_param_name,
const char *  contact_param_value 
)

Configure amsip to register to a SIP server.

Parameters
identityProvide your SIP identity
proxySet the proxy server
routeSet the outbound route
expires_headerProvide the Expires header
contact_param_nameName of an additionnal contact parameter
contact_param_valuevalue of an additionnal contact parameter

◆ am_register_start_with_parameters()

int am_register_start_with_parameters ( const char *  identity,
const char *  proxy,
const char *  route,
int  expires_header,
const char *  contact_param_name[],
const char *  contact_param_value[],
const char *  contact_url_param_name[],
const char *  contact_url_param_value[] 
)

Configure amsip to register to a SIP server.

Parameters
identityProvide your SIP identity
proxySet the proxy server
routeSet the outbound route
expires_headerProvide the Expires header
contact_param_nametable of Name of an additionnal contact parameter
contact_param_valuetable of value of an additionnal contact parameter
contact_url_param_nametable of Name of an additionnal contact url parameters
contact_url_param_valuetable of value of an additionnal contact url parameters

◆ am_register_refresh()

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.

◆ am_register_stop()

int am_register_stop ( int  rid)

Configure amsip to unregister to a SIP server.

Parameters
rididentifier for registration

◆ am_register_remove()

int am_register_remove ( int  rid)

Ask amsip to delete current registration context.

Parameters
rididentifier for registration

◆ am_register_send_star()

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

Configure amsip to unregister all previous IP from server.

Parameters
identityProvide your SIP identity
proxySet the proxy server
routeSet the outbound route