diff --git a/db_scripts/diff/15294.down b/db_scripts/diff/15294.down new file mode 100644 index 00000000..1bd0f15c --- /dev/null +++ b/db_scripts/diff/15294.down @@ -0,0 +1,4 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'ims_as_context'; +DELETE FROM voip_preference_groups WHERE name = 'IMS Application Server'; diff --git a/db_scripts/diff/15294.up b/db_scripts/diff/15294.up new file mode 100644 index 00000000..48d73a1a --- /dev/null +++ b/db_scripts/diff/15294.up @@ -0,0 +1,18 @@ +USE provisioning; + +INSERT INTO voip_preference_groups VALUES (NULL, 'IMS Application Server'); +SELECT last_insert_id() INTO @vpgid; + +INSERT INTO voip_preferences ( + voip_preference_groups_id, attribute, label, + type, max_occur, + usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, contract_location_pref, + modify_timestamp, internal, expose_to_customer, data_type, read_only, + description +) VALUES ( + @vpgid, 'ims_as_context', 'IMS Subscriber/Domain', + 1, 1, + 1, 0, 1, 0, 0, 0, + now(), 0, 0, 'boolean', 0, + 'Defines whether this subscriber or domain is handled in an IMS application server context, so no direct registrations and calls are possible, but are signalled via an IMS S-CSCF instead' +);