Module: sip-router
Branch: master
Commit: c6307d733d4d346e29cb20bacca1080ba3805495
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c6307d7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Dec 28 11:00:59 2010 +0100
kamctl: added db_berkeley table definitions for lcr
- reported by Noa Resare
---
utils/kamctl/db_berkeley/kamailio/lcr_gw | 12 ++++++++++++
utils/kamctl/db_berkeley/kamailio/lcr_rule | 12 ++++++++++++
utils/kamctl/db_berkeley/kamailio/lcr_rule_target | 12 ++++++++++++
3 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/utils/kamctl/db_berkeley/kamailio/lcr_gw
b/utils/kamctl/db_berkeley/kamailio/lcr_gw
new file mode 100644
index 0000000..00df7e4
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/lcr_gw
@@ -0,0 +1,12 @@
+METADATA_COLUMNS
+id(int) lcr_id(int) gw_name(str) ip_addr(str) hostname(str) port(int) params(str)
uri_scheme(int) transport(int) strip(int) tag(str) flags(int) defunct(int)
+METADATA_KEY
+2
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|NIL|NIL|NIL|NIL|NIL|NIL|NIL|NIL|NIL|NULL|0|NULL
+lcr_gw|
+lcr_gw|1
diff --git a/utils/kamctl/db_berkeley/kamailio/lcr_rule
b/utils/kamctl/db_berkeley/kamailio/lcr_rule
new file mode 100644
index 0000000..dd53806
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/lcr_rule
@@ -0,0 +1,12 @@
+METADATA_COLUMNS
+id(int) lcr_id(int) prefix(str) from_uri(str) stopper(int) enabled(int)
+METADATA_KEY
+2
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|NIL|NULL|NULL|0|1
+lcr_rule|
+lcr_rule|1
diff --git a/utils/kamctl/db_berkeley/kamailio/lcr_rule_target
b/utils/kamctl/db_berkeley/kamailio/lcr_rule_target
new file mode 100644
index 0000000..927e537
--- /dev/null
+++ b/utils/kamctl/db_berkeley/kamailio/lcr_rule_target
@@ -0,0 +1,12 @@
+METADATA_COLUMNS
+id(int) lcr_id(int) rule_id(int) gw_id(int) priority(int) weight(int)
+METADATA_KEY
+
+METADATA_READONLY
+0
+METADATA_LOGFLAGS
+0
+METADATA_DEFAULTS
+NIL|NIL|NIL|NIL|NIL|1
+lcr_rule_target|
+lcr_rule_target|1