libamsip 4.6.0
Functions

amsip incoming subscription interface

SIP messages and call control API

Functions

int am_insubscription_answer (int tid, int did, int code)
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:
tidTransaction identifier.
didSession identifier.
codeCode to use.
int am_insubscription_build_answer ( int  tid,
int  code,
osip_message_t **  answer 
)

Configure amsip to build a SIP NOTIFY answer.

Parameters:
tidtransaction identifier.
codeanswer code for NOTIFY answer.
answeranswer pointer.
int am_insubscription_send_answer ( int  tid,
int  code,
osip_message_t *  answer 
)

Configure amsip to send a SIP NOTIFY answer.

Parameters:
tidtransaction identifier.
codeanswer code for NOTIFY answer.
answeranswer 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:
didSession identifier.
subscription_statussubscription status value.
subscription_reasonsubscription reason value.
notifyrequest pointer.
int am_insubscription_send_request ( int  did,
osip_message_t *  request 
)

Configure amsip to send a SIP NOTIFY request.

Parameters:
didSession identifier.
requestrequest pointer.
int am_insubscription_remove ( int  did)

Remove outgoing subscription context.

Parameters:
dididentifier of the subscription.