Module: sip-router
Branch: master
Commit: fa8f83381ad7f5c2d4fd7e9da54eae3cd9533588
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fa8f833…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Mon Jan 18 12:49:57 2010 +0100
db scheme(k): add missing d_routing database definitions for dbtext and db_berkeley
---
utils/kamctl/db_berkeley/kamailio/dr_gateways | 10 ++++++++++
utils/kamctl/db_berkeley/kamailio/dr_groups | 10 ++++++++++
utils/kamctl/db_berkeley/kamailio/dr_gw_lists | 10 ++++++++++
utils/kamctl/db_berkeley/kamailio/dr_rules | 10 ++++++++++
utils/kamctl/dbtext/kamailio/dr_gateways | 1 +
utils/kamctl/dbtext/kamailio/dr_groups | 1 +
utils/kamctl/dbtext/kamailio/dr_gw_lists | 1 +
utils/kamctl/dbtext/kamailio/dr_rules | 1 +
8 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/utils/kamctl/db_berkeley/kamailio/dr_gateways
b/utils/kamctl/db_berkeley/kamailio/dr_gateways
new file mode 100644
index 0000000..168ea1c
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/dr_gateways
@@ -0,0 +1,10 @@
+METADATA_COLUMNS
+gwid(int) type(int) address(str) strip(int) pri_prefix(str) attrs(str) description(str)
+METADATA_KEY
+
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|0|NIL|0|NULL|NULL|''
diff --git a/utils/kamctl/db_berkeley/kamailio/dr_groups
b/utils/kamctl/db_berkeley/kamailio/dr_groups
new file mode 100644
index 0000000..c56ff39
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/dr_groups
@@ -0,0 +1,10 @@
+METADATA_COLUMNS
+id(int) username(str) domain(str) groupid(int) description(str)
+METADATA_KEY
+
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|NIL|''|0|''
diff --git a/utils/kamctl/db_berkeley/kamailio/dr_gw_lists
b/utils/kamctl/db_berkeley/kamailio/dr_gw_lists
new file mode 100644
index 0000000..702a7dd
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/dr_gw_lists
@@ -0,0 +1,10 @@
+METADATA_COLUMNS
+id(int) gwlist(str) description(str)
+METADATA_KEY
+
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|NIL|''
diff --git a/utils/kamctl/db_berkeley/kamailio/dr_rules
b/utils/kamctl/db_berkeley/kamailio/dr_rules
new file mode 100644
index 0000000..69cceb3
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/dr_rules
@@ -0,0 +1,10 @@
+METADATA_COLUMNS
+ruleid(int) groupid(str) prefix(str) timerec(str) priority(int) routeid(str) gwlist(str)
description(str)
+METADATA_KEY
+
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|NIL|NIL|NIL|0|NIL|NIL|''
diff --git a/utils/kamctl/dbtext/kamailio/dr_gateways
b/utils/kamctl/dbtext/kamailio/dr_gateways
new file mode 100644
index 0000000..6a6a8df
--- /dev/null
+++ b/utils/kamctl/dbtext/kamailio/dr_gateways
@@ -0,0 +1 @@
+gwid(int,auto) type(int) address(string) strip(int) pri_prefix(string,null)
attrs(string,null) description(string)
diff --git a/utils/kamctl/dbtext/kamailio/dr_groups
b/utils/kamctl/dbtext/kamailio/dr_groups
new file mode 100644
index 0000000..cf63276
--- /dev/null
+++ b/utils/kamctl/dbtext/kamailio/dr_groups
@@ -0,0 +1 @@
+id(int,auto) username(string) domain(string) groupid(int) description(string)
diff --git a/utils/kamctl/dbtext/kamailio/dr_gw_lists
b/utils/kamctl/dbtext/kamailio/dr_gw_lists
new file mode 100644
index 0000000..21070b5
--- /dev/null
+++ b/utils/kamctl/dbtext/kamailio/dr_gw_lists
@@ -0,0 +1 @@
+id(int,auto) gwlist(string) description(string)
diff --git a/utils/kamctl/dbtext/kamailio/dr_rules
b/utils/kamctl/dbtext/kamailio/dr_rules
new file mode 100644
index 0000000..1068264
--- /dev/null
+++ b/utils/kamctl/dbtext/kamailio/dr_rules
@@ -0,0 +1 @@
+ruleid(int,auto) groupid(string) prefix(string) timerec(string) priority(int)
routeid(string) gwlist(string) description(string)