diff --git a/utils/kamctl/mongodb/kamailio/active_watchers.json b/utils/kamctl/mongodb/kamailio/active_watchers.json index c32b793d063..adc1d27d0d7 100644 --- a/utils/kamctl/mongodb/kamailio/active_watchers.json +++ b/utils/kamctl/mongodb/kamailio/active_watchers.json @@ -1,6 +1,6 @@ { "name": "active_watchers", - "version": 11, + "version": 12, "columns": [ "id": { "type": "int", @@ -126,6 +126,16 @@ "type": "int", "default": null, "null": false + }, + "flags": { + "type": "int", + "default": 0, + "null": false + }, + "user_agent": { + "type": "string", + "default": "", + "null": false } ] } \ No newline at end of file diff --git a/utils/kamctl/mongodb/kamailio/aliases.json b/utils/kamctl/mongodb/kamailio/aliases.json index 72ab2397479..68ca8255841 100644 --- a/utils/kamctl/mongodb/kamailio/aliases.json +++ b/utils/kamctl/mongodb/kamailio/aliases.json @@ -59,7 +59,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false }, "flags": { diff --git a/utils/kamctl/mongodb/kamailio/domain.json b/utils/kamctl/mongodb/kamailio/domain.json index 8470fc83a93..dcfcd6f20c2 100644 --- a/utils/kamctl/mongodb/kamailio/domain.json +++ b/utils/kamctl/mongodb/kamailio/domain.json @@ -19,7 +19,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false } ] diff --git a/utils/kamctl/mongodb/kamailio/domain_attrs.json b/utils/kamctl/mongodb/kamailio/domain_attrs.json index 465f4214111..6ea60ee7b6f 100644 --- a/utils/kamctl/mongodb/kamailio/domain_attrs.json +++ b/utils/kamctl/mongodb/kamailio/domain_attrs.json @@ -29,7 +29,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false } ] diff --git a/utils/kamctl/mongodb/kamailio/grp.json b/utils/kamctl/mongodb/kamailio/grp.json index bb451193898..c5d8887b672 100644 --- a/utils/kamctl/mongodb/kamailio/grp.json +++ b/utils/kamctl/mongodb/kamailio/grp.json @@ -24,7 +24,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false } ] diff --git a/utils/kamctl/mongodb/kamailio/location.json b/utils/kamctl/mongodb/kamailio/location.json index bcd07eb3156..15ac999432c 100644 --- a/utils/kamctl/mongodb/kamailio/location.json +++ b/utils/kamctl/mongodb/kamailio/location.json @@ -59,7 +59,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false }, "flags": { diff --git a/utils/kamctl/mongodb/kamailio/location_attrs.json b/utils/kamctl/mongodb/kamailio/location_attrs.json index 58dc1232e79..61f7900ed7b 100644 --- a/utils/kamctl/mongodb/kamailio/location_attrs.json +++ b/utils/kamctl/mongodb/kamailio/location_attrs.json @@ -39,7 +39,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false } ] diff --git a/utils/kamctl/mongodb/kamailio/rtpengine.json b/utils/kamctl/mongodb/kamailio/rtpengine.json new file mode 100644 index 00000000000..27dbafa343b --- /dev/null +++ b/utils/kamctl/mongodb/kamailio/rtpengine.json @@ -0,0 +1,31 @@ +{ + "name": "rtpengine", + "version": 1, + "columns": [ + "setid": { + "type": "int", + "default": 0, + "null": false + }, + "url": { + "type": "string", + "default": null, + "null": false + }, + "weight": { + "type": "int", + "default": 1, + "null": false + }, + "disabled": { + "type": "int", + "default": 0, + "null": false + }, + "stamp": { + "type": "datetime", + "default": "1900-01-01 00:00:01", + "null": false + } + ] +} \ No newline at end of file diff --git a/utils/kamctl/mongodb/kamailio/sca_subscriptions.json b/utils/kamctl/mongodb/kamailio/sca_subscriptions.json index adb362c8c20..6989282403b 100644 --- a/utils/kamctl/mongodb/kamailio/sca_subscriptions.json +++ b/utils/kamctl/mongodb/kamailio/sca_subscriptions.json @@ -1,6 +1,6 @@ { "name": "sca_subscriptions", - "version": 1, + "version": 2, "columns": [ "id": { "type": "int", @@ -66,6 +66,11 @@ "type": "int", "default": null, "null": false + }, + "server_id": { + "type": "int", + "default": 0, + "null": false } ] } \ No newline at end of file diff --git a/utils/kamctl/mongodb/kamailio/sip_trace.json b/utils/kamctl/mongodb/kamailio/sip_trace.json index c32db4d617d..ca4932cccd4 100644 --- a/utils/kamctl/mongodb/kamailio/sip_trace.json +++ b/utils/kamctl/mongodb/kamailio/sip_trace.json @@ -9,7 +9,7 @@ }, "time_stamp": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false }, "time_us": { diff --git a/utils/kamctl/mongodb/kamailio/subscriber.json b/utils/kamctl/mongodb/kamailio/subscriber.json index c5298332ec5..5cfb8d09a4d 100644 --- a/utils/kamctl/mongodb/kamailio/subscriber.json +++ b/utils/kamctl/mongodb/kamailio/subscriber.json @@ -1,6 +1,6 @@ { "name": "subscriber", - "version": 6, + "version": 7, "columns": [ "id": { "type": "int", @@ -22,11 +22,6 @@ "default": "", "null": false }, - "email_address": { - "type": "string", - "default": "", - "null": false - }, "ha1": { "type": "string", "default": "", @@ -37,6 +32,11 @@ "default": "", "null": false }, + "email_address": { + "type": "string", + "default": null, + "null": true + }, "rpid": { "type": "string", "default": null, diff --git a/utils/kamctl/mongodb/kamailio/topos_d.json b/utils/kamctl/mongodb/kamailio/topos_d.json new file mode 100644 index 00000000000..768ce989ac3 --- /dev/null +++ b/utils/kamctl/mongodb/kamailio/topos_d.json @@ -0,0 +1,126 @@ +{ + "name": "topos_d", + "version": 1, + "columns": [ + "id": { + "type": "int", + "default": null, + "null": false + }, + "rectime": { + "type": "datetime", + "default": null, + "null": false + }, + "s_method": { + "type": "string", + "default": "", + "null": false + }, + "s_cseq": { + "type": "string", + "default": "", + "null": false + }, + "a_callid": { + "type": "string", + "default": "", + "null": false + }, + "a_uuid": { + "type": "string", + "default": "", + "null": false + }, + "b_uuid": { + "type": "string", + "default": "", + "null": false + }, + "a_contact": { + "type": "string", + "default": "", + "null": false + }, + "b_contact": { + "type": "string", + "default": "", + "null": false + }, + "as_contact": { + "type": "string", + "default": "", + "null": false + }, + "bs_contact": { + "type": "string", + "default": "", + "null": false + }, + "a_tag": { + "type": "string", + "default": "", + "null": false + }, + "b_tag": { + "type": "string", + "default": "", + "null": false + }, + "a_rr": { + "type": "text", + "default": null, + "null": true + }, + "b_rr": { + "type": "text", + "default": null, + "null": true + }, + "s_rr": { + "type": "text", + "default": null, + "null": true + }, + "iflags": { + "type": "int", + "default": 0, + "null": false + }, + "a_uri": { + "type": "string", + "default": "", + "null": false + }, + "b_uri": { + "type": "string", + "default": "", + "null": false + }, + "r_uri": { + "type": "string", + "default": "", + "null": false + }, + "a_srcaddr": { + "type": "string", + "default": "", + "null": false + }, + "b_srcaddr": { + "type": "string", + "default": "", + "null": false + }, + "a_socket": { + "type": "string", + "default": "", + "null": false + }, + "b_socket": { + "type": "string", + "default": "", + "null": false + } + ] +} \ No newline at end of file diff --git a/utils/kamctl/mongodb/kamailio/topos_t.json b/utils/kamctl/mongodb/kamailio/topos_t.json new file mode 100644 index 00000000000..d4cf620e754 --- /dev/null +++ b/utils/kamctl/mongodb/kamailio/topos_t.json @@ -0,0 +1,131 @@ +{ + "name": "topos_t", + "version": 1, + "columns": [ + "id": { + "type": "int", + "default": null, + "null": false + }, + "rectime": { + "type": "datetime", + "default": null, + "null": false + }, + "s_method": { + "type": "string", + "default": "", + "null": false + }, + "s_cseq": { + "type": "string", + "default": "", + "null": false + }, + "a_callid": { + "type": "string", + "default": "", + "null": false + }, + "a_uuid": { + "type": "string", + "default": "", + "null": false + }, + "b_uuid": { + "type": "string", + "default": "", + "null": false + }, + "direction": { + "type": "int", + "default": 0, + "null": false + }, + "x_via": { + "type": "text", + "default": null, + "null": true + }, + "x_vbranch": { + "type": "string", + "default": "", + "null": false + }, + "x_rr": { + "type": "text", + "default": null, + "null": true + }, + "y_rr": { + "type": "text", + "default": null, + "null": true + }, + "s_rr": { + "type": "text", + "default": null, + "null": true + }, + "x_uri": { + "type": "string", + "default": "", + "null": false + }, + "a_contact": { + "type": "string", + "default": "", + "null": false + }, + "b_contact": { + "type": "string", + "default": "", + "null": false + }, + "as_contact": { + "type": "string", + "default": "", + "null": false + }, + "bs_contact": { + "type": "string", + "default": "", + "null": false + }, + "x_tag": { + "type": "string", + "default": "", + "null": false + }, + "a_tag": { + "type": "string", + "default": "", + "null": false + }, + "b_tag": { + "type": "string", + "default": "", + "null": false + }, + "a_srcaddr": { + "type": "string", + "default": "", + "null": false + }, + "b_srcaddr": { + "type": "string", + "default": "", + "null": false + }, + "a_socket": { + "type": "string", + "default": "", + "null": false + }, + "b_socket": { + "type": "string", + "default": "", + "null": false + } + ] +} \ No newline at end of file diff --git a/utils/kamctl/mongodb/kamailio/uacreg.json b/utils/kamctl/mongodb/kamailio/uacreg.json index 9cc97ffb01c..4650217559f 100644 --- a/utils/kamctl/mongodb/kamailio/uacreg.json +++ b/utils/kamctl/mongodb/kamailio/uacreg.json @@ -1,6 +1,6 @@ { "name": "uacreg", - "version": 1, + "version": 3, "columns": [ "id": { "type": "int", @@ -47,6 +47,11 @@ "default": "", "null": false }, + "auth_ha1": { + "type": "string", + "default": "", + "null": false + }, "auth_proxy": { "type": "string", "default": "", @@ -56,6 +61,16 @@ "type": "int", "default": 0, "null": false + }, + "flags": { + "type": "int", + "default": 0, + "null": false + }, + "reg_delay": { + "type": "int", + "default": 0, + "null": false } ] } \ No newline at end of file diff --git a/utils/kamctl/mongodb/kamailio/uri.json b/utils/kamctl/mongodb/kamailio/uri.json index eaf3cc39eb9..3bfdd1bb24a 100644 --- a/utils/kamctl/mongodb/kamailio/uri.json +++ b/utils/kamctl/mongodb/kamailio/uri.json @@ -24,7 +24,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false } ] diff --git a/utils/kamctl/mongodb/kamailio/usr_preferences.json b/utils/kamctl/mongodb/kamailio/usr_preferences.json index 1072f256a8a..5efc0ba8de3 100644 --- a/utils/kamctl/mongodb/kamailio/usr_preferences.json +++ b/utils/kamctl/mongodb/kamailio/usr_preferences.json @@ -39,7 +39,7 @@ }, "last_modified": { "type": "datetime", - "default": "1900-01-01 00:00:01", + "default": "2000-01-01 00:00:01", "null": false } ] diff --git a/utils/kamctl/mongodb/kamailio/version-create.mongo b/utils/kamctl/mongodb/kamailio/version-create.mongo index e59b9687a60..527d483c6ca 100644 --- a/utils/kamctl/mongodb/kamailio/version-create.mongo +++ b/utils/kamctl/mongodb/kamailio/version-create.mongo @@ -2,7 +2,7 @@ use kamailio; db.createCollection("version"); db.getCollection("version").insert({ table_name: "acc", table_version: NumberInt(5) }); db.getCollection("version").insert({ table_name: "acc_cdrs", table_version: NumberInt(2) }); -db.getCollection("version").insert({ table_name: "active_watchers", table_version: NumberInt(11) }); +db.getCollection("version").insert({ table_name: "active_watchers", table_version: NumberInt(12) }); db.getCollection("version").insert({ table_name: "address", table_version: NumberInt(6) }); db.getCollection("version").insert({ table_name: "aliases", table_version: NumberInt(8) }); db.getCollection("version").insert({ table_name: "carrier_name", table_version: NumberInt(1) }); @@ -47,13 +47,13 @@ db.getCollection("version").insert({ table_name: "re_grp", table_version: Number db.getCollection("version").insert({ table_name: "rls_presentity", table_version: NumberInt(1) }); db.getCollection("version").insert({ table_name: "rls_watchers", table_version: NumberInt(3) }); db.getCollection("version").insert({ table_name: "rtpproxy", table_version: NumberInt(1) }); -db.getCollection("version").insert({ table_name: "sca_subscriptions", table_version: NumberInt(1) }); +db.getCollection("version").insert({ table_name: "sca_subscriptions", table_version: NumberInt(2) }); db.getCollection("version").insert({ table_name: "silo", table_version: NumberInt(8) }); db.getCollection("version").insert({ table_name: "sip_trace", table_version: NumberInt(4) }); db.getCollection("version").insert({ table_name: "speed_dial", table_version: NumberInt(2) }); -db.getCollection("version").insert({ table_name: "subscriber", table_version: NumberInt(6) }); +db.getCollection("version").insert({ table_name: "subscriber", table_version: NumberInt(7) }); db.getCollection("version").insert({ table_name: "trusted", table_version: NumberInt(6) }); -db.getCollection("version").insert({ table_name: "uacreg", table_version: NumberInt(1) }); +db.getCollection("version").insert({ table_name: "uacreg", table_version: NumberInt(3) }); db.getCollection("version").insert({ table_name: "uid_credentials", table_version: NumberInt(7) }); db.getCollection("version").insert({ table_name: "uid_domain", table_version: NumberInt(2) }); db.getCollection("version").insert({ table_name: "uid_domain_attrs", table_version: NumberInt(1) });