#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <regex.h>
#include "../../sr_module.h"
#include "../../ut.h"
#include "../../error.h"
#include "../../pvar.h"
#include "../../mem/mem.h"
#include "../../mod_fix.h"
#include "loose.h"
#include "record.h"
#include "rr_cb.h"
#include "api.h"

Go to the source code of this file.
Functions | |
| static int | direction_fixup (void **param, int param_no) |
| static int | it_list_fixup (void **param, int param_no) |
| static void | mod_destroy (void) |
| static MODULE_VERSION int | mod_init (void) |
| static int | w_add_rr_param (struct sip_msg *, char *, char *) |
| static int | w_check_route_param (struct sip_msg *, char *, char *) |
| static int | w_is_direction (struct sip_msg *, char *, char *) |
| static int | w_record_route (struct sip_msg *, char *, char *) |
| static int | w_record_route_preset (struct sip_msg *, char *, char *) |
Variables | |
| int | add_username = 0 |
| int | append_fromtag = 1 |
| static cmd_export_t | cmds [] |
| Exported functions. | |
| int | enable_double_rr = 1 |
| int | enable_full_lr = 0 |
| struct module_exports | exports |
| static unsigned int | last_rr_msg |
| static param_export_t | params [] |
| Exported parameters. | |
Definition in file rr_mod.c.
| static int direction_fixup | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
Definition at line 169 of file rr_mod.c.
References append_fromtag, E_CFG, LM_ERR, pkg_free, RR_FLOW_DOWNSTREAM, RR_FLOW_UPSTREAM, and s.
| static int it_list_fixup | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
| static void mod_destroy | ( | void | ) | [static] |
| static int mod_init | ( | void | ) | [static] |
| static int w_add_rr_param | ( | struct sip_msg * | msg, | |
| char * | key, | |||
| char * | foo | |||
| ) | [static] |
| static int w_check_route_param | ( | struct sip_msg * | msg, | |
| char * | re, | |||
| char * | foo | |||
| ) | [static] |
| static int w_is_direction | ( | struct sip_msg * | msg, | |
| char * | dir, | |||
| char * | foo | |||
| ) | [static] |
| static int w_record_route | ( | struct sip_msg * | msg, | |
| char * | key, | |||
| char * | bar | |||
| ) | [static] |
Definition at line 199 of file rr_mod.c.
References sip_msg::id, last_rr_msg, LM_ERR, pv_printf_s(), record_route(), and s.
| static int w_record_route_preset | ( | struct sip_msg * | msg, | |
| char * | key, | |||
| char * | bar | |||
| ) | [static] |
Definition at line 220 of file rr_mod.c.
References sip_msg::id, last_rr_msg, LM_ERR, pv_printf_s(), record_route_preset(), and s.
| int add_username = 0 |
do not add username by default
Definition at line 56 of file rr_mod.c.
Referenced by record_route(), and record_route_preset().
| int append_fromtag = 1 |
append from tag by default
Definition at line 53 of file rr_mod.c.
Referenced by direction_fixup(), load_rr(), record_route(), and record_route_preset().
cmd_export_t cmds[] [static] |
| int enable_double_rr = 1 |
enable using of 2 RR by default
Definition at line 54 of file rr_mod.c.
Referenced by add_rr_param(), after_loose(), after_strict(), build_rr(), and record_route().
| int enable_full_lr = 0 |
compatibilty mode disabled by default
Definition at line 55 of file rr_mod.c.
Referenced by build_rr(), and record_route_preset().
| struct module_exports exports |
unsigned int last_rr_msg [static] |
Definition at line 58 of file rr_mod.c.
Referenced by w_record_route(), and w_record_route_preset().
param_export_t params[] [static] |
1.5.6