You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/9312.up

57 lines
2.9 KiB

USE provisioning;
INSERT INTO voip_preferences
(attribute, type, max_occur, usr_pref, dom_pref, peer_pref, modify_timestamp, internal, data_type, read_only, description)
VALUES
('outbound_from_user', 0, 1, 1, 1, 1, '1970-01-01 00:00:00', 0, 'enum', 0, 'The content to put into the From username for outbound calls');
SELECT last_insert_id() INTO @pref_id;
INSERT INTO voip_preferences_enum
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
VALUES
(@pref_id, 'Network-Provided-Number', NULL, 1, 1, 1, 1),
(@pref_id, 'User-Provided-Number', 'upn', 1, 1, 1, 0),
(@pref_id, 'Authentication-User', 'auth_user', 1, 1, 1, 0),
(@pref_id, 'Received Display-name', 'rcv_display', 1, 1, 1, 0);
INSERT INTO voip_preferences
(attribute, type, max_occur, usr_pref, dom_pref, peer_pref, modify_timestamp, internal, data_type, read_only, description)
VALUES
('outbound_from_display', 0, 1, 1, 1, 1, '1970-01-01 00:00:00', 0, 'enum', 0, 'The content to put into the From display-name for outbound calls');
SELECT last_insert_id() INTO @pref_id;
INSERT INTO voip_preferences_enum
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
VALUES
(@pref_id, 'None', NULL, 1, 1, 1, 1),
(@pref_id, 'Network-Provided-Number', 'npn', 1, 1, 1, 0),
(@pref_id, 'User-Provided-Number', 'upn', 1, 1, 1, 0),
(@pref_id, 'Authentication-User', 'auth_user', 1, 1, 1, 0),
(@pref_id, 'Received Display-name', 'rcv_display', 1, 1, 1, 0);
INSERT INTO voip_preferences
(attribute, type, max_occur, usr_pref, dom_pref, peer_pref, modify_timestamp, internal, data_type, read_only, description)
VALUES
('outbound_pai_user', 0, 1, 1, 1, 1, '1970-01-01 00:00:00', 0, 'enum', 0, 'The content to put into the P-Asserted-Identity username for outbound calls (use "None" to not set header at all)');
SELECT last_insert_id() INTO @pref_id;
INSERT INTO voip_preferences_enum
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
VALUES
(@pref_id, 'None', NULL, 1, 1, 1, 1),
(@pref_id, 'Network-Provided-Number', 'npn', 1, 1, 1, 0),
(@pref_id, 'User-Provided-Number', 'upn', 1, 1, 1, 0),
(@pref_id, 'Authentication-User', 'auth_user', 1, 1, 1, 0),
(@pref_id, 'Received Display-name', 'rcv_display', 1, 1, 1, 0);
INSERT INTO voip_preferences
(attribute, type, max_occur, usr_pref, dom_pref, peer_pref, modify_timestamp, internal, data_type, read_only, description)
VALUES
('outbound_ppi_user', 0, 1, 1, 1, 1, '1970-01-01 00:00:00', 0, 'enum', 0, 'The content to put into the P-Preferred-Identity username for outbound calls (use "None" to not set header at all)');
SELECT last_insert_id() INTO @pref_id;
INSERT INTO voip_preferences_enum
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
VALUES
(@pref_id, 'None', NULL, 1, 1, 1, 1),
(@pref_id, 'Network-Provided-Number', 'npn', 1, 1, 1, 0),
(@pref_id, 'User-Provided-Number', 'upn', 1, 1, 1, 0),
(@pref_id, 'Authentication-User', 'auth_user', 1, 1, 1, 0),
(@pref_id, 'Received Display-name', 'rcv_display', 1, 1, 1, 0);