#include "../../parser/msg_parser.h"#include "../../str.h"#include "../tm/t_hooks.h"


Go to the source code of this file.
Defines | |
| #define | FROM_AUTO_RESTORE (1) |
| #define | FROM_MANUAL_RESTORE (2) |
| #define | FROM_NO_RESTORE (0) |
Functions | |
| void | init_from_replacer (void) |
| int | replace_from (struct sip_msg *msg, str *from_dsp, str *from_uri) |
| int | restore_from (struct sip_msg *msg, int *is_from) |
| void | rr_checker (struct sip_msg *msg, str *r_param, void *cb_param) |
| #define FROM_AUTO_RESTORE (1) |
| #define FROM_MANUAL_RESTORE (2) |
| #define FROM_NO_RESTORE (0) |
| void init_from_replacer | ( | void | ) |
Definition at line 67 of file from.c.
References dec_table64, and enc_table64.
Referenced by mod_init().
Definition at line 219 of file from.c.
References rr_binds::add_rr_param, sip_msg::buf, buf, del_lump(), to_body::display, encode_from(), to_body::error, FL_USE_UAC_FROM, sip_msg::from, FROM_AUTO_RESTORE, FROM_NO_RESTORE, from_restore_mode, get_fdisplay_anchor(), get_to, HDR_TO_F, insert_new_lump_after(), _str::len, LM_DBG, LM_ERR, MAX_URI_SIZE, sip_msg::msg_flags, to_body::param_lst, parse_from_header(), parse_headers(), hdr_field::parsed, pkg_free, pkg_malloc, tm_binds::register_tmcb, replace(), restore_from_reply(), _str::s, TMCB_RESPONSE_IN, sip_msg::to, uac_rrb, uac_tmb, and to_body::uri.
Referenced by w_replace_from1(), and w_replace_from2().
| int restore_from | ( | struct sip_msg * | msg, | |
| int * | is_from | |||
| ) |
Definition at line 409 of file from.c.
References sip_msg::buf, decode_from(), del_lump(), FL_USE_UAC_FROM, FL_USE_UAC_TO, sip_msg::from, rr_binds::get_route_param, HDR_TO_F, insert_new_lump_after(), rr_binds::is_direction, _str::len, LM_DBG, LM_ERR, sip_msg::msg_flags, parse_from_header(), parse_headers(), hdr_field::parsed, pkg_free, pkg_malloc, RR_FLOW_UPSTREAM, _str::s, sip_msg::to, and uac_rrb.
Referenced by rr_checker(), and w_restore_from().
Definition at line 517 of file from.c.
References LM_ERR, tm_binds::register_tmcb, restore_from(), restore_from_reply(), restore_to_reply(), TMCB_RESPONSE_IN, and uac_tmb.
Referenced by mod_init().
1.5.6