USRLOC - Usrloc module interface
More...
#include <stdio.h>
#include "ul_mod.h"
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../rpc_lookup.h"
#include "../../timer.h"
#include "../../timer_proc.h"
#include "../../globals.h"
#include "../../ut.h"
#include "../../lib/srutils/sruid.h"
#include "dlist.h"
#include "udomain.h"
#include "urecord.h"
#include "ucontact.h"
#include "ul_mi.h"
#include "ul_rpc.h"
#include "ul_callback.h"
#include "usrloc.h"
Go to the source code of this file.
Functions
Variables
-
str callid_col = str_init(CALLID_COL)
- Name of column containing callid string.
-
str cflags_col = str_init(CFLAGS_COL)
- Name of column containing contact flags.
-
static cmd_export_t cmds []
- Exported functions.
-
str contact_col = str_init(CONTACT_COL)
- Name of column containing contact addresses.
-
str cseq_col = str_init(CSEQ_COL)
- Name of column containing cseq values.
- int db_mode = 0
- Database sync scheme: 0-no db, 1-write through, 2-write back, 3-only db.
-
str db_url = str_init(DEFAULT_DB_URL)
- Database URL.
-
int desc_time_order = 0
- By default do not enable timestamp ordering.
-
str domain_col = str_init(DOMAIN_COL)
- Name of column containing domains.
-
str expires_col = str_init(EXPIRES_COL)
- Name of column containing expires values.
-
str flags_col = str_init(FLAGS_COL)
- Name of column containing internal flags.
-
unsigned int init_flag = 0
- flag to protect against wrong initialization
-
str instance_col = str_init(INSTANCE_COL)
- Name of column containing the SIP instance value.
-
str last_mod_col = str_init(LAST_MOD_COL)
- Name of column containing the last modified date.
-
str methods_col = str_init(METHODS_COL)
- Name of column containing the supported methods.
-
unsigned int nat_bflag = (unsigned int)-1
- nat branch flag
-
static param_export_t params []
- Exported parameters.
-
str path_col = str_init(PATH_COL)
- Name of column containing the Path header.
-
str q_col = str_init(Q_COL)
- Name of column containing q values.
-
str received_col = str_init(RECEIVED_COL)
- Name of column containing transport info of REGISTER.
-
str reg_id_col = str_init(REG_ID_COL)
- Name of column containing the reg-id value.
-
str ruid_col = str_init(RUID_COL)
- Name of column containing record unique id.
-
str sock_col = str_init(SOCK_COL)
- Name of column containing the received socket.
-
int timer_interval = 60
- Timer interval in seconds.
-
int ul_fetch_rows = 2000
- number of rows to fetch from result
-
int ul_locks_no
- number of locks
- int use_domain = 0
- Whether usrloc should use domain part of aor.
-
str user_agent_col = str_init(USER_AGENT_COL)
- Name of column containing user agent string.
-
str user_col = str_init(USER_COL)
- Name of column containing usernames.
Detailed Description
Definition in file modules_k/usrloc/ul_mod.c.
Function Documentation
Variable Documentation