diff --git a/db_scripts/diff/15356.down b/db_scripts/diff/15356.down new file mode 100644 index 00000000..1005368a --- /dev/null +++ b/db_scripts/diff/15356.down @@ -0,0 +1,3 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'set_moh_zeroconnection'; diff --git a/db_scripts/diff/15356.up b/db_scripts/diff/15356.up new file mode 100644 index 00000000..4eaca188 --- /dev/null +++ b/db_scripts/diff/15356.up @@ -0,0 +1,13 @@ +USE provisioning; +set autocommit = 0; + +SELECT id INTO @vpgid FROM voip_preference_groups WHERE name = 'NAT and Media Flow Control'; + +INSERT INTO voip_preferences (id, voip_preference_groups_id, attribute, label, type, max_occur, +usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, +expose_to_customer, data_type, read_only, description) VALUES + (NULL, @vpgid, 'set_moh_zeroconnection', 'MoH zero connection', 0, 1, 1, 0, 1, 1, 0, now(), 0, 1, + 'boolean', 0, 'Subscriber put on hold is notified with SDP field c containing 0.0.0.0 in reINVITE.' + ); + +commit;