#include "../../data_lump.h"
#include "../../parser/parse_rr.h"
#include "../../parser/parse_uri.h"
#include "path.h"
#include "reg_mod.h"

Go to the source code of this file.
Functions | |
| int | build_path_vector (struct sip_msg *_m, str *path, str *received) |
| Combines all Path HF bodies into one string. | |
Definition in file registrar/path.c.
Combines all Path HF bodies into one string.
Extracts all Path header bodies into one string and checks if first hop is a loose router. It also extracts the received-param of the first hop if path_use_received is 1.
Definition at line 41 of file registrar/path.c.
References param::body, hdr_field::body, buf, CLASS_CONTACT, param_hooks::contact, free_params(), free_rr(), HDR_EOH_F, _str::len, LM_ERR, sip_uri::lr, MAX_PATH_SIZE, sip_uri::params, params, parse_headers(), parse_params(), parse_rr_body(), parse_uri(), sip_msg::path, path_use_params, contact_hooks::received, _str::s, and hdr_field::sibling.
Referenced by pack_ci().
1.5.6