Functions

modules/utils/utils.c File Reference

SIP-router utils :: Module core. More...

#include <curl/curl.h>
#include "../../mod_fix.h"
#include "../../sr_module.h"
#include "../../ut.h"
#include "../../forward.h"
#include "../../resolve.h"
#include "../../locking.h"
#include "../../script_cb.h"
#include "../../mem/shm_mem.h"
#include "../../lib/srdb1/db.h"
#include "functions.h"
#include "conf.h"
#include "xcap_auth.h"
Include dependency graph for modules/utils/utils.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file modules/utils/utils.c.


Function Documentation

static struct mi_root * forward_fifo_filter ( struct mi_root *  cmd_tree,
void *  param 
) [static, read]
Returns:
pointer to the mi_root on success, 0 otherwise

Definition at line 467 of file modules/utils/utils.c.

References conf_parse_filter().

Here is the call graph for this function:

static struct mi_root * forward_fifo_list ( struct mi_root *  cmd_tree,
void *  param 
) [static, read]
Returns:
pointer to the mi_root on success, 0 otherwise

Definition at line 405 of file modules/utils/utils.c.

References conf_show().

Here is the call graph for this function:

static struct mi_root * forward_fifo_proxy ( struct mi_root *  cmd_tree,
void *  param 
) [static, read]
Returns:
pointer to the mi_root on success, 0 otherwise

Definition at line 497 of file modules/utils/utils.c.

References conf_parse_proxy().

Here is the call graph for this function:

static struct mi_root * forward_fifo_switch ( struct mi_root *  cmd_tree,
void *  param 
) [static, read]
Returns:
pointer to the mi_root on success, 0 otherwise

Definition at line 437 of file modules/utils/utils.c.

References conf_parse_switch().

Here is the call graph for this function:

int utils_forward ( struct sip_msg msg,
int  id,
int  proto 
)
Parameters:
msg the message to be forwarded
id use configuration with this ID when checking switch, filter, proxy.
proto protocol to be used. Should be PROTO_UDP.
Returns:
0 on success, -1 otherwise

Definition at line 370 of file modules/utils/utils.c.

References conf_needs_forward().

Here is the call graph for this function: