BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

sip_inv.h File Reference

INVITE sessions. More...

#include <pjsip/sip_dialog.h>
#include <pjmedia/sdp_neg.h>

Data Structures

struct  pjsip_inv_on_rx_offer_cb_param
 
struct  pjsip_inv_callback
 
struct  pjsip_inv_session
 
struct  pjsip_sdp_info
 

Typedefs

typedef pjsip_sdp_info pjsip_rdata_sdp_info
 
typedef pjsip_sdp_info pjsip_tdata_sdp_info
 

Enumerations

enum  pjsip_inv_state {
  PJSIP_INV_STATE_NULL , PJSIP_INV_STATE_CALLING , PJSIP_INV_STATE_INCOMING , PJSIP_INV_STATE_EARLY ,
  PJSIP_INV_STATE_CONNECTING , PJSIP_INV_STATE_CONFIRMED , PJSIP_INV_STATE_DISCONNECTED
}
 
enum  pjsip_inv_option {
  PJSIP_INV_SUPPORT_100REL = 1 , PJSIP_INV_SUPPORT_TIMER = 2 , PJSIP_INV_SUPPORT_UPDATE = 4 , PJSIP_INV_SUPPORT_ICE = 8 ,
  PJSIP_INV_REQUIRE_ICE = 16 , PJSIP_INV_REQUIRE_100REL = 32 , PJSIP_INV_REQUIRE_TIMER = 64 , PJSIP_INV_ALWAYS_USE_TIMER = 128 ,
  PJSIP_INV_SUPPORT_TRICKLE_ICE = 256 , PJSIP_INV_REQUIRE_TRICKLE_ICE = 512
}
 

Functions

pj_status_t pjsip_inv_usage_init (pjsip_endpoint *endpt, const pjsip_inv_callback *cb)
 
pjsip_modulepjsip_inv_usage_instance (void)
 
void pjsip_inv_usage_dump (void)
 
pj_status_t pjsip_inv_create_uac (pjsip_dialog *dlg, const pjmedia_sdp_session *local_sdp, unsigned options, pjsip_inv_session **p_inv)
 
pj_status_t pjsip_inv_verify_request (pjsip_rx_data *rdata, unsigned *options, const pjmedia_sdp_session *sdp, pjsip_dialog *dlg, pjsip_endpoint *endpt, pjsip_tx_data **tdata)
 
pj_status_t pjsip_inv_verify_request2 (pjsip_rx_data *rdata, unsigned *options, const pjmedia_sdp_session *offer, const pjmedia_sdp_session *answer, pjsip_dialog *dlg, pjsip_endpoint *endpt, pjsip_tx_data **tdata)
 
pj_status_t pjsip_inv_verify_request3 (pjsip_rx_data *rdata, pj_pool_t *tmp_pool, unsigned *options, const pjmedia_sdp_session *offer, const pjmedia_sdp_session *answer, pjsip_dialog *dlg, pjsip_endpoint *endpt, pjsip_tx_data **tdata)
 
pj_status_t pjsip_inv_create_uas (pjsip_dialog *dlg, pjsip_rx_data *rdata, const pjmedia_sdp_session *local_sdp, unsigned options, pjsip_inv_session **p_inv)
 
pj_status_t pjsip_inv_add_ref (pjsip_inv_session *inv)
 
pj_status_t pjsip_inv_dec_ref (pjsip_inv_session *inv)
 
pj_status_t pjsip_inv_terminate (pjsip_inv_session *inv, int st_code, pj_bool_t notify)
 
pj_status_t pjsip_inv_uac_restart (pjsip_inv_session *inv, pj_bool_t new_offer)
 
pj_status_t pjsip_inv_process_redirect (pjsip_inv_session *inv, pjsip_redirect_op cmd, pjsip_event *e)
 
pj_status_t pjsip_inv_invite (pjsip_inv_session *inv, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_initial_answer (pjsip_inv_session *inv, pjsip_rx_data *rdata, int st_code, const pj_str_t *st_text, const pjmedia_sdp_session *sdp, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_answer (pjsip_inv_session *inv, int st_code, const pj_str_t *st_text, const pjmedia_sdp_session *local_sdp, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_set_local_sdp (pjsip_inv_session *inv, const pjmedia_sdp_session *sdp)
 
pj_status_t pjsip_inv_set_sdp_answer (pjsip_inv_session *inv, const pjmedia_sdp_session *sdp)
 
pj_status_t pjsip_inv_end_session (pjsip_inv_session *inv, int st_code, const pj_str_t *st_text, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_cancel_reinvite (pjsip_inv_session *inv, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_reinvite (pjsip_inv_session *inv, const pj_str_t *new_contact, const pjmedia_sdp_session *new_offer, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_update (pjsip_inv_session *inv, const pj_str_t *new_contact, const pjmedia_sdp_session *offer, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_create_ack (pjsip_inv_session *inv, int cseq, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_inv_send_msg (pjsip_inv_session *inv, pjsip_tx_data *tdata)
 
pjsip_inv_sessionpjsip_dlg_get_inv_session (pjsip_dialog *dlg)
 
pjsip_inv_sessionpjsip_tsx_get_inv_session (pjsip_transaction *tsx)
 
const char * pjsip_inv_state_name (pjsip_inv_state state)
 
pj_status_t pjsip_create_sdp_body (pj_pool_t *pool, pjmedia_sdp_session *sdp, pjsip_msg_body **p_body)
 
pj_status_t pjsip_create_multipart_sdp_body (pj_pool_t *pool, pjmedia_sdp_session *sdp, pjsip_msg_body **p_body)
 
pjsip_sdp_infopjsip_get_sdp_info (pj_pool_t *pool, pjsip_msg_body *body, pjsip_media_type *msg_media_type, const pjsip_media_type *search_media_type)
 
pjsip_rdata_sdp_infopjsip_rdata_get_sdp_info (pjsip_rx_data *rdata)
 
pjsip_rdata_sdp_infopjsip_rdata_get_sdp_info2 (pjsip_rx_data *rdata, const pjsip_media_type *search_media_type)
 
pjsip_tdata_sdp_infopjsip_tdata_get_sdp_info (pjsip_tx_data *tdata)
 
pjsip_tdata_sdp_infopjsip_tdata_get_sdp_info2 (pjsip_tx_data *tdata, const pjsip_media_type *search_media_type)
 

 


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