BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

mwi.h File Reference

SIP Extension for MWI (RFC 3842) More...

#include <pjsip-simple/evsub.h>
#include <pjsip/sip_msg.h>

Functions

pj_status_t pjsip_mwi_init_module (pjsip_endpoint *endpt, pjsip_module *mod_evsub)
 
pjsip_modulepjsip_mwi_instance (void)
 
pj_status_t pjsip_mwi_create_uac (pjsip_dialog *dlg, const pjsip_evsub_user *user_cb, unsigned options, pjsip_evsub **p_evsub)
 
pj_status_t pjsip_mwi_create_uas (pjsip_dialog *dlg, const pjsip_evsub_user *user_cb, pjsip_rx_data *rdata, pjsip_evsub **p_evsub)
 
pj_status_t pjsip_mwi_terminate (pjsip_evsub *sub, pj_bool_t notify)
 
pj_status_t pjsip_mwi_initiate (pjsip_evsub *sub, pj_uint32_t expires, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_mwi_accept (pjsip_evsub *sub, pjsip_rx_data *rdata, int st_code, const pjsip_hdr *hdr_list)
 
pj_status_t pjsip_mwi_notify (pjsip_evsub *sub, pjsip_evsub_state state, const pj_str_t *state_str, const pj_str_t *reason, const pjsip_media_type *mime_type, const pj_str_t *body, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_mwi_current_notify (pjsip_evsub *sub, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_mwi_send_request (pjsip_evsub *sub, pjsip_tx_data *tdata)
 

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.