SIP-router utils ::Module: utils. More...
#include "../../lib/kmi/mi.h"#include "../../parser/msg_parser.h"#include "../../proxy.h"

Go to the source code of this file.
Definition in file conf.h.
| int conf_init | ( | int | max_id | ) |
| struct proxy_l* conf_needs_forward | ( | struct sip_msg * | msg, | |
| int | id | |||
| ) | [read] |
| msg | the SIP message to be forwarded | |
| id | use configuration with this ID when checking |
Definition at line 517 of file conf.c.
References filter_methods_contains_request(), sip_msg::first_line, and sfilter_mask.
Referenced by utils_forward().


| int conf_parse_filter | ( | char * | settings | ) |
| settings | The configuration string in the following form:
* <id>=<filter>[:<filter>]...[,<id>=<filter>[:<filter>]...]... |
Definition at line 405 of file conf.c.
References conf_str2id(), remove_spaces(), and update_filter().
Referenced by forward_fifo_filter().


| int conf_parse_proxy | ( | char * | settings | ) |
| settings,: | The configuration string in the following form:
* <id>=<host>:<port>[,<id>=<host>:<port>]... |
Definition at line 450 of file conf.c.
References conf_str2id(), remove_spaces(), and update_proxy().
Referenced by forward_fifo_proxy().


| int conf_parse_switch | ( | char * | settings | ) |
| settings | the configuration string in the following form:
* <id>=<switch>[,<id>=<switch>]... |
Definition at line 303 of file conf.c.
References conf_str2id(), remove_spaces(), and update_switch().
Referenced by forward_fifo_switch().


| int conf_show | ( | struct mi_root * | rpl_tree | ) |
| rpl_tree | FIFO root |
Definition at line 345 of file conf.c.
References sfilter_mask, and sfilter_str.
Referenced by forward_fifo_list().

| int conf_str2id | ( | char * | id_str | ) |
Definition at line 124 of file conf.c.
References conf_str2int().
Referenced by conf_parse_filter(), conf_parse_proxy(), and conf_parse_switch().


1.7.1