From 1d99fd5f53cd223fec37dbc31e4becddb060fcc6 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 10 Dec 2012 15:38:53 +0000 Subject: [PATCH] more fixing of timestamps --- db_scripts/base/4832.up | 6 ++++-- db_scripts/base/4875.up | 2 +- db_scripts/base/4984.up | 4 ++-- db_scripts/base/5538.up | 2 +- db_scripts/base/5543.up | 4 ++-- db_scripts/base/5603.up | 15 ++++++++------- db_scripts/base/5604.up | 4 ++-- db_scripts/base/5607.up | 2 +- db_scripts/base/5728.up | 6 +++--- db_scripts/base/5737.up | 2 +- db_scripts/base/5800.up | 4 ++-- db_scripts/base/5824.up | 22 +++++++++++----------- db_scripts/base/6254.up | 2 +- db_scripts/base/6346.up | 7 ++++--- db_scripts/base/6459.up | 2 +- db_scripts/diff/10268.up | 4 ++-- db_scripts/diff/7036.up | 4 ++-- db_scripts/diff/7496.up | 4 ++-- db_scripts/diff/9069.up | 4 ++-- db_scripts/diff/9221.up | 4 ++-- db_scripts/diff/9222.up | 4 ++-- db_scripts/diff/9675.up | 2 +- 22 files changed, 57 insertions(+), 53 deletions(-) diff --git a/db_scripts/base/4832.up b/db_scripts/base/4832.up index 0d02bd7d..71a2dcf2 100644 --- a/db_scripts/base/4832.up +++ b/db_scripts/base/4832.up @@ -1,7 +1,9 @@ UPDATE provisioning.voip_preferences - SET attribute = 'peer_auth_user', usr_pref = 1 + SET attribute = 'peer_auth_user', usr_pref = 1, + modify_timestamp = '1970-01-01 00:00:00' WHERE attribute = 'auth_user'; UPDATE provisioning.voip_preferences - SET attribute = 'peer_auth_pass', usr_pref = 1 + SET attribute = 'peer_auth_pass', usr_pref = 1, + modify_timestamp = '1970-01-01 00:00:00' WHERE attribute = 'auth_pass'; diff --git a/db_scripts/base/4875.up b/db_scripts/base/4875.up index f5f7d099..cb8fb591 100644 --- a/db_scripts/base/4875.up +++ b/db_scripts/base/4875.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, data_type, max_occur, description) VALUES('unauth_inbound_calls', 1, 1, 'boolean', 1, 'Allow unauthenticated inbound calls from FOREIGN domain to users within this domain. Use with care - it allows to flood your users with voice spam.'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, data_type, max_occur, description, modify_timestamp) VALUES('unauth_inbound_calls', 1, 1, 'boolean', 1, 'Allow unauthenticated inbound calls from FOREIGN domain to users within this domain. Use with care - it allows to flood your users with voice spam.', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/4984.up b/db_scripts/base/4984.up index 531f8c00..60e690b2 100644 --- a/db_scripts/base/4984.up +++ b/db_scripts/base/4984.up @@ -1,2 +1,2 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, peer_pref, data_type, max_occur, description) - VALUES('peer_auth_realm', 0, 1, 1, 'string', 1, 'A realm used for authentication against the peer host.'); +INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('peer_auth_realm', 0, 1, 1, 'string', 1, 'A realm used for authentication against the peer host.', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5538.up b/db_scripts/base/5538.up index d7d72305..d963742c 100644 --- a/db_scripts/base/5538.up +++ b/db_scripts/base/5538.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, data_type, max_occur, description) VALUES('ignore_userprovided_cli', 1, 1, 1, 'boolean', 1, 'Discard any subscriber provided CLI information'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, data_type, max_occur, description, modify_timestamp) VALUES('ignore_userprovided_cli', 1, 1, 1, 'boolean', 1, 'Discard any subscriber provided CLI information', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5543.up b/db_scripts/base/5543.up index 221a8f67..8f69e5ec 100644 --- a/db_scripts/base/5543.up +++ b/db_scripts/base/5543.up @@ -1,2 +1,2 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('always_use_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Force rtp relay for this peer/domain/user.'); -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('never_use_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Do not use rtp relay for this peer/domain/user. Rtp will be relayed if other participants have always_use_rtpproxy preference enabled.'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('always_use_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Force rtp relay for this peer/domain/user.', '1970-01-01 00:00:00'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('never_use_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Do not use rtp relay for this peer/domain/user. Rtp will be relayed if other participants have always_use_rtpproxy preference enabled.', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5603.up b/db_scripts/base/5603.up index 81df8d96..e48bc9c6 100644 --- a/db_scripts/base/5603.up +++ b/db_scripts/base/5603.up @@ -1,11 +1,12 @@ use provisioning; UPDATE voip_preferences - SET description = 'A realm (hostname) used to identify and for authentication against a peer host.' + SET description = 'A realm (hostname) used to identify and for authentication against a peer host.', + modify_timestamp='1970-01-01 00:00:00' WHERE attribute = 'peer_auth_realm'; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) - VALUES('peer_auth_register', 1, 1, 1, 1, 'boolean', 1, 'Specifies whether registration at the peer host is desired.'); -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) - VALUES('concurrent_max', 1, 1, 1, 1, 'int', 1, 'Maximum number of concurrent sessions (calls) for a subscriber or peer.'); -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) - VALUES('concurrent_max_out', 1, 1, 1, 1, 'int', 1, 'Maximum number of concurrent outgoing sessions (calls) coming from a subscriber or going to a peer.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('peer_auth_register', 1, 1, 1, 1, 'boolean', 1, 'Specifies whether registration at the peer host is desired.', '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('concurrent_max', 1, 1, 1, 1, 'int', 1, 'Maximum number of concurrent sessions (calls) for a subscriber or peer.', '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('concurrent_max_out', 1, 1, 1, 1, 'int', 1, 'Maximum number of concurrent outgoing sessions (calls) coming from a subscriber or going to a peer.', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5604.up b/db_scripts/base/5604.up index 4c5bb10a..542b3884 100644 --- a/db_scripts/base/5604.up +++ b/db_scripts/base/5604.up @@ -1,4 +1,4 @@ use provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, description) - VALUES('allowed_clis', 0, 1, 'string', 0, 'A list of shell patterns specifying which CLIs are allowed to be set by the subscriber. "*", "?" and "[x-y]" with "x" and "y" representing numbers from 0 to 9 may be used as wildcards as usual in shell patterns.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, description, modify_timestamp) + VALUES('allowed_clis', 0, 1, 'string', 0, 'A list of shell patterns specifying which CLIs are allowed to be set by the subscriber. "*", "?" and "[x-y]" with "x" and "y" representing numbers from 0 to 9 may be used as wildcards as usual in shell patterns.', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5607.up b/db_scripts/base/5607.up index e30e6ad6..9aec8bc4 100644 --- a/db_scripts/base/5607.up +++ b/db_scripts/base/5607.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) VALUES('force_to_pstn', 1, 1, 1, 1, 'boolean', 1, 'Force calls from this user/domain/peer to be routed to PSTN even if the callee is local. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!'); +INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('force_to_pstn', 1, 1, 1, 1, 'boolean', 1, 'Force calls from this user/domain/peer to be routed to PSTN even if the callee is local. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5728.up b/db_scripts/base/5728.up index 9efacef5..2061c137 100644 --- a/db_scripts/base/5728.up +++ b/db_scripts/base/5728.up @@ -1,5 +1,5 @@ use provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal) VALUES('account_id', 1, 1, 'int', 1, 1); -INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal) VALUES('ext_contract_id', 0, 1, 'string', 1, 1); -INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal) VALUES('ext_subscriber_id', 0, 1, 'string', 1, 1); +INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal, modify_timestamp) VALUES('account_id', 1, 1, 'int', 1, 1, '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal, modify_timestamp) VALUES('ext_contract_id', 0, 1, 'string', 1, 1, '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal, modify_timestamp) VALUES('ext_subscriber_id', 0, 1, 'string', 1, 1, '1970-01-01 00:00:00'); diff --git a/db_scripts/base/5737.up b/db_scripts/base/5737.up index 8dbf1097..a27e05d6 100644 --- a/db_scripts/base/5737.up +++ b/db_scripts/base/5737.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('find_subscriber_by_auth_user', 1, 0, 0, 1, 'boolean', 1, 'For incoming calls from this peer, find the destination subscriber also using its auth_username used for outbound registration.'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('find_subscriber_by_auth_user', 1, 0, 0, 1, 'boolean', 1, 'For incoming calls from this peer, find the destination subscriber also using its auth_username used for outbound registration., '1970-01-01 00:00:00''); diff --git a/db_scripts/base/5800.up b/db_scripts/base/5800.up index 140bfb21..17eccc9f 100644 --- a/db_scripts/base/5800.up +++ b/db_scripts/base/5800.up @@ -88,8 +88,8 @@ CREATE TRIGGER voip_rwrulesets_drepl_trig BEFORE DELETE ON voip_rewrite_rule_set DELIMITER ; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) - VALUES('rewrite_rule_set', 1, 1, 1, 1, 'int', 1, 'Specifies the list of caller and callee rewrite rules which should be applied for incoming and outgoing calls.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('rewrite_rule_set', 1, 1, 1, 1, 'int', 1, 'Specifies the list of caller and callee rewrite rules which should be applied for incoming and outgoing calls.', '1970-01-01 00:00:00'); -- create rw rules backup for upgrade CREATE TABLE `voip_domain_rewrites_rwsmig` SELECT * FROM `voip_domain_rewrites`; diff --git a/db_scripts/base/5824.up b/db_scripts/base/5824.up index 4972d74d..c0389807 100644 --- a/db_scripts/base/5824.up +++ b/db_scripts/base/5824.up @@ -136,17 +136,17 @@ CREATE TRIGGER voip_rwrulesets_urepl_trig AFTER UPDATE ON voip_rewrite_rule_sets DELIMITER ; DELETE FROM voip_preferences WHERE attribute = 'rewrite_rule_set'; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal, description) - VALUES('rewrite_rule_set', 1, 1, 1, 1, 'int', 1, -1, 'Specifies the list of caller and callee rewrite rules which should be applied for incoming and outgoing calls.'); - -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal) - VALUES('rewrite_caller_in_dpid', 1, 1, 1, 1, 'int', 1, 1); -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal) - VALUES('rewrite_callee_in_dpid', 1, 1, 1, 1, 'int', 1, 1); -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal) - VALUES('rewrite_caller_out_dpid', 1, 1, 1, 1, 'int', 1, 1); -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal) - VALUES('rewrite_callee_out_dpid', 1, 1, 1, 1, 'int', 1, 1); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal, description, modify_timestamp) + VALUES('rewrite_rule_set', 1, 1, 1, 1, 'int', 1, -1, 'Specifies the list of caller and callee rewrite rules which should be applied for incoming and outgoing calls.', '1970-01-01 00:00:00'); + +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal, modify_timestamp) + VALUES('rewrite_caller_in_dpid', 1, 1, 1, 1, 'int', 1, 1, '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal, modify_timestamp) + VALUES('rewrite_callee_in_dpid', 1, 1, 1, 1, 'int', 1, 1, '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal, modify_timestamp) + VALUES('rewrite_caller_out_dpid', 1, 1, 1, 1, 'int', 1, 1, '1970-01-01 00:00:00'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, internal, modify_timestamp) + VALUES('rewrite_callee_out_dpid', 1, 1, 1, 1, 'int', 1, 1, '1970-01-01 00:00:00'); -- restore data from migration tables INSERT INTO voip_rewrite_rule_sets (name,description,caller_in_dpid,callee_in_dpid,caller_out_dpid,callee_out_dpid) diff --git a/db_scripts/base/6254.up b/db_scripts/base/6254.up index 4ed14c9a..ab2ab93d 100644 --- a/db_scripts/base/6254.up +++ b/db_scripts/base/6254.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, data_type, max_occur, description) VALUES('e164_to_ruri', 1, 1, 'boolean', 1, 'Send the E164 number instead of SIP AOR as request username when sending INVITE to the subscriber. If a 404 is received the SIP AOR is sent as request URI as fallback.'); +INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, data_type, max_occur, description, modify_timestamp) VALUES('e164_to_ruri', 1, 1, 'boolean', 1, 'Send the E164 number instead of SIP AOR as request username when sending INVITE to the subscriber. If a 404 is received the SIP AOR is sent as request URI as fallback.', '1970-01-01 00:00:00'); diff --git a/db_scripts/base/6346.up b/db_scripts/base/6346.up index 43c6b500..5bfac04b 100644 --- a/db_scripts/base/6346.up +++ b/db_scripts/base/6346.up @@ -1,9 +1,10 @@ use provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, description) - VALUES('user_cli', 0, 1, 'string', 1, 'E.164 number or complete SIP URI. "user-provided calling line identification" - specifies the source E.164 number or SIP username that is used for outgoing calls. If set, this is put in the SIP "From" header (as user-provided calling number) if a client sends a CLI which is not allowed by "allowed_clis" or if "ignore_userprovided_cli" is set.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, data_type, max_occur, description, modify_timestamp) + VALUES('user_cli', 0, 1, 'string', 1, 'E.164 number or complete SIP URI. "user-provided calling line identification" - specifies the source E.164 number or SIP username that is used for outgoing calls. If set, this is put in the SIP "From" header (as user-provided calling number) if a client sends a CLI which is not allowed by "allowed_clis" or if "ignore_userprovided_cli" is set.', '1970-01-01 00:00:00'); UPDATE voip_preferences - SET description = 'E.164 number or complete SIP URI. "calling line identification" - specifies the source E.164 number or SIP username that is used for outgoing calls in the SIP "From" and "P-Asserted-Identity" headers (as user- and network-provided calling numbers). The content of the "From" header may be overridden by the "user_provided_cli" preference and client (if allowed by the "allowed_clis" preference) SIP signalling. Automatically set to the primary E.164 number specified in the subscriber details.' + SET description = 'E.164 number or complete SIP URI. "calling line identification" - specifies the source E.164 number or SIP username that is used for outgoing calls in the SIP "From" and "P-Asserted-Identity" headers (as user- and network-provided calling numbers). The content of the "From" header may be overridden by the "user_provided_cli" preference and client (if allowed by the "allowed_clis" preference) SIP signalling. Automatically set to the primary E.164 number specified in the subscriber details.', + modify_timestamp = '1970-01-01 00:00:00' WHERE attribute = 'cli'; diff --git a/db_scripts/base/6459.up b/db_scripts/base/6459.up index b478a622..df1bcf4b 100644 --- a/db_scripts/base/6459.up +++ b/db_scripts/base/6459.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal) VALUES('prepaid', 1, 1, 'boolean', 1, 1); +INSERT INTO provisioning.voip_preferences (attribute, type, usr_pref, data_type, max_occur, internal, modify_timestamp) VALUES('prepaid', 1, 1, 'boolean', 1, 1, '1970-01-01 00:00:00'); diff --git a/db_scripts/diff/10268.up b/db_scripts/diff/10268.up index 8d612c67..265a46e6 100644 --- a/db_scripts/diff/10268.up +++ b/db_scripts/diff/10268.up @@ -1,4 +1,4 @@ use provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) - VALUES('extension_in_npn', 1, 1, 1, 0, 'boolean', 1, 'Search for partial match of user-provided number (UPN) to subscriber\'s primary E164 number and aliases. If it mathes, take UPN as valid wihout allowed_clis check and copy UPN to network-provided number (NPN).'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('extension_in_npn', 1, 1, 1, 0, 'boolean', 1, 'Search for partial match of user-provided number (UPN) to subscriber\'s primary E164 number and aliases. If it mathes, take UPN as valid wihout allowed_clis check and copy UPN to network-provided number (NPN).', '1970-01-01 00:00:00'); diff --git a/db_scripts/diff/7036.up b/db_scripts/diff/7036.up index edbcbd88..fe49dd18 100644 --- a/db_scripts/diff/7036.up +++ b/db_scripts/diff/7036.up @@ -1,2 +1,2 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('always_use_ipv4_for_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Always force the IPv4 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv6_for_rtpproxy.'); -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('always_use_ipv6_for_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Always force the IPv6 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv4_for_rtpproxy.'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('always_use_ipv4_for_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Always force the IPv4 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv6_for_rtpproxy.', '1970-01-01 00:00:00'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('always_use_ipv6_for_rtpproxy', 1, 1, 1, 1, 'boolean', 1, 'Always force the IPv6 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv4_for_rtpproxy.', '1970-01-01 00:00:00'); diff --git a/db_scripts/diff/7496.up b/db_scripts/diff/7496.up index a81b3d28..e18cbd2d 100644 --- a/db_scripts/diff/7496.up +++ b/db_scripts/diff/7496.up @@ -1,4 +1,4 @@ use provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) - VALUES('force_inbound_calls_to_peer', 1, 1, 1, 0, 'boolean', 1, 'Force calls to this user to be treated as if the user was not local. This helps in migration scenarios.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) + VALUES('force_inbound_calls_to_peer', 1, 1, 1, 0, 'boolean', 1, 'Force calls to this user to be treated as if the user was not local. This helps in migration scenarios.', '1970-01-01 00:00:00'); diff --git a/db_scripts/diff/9069.up b/db_scripts/diff/9069.up index b0044e61..3cea025f 100644 --- a/db_scripts/diff/9069.up +++ b/db_scripts/diff/9069.up @@ -24,8 +24,8 @@ CREATE TABLE voip_sound_files ( ) ENGINE=InnoDB; -INSERT INTO voip_preferences (attribute, type, max_occur, usr_pref, dom_pref, peer_pref, internal, data_type, read_only, description) - VALUES('sound_set', 1, 1, 1, 1, 0, 0, 'int', 0, 'Soundset'); +INSERT INTO voip_preferences (attribute, type, max_occur, usr_pref, dom_pref, peer_pref, internal, data_type, read_only, description, modify_timestamp) + VALUES('sound_set', 1, 1, 1, 1, 0, 0, 'int', 0, 'Soundset', '1970-01-01 00:00:00'); INSERT INTO language_strings (code, language, string) VALUES ('Server.Voip.SoundSetDeleted', 'en', 'Soundset deleted'); INSERT INTO language_strings (code, language, string) VALUES ('Server.Voip.SoundSetDeleted', 'de', 'Soundset gelöscht'); diff --git a/db_scripts/diff/9221.up b/db_scripts/diff/9221.up index def02cdf..223ca895 100644 --- a/db_scripts/diff/9221.up +++ b/db_scripts/diff/9221.up @@ -1,7 +1,7 @@ USE provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) -VALUES('reject_emergency', 1, 1, 1, 0, 'boolean', 1, 'Reject emergency calls from this user or domain.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) +VALUES('reject_emergency', 1, 1, 1, 0, 'boolean', 1, 'Reject emergency calls from this user or domain.', '1970-01-01 00:00:00'); INSERT INTO voip_sound_handles (name) VALUES ('emergency_unsupported'); diff --git a/db_scripts/diff/9222.up b/db_scripts/diff/9222.up index eef56c4f..09a2b31d 100644 --- a/db_scripts/diff/9222.up +++ b/db_scripts/diff/9222.up @@ -1,4 +1,4 @@ USE provisioning; -INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) -VALUES('emergency_cli', 0, 1, 0, 0, 'string', 1, 'Emergency CLI which can be used in rewrite rules as substitution value.'); +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description, modify_timestamp) +VALUES('emergency_cli', 0, 1, 0, 0, 'string', 1, 'Emergency CLI which can be used in rewrite rules as substitution value.', '1970-01-01 00:00:00'); diff --git a/db_scripts/diff/9675.up b/db_scripts/diff/9675.up index d2e74098..74ca7005 100644 --- a/db_scripts/diff/9675.up +++ b/db_scripts/diff/9675.up @@ -1 +1 @@ -INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('mobile_push_enable', 1, 1, 1, 0, 'boolean', 1, 'Send inbound call to Mobile Push server when called subscriber is not registered. This can not be used together with CFNA as call will be then simply forwarded.'); +INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description, modify_timestamp) VALUES('mobile_push_enable', 1, 1, 1, 0, 'boolean', 1, 'Send inbound call to Mobile Push server when called subscriber is not registered. This can not be used together with CFNA as call will be then simply forwarded.', '1970-01-01 00:00:00');