瀏覽代碼

- dbtext database template (auto-generated from XML db description)

Jan Janak 20 年之前
父節點
當前提交
04028dd6e6

+ 1 - 0
scripts/dbtext/ser_db/acc

@@ -0,0 +1 @@
+id(int,auto) from_uid(str,null) to_uid(str,null) to_did(str,null) from_did(str,null) sip_from(str,null) sip_to(str,null) sip_status(str,null) sip_method(str,null) in_ruri(str,null) out_ruri(str,null) from_uri(str,null) to_uri(str,null) sip_callid(str,null) sip_cseq(int,null) digest_username(str,null) digest_realm(str,null) from_tag(str,null) to_tag(str,null) src_ip(int,null) src_port(int,null) request_timestamp(int) response_timestamp(int) flags(int) attrs(str,null) 

+ 1 - 0
scripts/dbtext/ser_db/attr_types

@@ -0,0 +1 @@
+name(str) rich_type(str) raw_type(int) type_spec(str,null) 

+ 1 - 0
scripts/dbtext/ser_db/credentials

@@ -0,0 +1 @@
+auth_username(str) realm(str) password(str) flags(int) ha1(str) ha1b(str) uid(str) 

+ 1 - 0
scripts/dbtext/ser_db/domain

@@ -0,0 +1 @@
+did(str) domain(str) last_modified(int) flags(int) 

+ 1 - 0
scripts/dbtext/ser_db/domain_attrs

@@ -0,0 +1 @@
+did(str,null) name(str) type(int) value(str,null) flags(int) 

+ 1 - 0
scripts/dbtext/ser_db/global_attrs

@@ -0,0 +1 @@
+name(str) type(int) value(str,null) flags(int) 

+ 1 - 0
scripts/dbtext/ser_db/gw

@@ -0,0 +1 @@
+gw_name(str) ip_addr(int) port(int,null) uri_scheme(int,null) transport(int,null) grp_id(int) 

+ 1 - 0
scripts/dbtext/ser_db/gw_grp

@@ -0,0 +1 @@
+grp_id(int,auto) grp_name(str) 

+ 1 - 0
scripts/dbtext/ser_db/lcr

@@ -0,0 +1 @@
+prefix(str) from_uri(str) grp_id(int,null) priority(int,null) 

+ 1 - 0
scripts/dbtext/ser_db/location

@@ -0,0 +1 @@
+uid(str) contact(str) received(str,null) expires(int) q(double) callid(str,null) cseq(int,null) flags(int) user_agent(str,null) 

+ 1 - 0
scripts/dbtext/ser_db/missed_calls

@@ -0,0 +1 @@
+id(int,auto) from_uid(str,null) to_uid(str,null) to_did(str,null) from_did(str,null) sip_from(str,null) sip_to(str,null) sip_status(str,null) sip_method(str,null) inbound_ruri(str,null) outbound_ruri(str,null) from_uri(str,null) to_uri(str,null) sip_callid(str,null) sip_cseq(int,null) digest_username(str,null) digest_realm(str,null) from_tag(str,null) to_tag(str,null) request_timestamp(int) response_timestamp(int) flags(int) attrs(str,null) 

+ 1 - 0
scripts/dbtext/ser_db/phonebook

@@ -0,0 +1 @@
+id(int,auto) uid(str) fname(str,null) lname(str,null) sip_uri(str) 

+ 1 - 0
scripts/dbtext/ser_db/sd_attrs

@@ -0,0 +1 @@
+id(str) name(str) value(str,null) type(int) flags(int) 

+ 1 - 0
scripts/dbtext/ser_db/server_monitoring

@@ -0,0 +1 @@
+time(int) id(int) param(str) value(int) increment(int) 

+ 1 - 0
scripts/dbtext/ser_db/server_monitoring_agg

@@ -0,0 +1 @@
+param(str) s_value(int) s_increment(int) last_aggregated_increment(int) av(double) mv(int) ad(double) lv(int) min_val(int) max_val(int) min_inc(int) max_inc(int) lastupdate(int) 

+ 1 - 0
scripts/dbtext/ser_db/silo

@@ -0,0 +1 @@
+mid(int,auto) src_addr(str) dst_addr(str) r_uri(str) uid(str) inc_time(int) exp_time(int) ctype(str) body(str) 

+ 1 - 0
scripts/dbtext/ser_db/speed_dial

@@ -0,0 +1 @@
+id(int,auto) uid(str) dial_username(str) dial_did(str) new_uri(str) 

+ 1 - 0
scripts/dbtext/ser_db/trusted

@@ -0,0 +1 @@
+src_ip(str) proto(str) from_pattern(str) 

+ 1 - 0
scripts/dbtext/ser_db/uri

@@ -0,0 +1 @@
+uid(str) did(str) username(str) flags(int) 

+ 1 - 0
scripts/dbtext/ser_db/user_attrs

@@ -0,0 +1 @@
+uid(str) name(str) value(str,null) type(int) flags(int) 

+ 21 - 0
scripts/dbtext/ser_db/version

@@ -0,0 +1,21 @@
+table_name(str) table_version(int) 
+acc:3
+missed_calls:3
+location:8
+credentials:6
+domain:2
+attr_types:1
+global_attrs:1
+domain_attrs:1
+user_attrs:3
+phonebook:1
+silo:3
+uri:2
+server_monitoring:1
+trusted:1
+server_monitoring_agg:1
+speed_dial:2
+sd_attrs:1
+gw:2
+gw_grp:2
+lcr:1