Go to the source code of this file.
|
static const pjmedia_sdp_session * | jami::get_active_local_sdp (pjsip_inv_session *inv) |
|
static const pjmedia_sdp_session * | jami::get_active_remote_sdp (pjsip_inv_session *inv) |
|
static std::shared_ptr< SIPCall > | jami::getCallFromInvite (pjsip_inv_session *inv) |
|
static SafeResolveCallbackMap & | jami::getResolveCallbackMap () |
|
static pj_bool_t | jami::handleIncomingOptions (pjsip_rx_data *rdata) |
|
static bool | jami::handleMediaControl (SIPCall &call, pjsip_msg_body *body) |
|
static void | jami::invite_session_state_changed_cb (pjsip_inv_session *inv, pjsip_event *e) |
|
template<typename T > |
bool | jami::is_uninitialized (std::weak_ptr< T > const &weak) |
|
static void | jami::on_rx_offer2 (pjsip_inv_session *inv, struct pjsip_inv_on_rx_offer_cb_param *param) |
|
static void | jami::onRequestInfo (pjsip_inv_session *inv, pjsip_rx_data *rdata, pjsip_msg *msg, SIPCall &call) |
|
static void | jami::onRequestNotify (pjsip_inv_session *, pjsip_rx_data *, pjsip_msg *msg, SIPCall &call) |
|
static void | jami::onRequestRefer (pjsip_inv_session *inv, pjsip_rx_data *rdata, pjsip_msg *msg, SIPCall &call) |
|
static void | jami::outgoing_request_forked_cb (pjsip_inv_session *inv, pjsip_event *e) |
|
static pj_status_t | jami::reinvite_received_cb (pjsip_inv_session *inv, const pjmedia_sdp_session *offer, pjsip_rx_data *rdata) |
|
static void | jami::replyToRequest (pjsip_inv_session *inv, pjsip_rx_data *rdata, int status_code) |
|
static void | jami::resolver_callback (pj_status_t status, void *token, const struct pjsip_server_addresses *addr) |
|
static void | jami::sdp_create_offer_cb (pjsip_inv_session *inv, pjmedia_sdp_session **p_offer) |
|
static void | jami::sdp_media_update_cb (pjsip_inv_session *inv, pj_status_t status) |
|
static void | jami::tp_state_callback (pjsip_transport *tp, pjsip_transport_state state, const pjsip_transport_state_info *info) |
|
static pj_bool_t | jami::transaction_request_cb (pjsip_rx_data *rdata) |
|
static pj_bool_t | jami::transaction_response_cb (pjsip_rx_data *rdata) |
|
static void | jami::transaction_state_changed_cb (pjsip_inv_session *inv, pjsip_transaction *tsx, pjsip_event *e) |
|
static bool | jami::transferCall (SIPCall &call, const std::string &refer_to) |
| Helper function to process refer function on call transfer.
|
|
static pj_status_t | jami::try_respond_stateless (pjsip_endpoint *endpt, pjsip_rx_data *rdata, int st_code, const pj_str_t *st_text, const pjsip_hdr *hdr_list, const pjsip_msg_body *body) |
|
◆ ADD_CAP
#define ADD_CAP |
( |
|
cap | ) |
ADD_HDR(pjsip_endpt_get_capability(endpt_, cap, NULL)); |
◆ ADD_HDR
Value: do { \
const pjsip_hdr* cap_hdr = hdr; \
if (cap_hdr) \
pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, cap_hdr)); \
} while (0)
◆ RETURN_FALSE_IF_NULL
#define RETURN_FALSE_IF_NULL |
( |
|
A, |
|
|
|
... |
|
) |
| |
Value: if ((A) == NULL) { \
JAMI_WARN(__VA_ARGS__); \
return false; \
}
Definition at line 1552 of file sipvoiplink.cpp.
◆ RETURN_IF_NULL
#define RETURN_IF_NULL |
( |
|
A, |
|
|
|
... |
|
) |
| |
Value: if ((A) == NULL) { \
JAMI_WARN(__VA_ARGS__); \
return; \
}
Definition at line 1546 of file sipvoiplink.cpp.
◆ TRY
Value: do { \
if ((ret) != PJ_SUCCESS) \
throw VoipLinkException(#ret " failed"); \
} while (0)