registrar/path.h File Reference

SIP registrar module - helper functions for Path support. More...

#include "../../parser/msg_parser.h"

Include dependency graph for registrar/path.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int build_path_vector (struct sip_msg *_m, str *path, str *received)
 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.


Detailed Description

SIP registrar module - helper functions for Path support.

Definition in file registrar/path.h.


Function Documentation

int build_path_vector ( struct sip_msg _m,
str path,
str received 
)

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().


Generated on Thu May 24 10:00:41 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6