diff --git a/db_scripts/diff/15255.down b/db_scripts/diff/15255.down new file mode 100644 index 00000000..ed54f0b9 --- /dev/null +++ b/db_scripts/diff/15255.down @@ -0,0 +1,3 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'set_moh_sendonly'; diff --git a/db_scripts/diff/15255.up b/db_scripts/diff/15255.up new file mode 100644 index 00000000..aeead75b --- /dev/null +++ b/db_scripts/diff/15255.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_sendonly', 'MoH sendonly', 0, 1, 1, 0, 1, 1, 0, now(), 0, 1, + 'boolean', 0, 'Subscriber put on hold is notified with a=sendonly in reINVITE.' + ); + +commit;