Functions

parse_from.h File Reference

Parser :: SIP From header parsing. More...

#include "parse_to.h"
#include "msg_parser.h"
Include dependency graph for parse_from.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file parse_from.h.


Function Documentation

int parse_from_header ( struct sip_msg msg  ) 
Note:
It was decided not to parse anything in core that is not *needed* so this method gets called by rad_acc module and any other modules that needs the FROM header.

params: msg : sip msg returns 0 on success, -1 on failure.

Definition at line 55 of file parse_from.c.

References hdr_field::body, _str::len, parse_to(), hdr_field::parsed, and _str::s.

Referenced by char_msg_val(), is_direction(), mi_check_msg(), pre_match_parse(), record_route(), record_route_advertised_address(), and record_route_preset().

Here is the call graph for this function:

Here is the caller graph for this function: