amsip incoming subscription interface
[SIP messages and call control API]


Functions

int am_insubscription_answer (int tid, int did, int code)
int am_insubscription_notify (int did, int subscription_status, int subscription_reason, const char *content_type, const char *document, int document_size)
int am_insubscription_build_answer (int tid, int code, osip_message_t **answer)
int am_insubscription_send_answer (int tid, int code, osip_message_t *answer)
int am_insubscription_build_notify (int did, int subscription_status, int subscription_reason, osip_message_t **notify)
int am_insubscription_send_request (int did, osip_message_t *request)
int am_insubscription_remove (int did)

Function Documentation

int am_insubscription_answer ( int  tid,
int  did,
int  code 
)

Configure amsip to answer a SIP SUBSCRIBE.

Parameters:
tid Transaction identifier.
did Session identifier.
code Code to use.

int am_insubscription_notify ( int  did,
int  subscription_status,
int  subscription_reason,
const char *  content_type,
const char *  document,
int  document_size 
)

Configure amsip to send a SIP NOTIFY.

Parameters:
did Session identifier.
subscription_status subscription status value.
subscription_reason subscription reason value.
content_type Content-Type header for document.
document document data.
document_size document size.

int am_insubscription_build_answer ( int  tid,
int  code,
osip_message_t **  answer 
)

Configure amsip to build a SIP NOTIFY answer.

Parameters:
tid transaction identifier.
code answer code for NOTIFY answer.
answer answer pointer.

int am_insubscription_send_answer ( int  tid,
int  code,
osip_message_t *  answer 
)

Configure amsip to send a SIP NOTIFY answer.

Parameters:
tid transaction identifier.
code answer code for NOTIFY answer.
answer answer pointer.

int am_insubscription_build_notify ( int  did,
int  subscription_status,
int  subscription_reason,
osip_message_t **  notify 
)

Configure amsip to send a SIP NOTIFY request.

Parameters:
did Session identifier.
subscription_status subscription status value.
subscription_reason subscription reason value.
notify request pointer.

int am_insubscription_send_request ( int  did,
osip_message_t *  request 
)

Configure amsip to send a SIP NOTIFY request.

Parameters:
did Session identifier.
request request pointer.

int am_insubscription_remove ( int  did  ) 

Remove outgoing subscription context.

Parameters:
did identifier of the subscription.


Generated on Sun Dec 10 18:54:29 2006 for libamsip by  doxygen 1.4.7