#include "dlg_hash.h"


Go to the source code of this file.
Defines | |
| #define | MAX_FWD "70" |
| #define | MAX_SIZE 256 |
| #define | MI_DIALOG_NOT_FOUND "Requested Dialog not found" |
| #define | MI_DIALOG_NOT_FOUND_LEN (sizeof(MI_DIALOG_NOT_FOUND)-1) |
| #define | MI_DLG_OPERATION_ERR "Operation failed" |
| #define | MI_DLG_OPERATION_ERR_LEN (sizeof(MI_DLG_OPERATION_ERR)-1) |
| #define | RCV_BYE_REPLY 1 |
Functions | |
| dlg_t * | build_dlg_t (struct dlg_cell *cell, int dir) |
| int | dlg_bye (struct dlg_cell *dlg, str *hdrs, int side) |
| int | dlg_bye_all (struct dlg_cell *dlg, str *hdrs) |
| int | free_tm_dlg (dlg_t *td) |
| struct mi_root * | mi_terminate_dlg (struct mi_root *cmd_tree, void *param) |
| int | populate_leg_info (struct dlg_cell *dlg, struct sip_msg *msg, struct cell *t, unsigned int leg, str *tag) |
Variables | |
| stat_var * | active_dlgs |
| struct tm_binds | d_tmb |
| int | dlg_enable_stats |
| #define MAX_FWD "70" |
Definition at line 35 of file dlg_req_within.h.
| #define MAX_SIZE 256 |
Definition at line 36 of file dlg_req_within.h.
| #define MI_DIALOG_NOT_FOUND "Requested Dialog not found" |
| #define MI_DIALOG_NOT_FOUND_LEN (sizeof(MI_DIALOG_NOT_FOUND)-1) |
| #define MI_DLG_OPERATION_ERR "Operation failed" |
| #define MI_DLG_OPERATION_ERR_LEN (sizeof(MI_DLG_OPERATION_ERR)-1) |
| #define RCV_BYE_REPLY 1 |
Definition at line 37 of file dlg_req_within.h.
Definition at line 66 of file dlg_req_within.c.
References dlg_cell::bind_addr, dlg_id::call_id, dlg_cell::callid, dlg_cell::contact, dlg_cell::cseq, DLG_CALLEE_LEG, DLG_CALLER_LEG, DLG_CONFIRMED, free_tm_dlg(), dlg_cell::from_uri, dlg::id, dlg_seq::is_set, _str::len, LM_ERR, dlg::loc_seq, dlg_id::loc_tag, dlg::loc_uri, NULL, parse_rr_body(), pkg_malloc, dlg_id::rem_tag, dlg::rem_target, dlg::rem_uri, dlg::route_set, dlg_cell::route_set, _str::s, dlg::send_sock, dlg::state, str2int(), dlg_cell::tag, dlg_cell::to_uri, and dlg_seq::value.
Referenced by dlg_refer_callee(), dlg_refer_tm_callback(), send_bye(), and send_notify_request().
Definition at line 343 of file dlg_req_within.c.
References build_extra_hdr(), dlg_cell::dflags, DLG_CALLER_LEG, DLG_FLAG_CALLEEBYE, DLG_FLAG_CALLERBYE, LM_ERR, pkg_free, _str::s, and send_bye().
Referenced by w_dlg_bye().
Definition at line 368 of file dlg_req_within.c.
References build_extra_hdr(), DLG_CALLEE_LEG, DLG_CALLER_LEG, LM_ERR, pkg_free, _str::s, and send_bye().
Referenced by dlg_ontimeout(), mi_terminate_dlg(), and w_dlg_bye().
| int free_tm_dlg | ( | dlg_t * | td | ) |
Definition at line 53 of file dlg_req_within.c.
References free_rr(), dlg::loc_uri, pkg_free, dlg::rem_uri, dlg::route_set, and _str::s.
Referenced by build_dlg_t(), dlg_refer_callee(), dlg_refer_tm_callback(), send_bye(), and send_notify_request().
Definition at line 281 of file dlg_req_within.c.
References d_table, dlg_bye_all(), init_mi_tree(), mi_node::kids, _str::len, LM_DBG, lookup_dlg(), MI_BAD_PARM_LEN, MI_BAD_PARM_S, MI_DIALOG_NOT_FOUND, MI_DIALOG_NOT_FOUND_LEN, MI_DLG_OPERATION_ERR, MI_DLG_OPERATION_ERR_LEN, MI_MISSING_PARM_LEN, MI_MISSING_PARM_S, MI_OK_LEN, MI_OK_S, mi_node::next, mi_root::node, NULL, _str::s, strno2int(), unref_dlg(), and mi_node::value.
| int populate_leg_info | ( | struct dlg_cell * | dlg, | |
| struct sip_msg * | msg, | |||
| struct cell * | t, | |||
| unsigned int | leg, | |||
| str * | tag | |||
| ) |
Definition at line 163 of file dlg_handlers.c.
References ua_client::added_rr, dlg_cell::bind_addr, receive_info::bind_address, sip_msg::contact, dlg_cell::cseq, sip_msg::cseq, DLG_CALLER_LEG, dlg_set_leg_info(), dlg_cell::from_rr_nb, get_cseq, HDR_CONTACT_F, HDR_CSEQ_F, HDR_EOH_F, _str::len, LM_DBG, LM_ERR, NULL, parse_contact(), parse_headers(), hdr_field::parsed, pkg_free, print_rr_body(), sip_msg::rcv, sip_msg::record_route, cell::relayed_reply_branch, _str::s, socket_info::sock_str, and cell::uac.
Referenced by dlg_bridge_tm_callback(), dlg_new_dialog(), and dlg_onreply().
Definition at line 94 of file dialog.c.
Referenced by bye_reply_cb(), dlg_onreply(), dlg_onroute(), and dlg_ontimeout().
tm bindings
Definition at line 100 of file dialog.c.
Referenced by dlg_bridge(), dlg_new_dialog(), dlg_onroute(), dlg_refer_callee(), dlg_refer_tm_callback(), get_current_dialog(), mod_init(), and send_bye().
| int dlg_enable_stats |
Definition at line 91 of file dialog.c.
Referenced by bye_reply_cb(), child_init(), dlg_new_dialog(), dlg_onreply(), dlg_onroute(), dlg_ontimeout(), and mod_init().
1.5.6