amsip subscription interface
[SIP messages and call control API]


Functions

int am_subscription_start (const char *identity, const char *url, const char *proxy, const char *event, const char *accept, int expires)
int am_subscription_refresh (int did, const char *event, const char *accept, int expires)
int am_subscription_remove (int did)

Function Documentation

int am_subscription_start ( const char *  identity,
const char *  url,
const char *  proxy,
const char *  event,
const char *  accept,
int  expires 
)

Configure amsip to start a SIP subscription.

Parameters:
identity SIP url for caller.
url SIP url for callee.
proxy proxy header for SUBSCRIBE.
event Event header for SUBSCRIBE.
accept Accept header.
expires Expires header for SUBSCRIBE.

int am_subscription_refresh ( int  did,
const char *  event,
const char *  accept,
int  expires 
)

Configure amsip to mute a SIP session.

Parameters:
did Session identifier.
event Event header for SUBSCRIBE.
accept Accept header.
expires expires time (0 to stop subscription).

int am_subscription_remove ( int  did  ) 

Remove outgoing subscription context.

Parameters:
did identifier of the subscription.


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