acc_mod.c File Reference

Acc:: Core module interface. More...

#include <stdio.h>
#include <string.h>
#include "../../sr_module.h"
#include "../../local_route.h"
#include "../../dprint.h"
#include "../../mem/mem.h"
#include "../tm/tm_load.h"
#include "../rr/api.h"
#include "acc.h"
#include "acc_mod.h"
#include "acc_extra.h"
#include "acc_logic.h"

Include dependency graph for acc_mod.c:

Go to the source code of this file.

Functions

static int acc_fixup (void **param, int param_no)
static int child_init (int rank)
static void destroy (void)
static int free_acc_fixup (void **param, int param_no)
static int mod_init (void)
static int mod_lrt_init (void)

Variables

static cmd_export_t cmds []
int detect_direction = 0
int early_media = 0
struct module_exports exports
int failed_transaction_flag = -1
struct acc_extraleg_info = 0
static char * leg_info_str = 0
static param_export_t params []
int report_ack = 0
int report_cancels = 0
struct rr_binds rrb
MODULE_VERSION struct tm_binds tmb
AccSyslogVariables Syslog Variables


struct acc_extralog_extra = 0
static char * log_extra_str = 0
int log_facility = LOG_DAEMON
static char * log_facility_str = 0
int log_flag = -1
int log_level = L_NOTICE
int log_missed_flag = -1


Detailed Description

Acc:: Core module interface.

Definition in file acc_mod.c.


Function Documentation

static int acc_fixup ( void **  param,
int  param_no 
) [static]

static int child_init ( int  rank  )  [static]

static void destroy ( void   )  [static]

Definition at line 547 of file acc_mod.c.

References close_tcp_connection(), destroy_extras(), and sockfd.

static int free_acc_fixup ( void **  param,
int  param_no 
) [static]

Definition at line 319 of file acc_mod.c.

References pkg_free.

static int mod_init ( void   )  [static]

static int mod_lrt_init ( void   )  [static]

Definition at line 333 of file acc_mod.c.

References LM_ERR, and _str::s.

Referenced by mod_init().


Variable Documentation

cmd_export_t cmds[] [static]

Definition at line 184 of file acc_mod.c.

Referenced by mi_which(), and register_mi_cmd().

detect and correct direction in the sequential requests

Definition at line 102 of file acc_mod.c.

Referenced by acc_onreq(), and mod_init().

int early_media = 0

should early media replies (183) be logged ? default==no

Definition at line 99 of file acc_mod.c.

Referenced by should_acc_reply().

Definition at line 256 of file acc_mod.c.

should failed replies (>=3xx) be logged ? default==no

Definition at line 103 of file acc_mod.c.

Referenced by mod_init().

struct acc_extra* leg_info = 0

Definition at line 105 of file acc_mod.c.

char* leg_info_str = 0 [static]

multi call-leg support

Definition at line 104 of file acc_mod.c.

Referenced by mod_init().

struct acc_extra* log_extra = 0

Log extra attributes

Definition at line 118 of file acc_mod.c.

char* log_extra_str = 0 [static]

Syslog: log extra variables

Definition at line 117 of file acc_mod.c.

Referenced by mod_init().

int log_facility = LOG_DAEMON

Syslog: log facility that is used

Definition at line 115 of file acc_mod.c.

Referenced by acc_log_request(), main(), and mod_init().

char* log_facility_str = 0 [static]

Syslog: log facility that is used

Definition at line 116 of file acc_mod.c.

Referenced by mod_init().

int log_flag = -1

Definition at line 112 of file acc_mod.c.

Referenced by mod_init().

int log_level = L_NOTICE

Syslog: noisiness level logging facilities are used

Definition at line 114 of file acc_mod.c.

Referenced by acc_log_request().

int log_missed_flag = -1

Definition at line 113 of file acc_mod.c.

Referenced by mod_init(), and on_missed().

param_export_t params[] [static]

int report_ack = 0

report e2e ACKs too

Definition at line 101 of file acc_mod.c.

Referenced by acc_onreq().

int report_cancels = 0

would you like us to report CANCELs from upstream too?

Definition at line 100 of file acc_mod.c.

struct rr_binds rrb

Definition at line 88 of file acc_mod.c.

Referenced by acc_onreq(), and mod_init().

MODULE_VERSION struct tm_binds tmb

TM bind

Definition at line 87 of file acc_mod.c.


Generated on Thu May 17 12:00:34 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6