#include "../../str.h"
#include "../../sr_module.h"
#include "loose.h"
#include "rr_cb.h"


Go to the source code of this file.
Data Structures | |
| struct | rr_binds |
Typedefs | |
| typedef int(* | add_rr_param_t )(struct sip_msg *, str *) |
| typedef int(* | check_route_param_t )(struct sip_msg *, regex_t *) |
| typedef int(* | get_route_param_t )(struct sip_msg *, str *, str *) |
| typedef int(* | is_direction_t )(struct sip_msg *, int) |
| typedef int(* | load_rr_f )(struct rr_binds *) |
Functions | |
| int | load_rr (struct rr_binds *) |
| API bind function exported by the module - it will load the other functions. | |
| static int | load_rr_api (struct rr_binds *rrb) |
| Function to be called directly from other modules to load the RR API. | |
Kamailio RR module (record-routing) API. The RR module provides an internal API to be used by other Kamailio modules. The API offers support for SIP dialog based functionalities.
For internal(non-script) usage, the RR module offers to other module the possibility to register callback functions to be executed each time a local Route header is processed. The callback function will receive as parameter the register parameter and the Route header parameter string.
Definition in file rr/api.h.
| typedef int(* add_rr_param_t)(struct sip_msg *, str *) |
| typedef int(* check_route_param_t)(struct sip_msg *, regex_t *) |
| typedef int(* get_route_param_t)(struct sip_msg *, str *, str *) |
| typedef int(* is_direction_t)(struct sip_msg *, int) |
| int load_rr | ( | struct rr_binds * | rrb | ) |
API bind function exported by the module - it will load the other functions.
| rr_binds | record-route API export binding |
| rrb | record-route API export binding |
Definition at line 57 of file rr/api.c.
References add_rr_param(), rr_binds::add_rr_param, append_fromtag, rr_binds::append_fromtag, check_route_param(), rr_binds::check_route_param, get_route_param(), rr_binds::get_route_param, is_direction(), rr_binds::is_direction, register_rrcb(), and rr_binds::register_rrcb.
| static int load_rr_api | ( | struct rr_binds * | rrb | ) | [inline, static] |
Function to be called directly from other modules to load the RR API.
| rrb | record-route API export binding |
Definition at line 80 of file rr/api.h.
References find_export(), and LM_ERR.
Referenced by mod_init(), and ospInitMod().
1.5.6