diff --git a/db_scripts/diff/15453.down b/db_scripts/diff/15453.down new file mode 100644 index 00000000..92196b4a --- /dev/null +++ b/db_scripts/diff/15453.down @@ -0,0 +1,6 @@ +USE provisioning; +set autocommit = 0; + +DELETE FROM voip_preferences WHERE attribute = "original_sendrecv"; + +commit; diff --git a/db_scripts/diff/15453.up b/db_scripts/diff/15453.up new file mode 100644 index 00000000..a4d5b942 --- /dev/null +++ b/db_scripts/diff/15453.up @@ -0,0 +1,25 @@ +use provisioning; +set autocommit=0; + +insert into voip_preferences + set +voip_preference_groups_id = (select id from voip_preference_groups where name="NAT and Media Flow Control"), +attribute = "original_sendrecv", +label = "Leave media direction attributes in SDP unchanged", +type = 1, +max_occur = 1, +usr_pref = 1, +prof_pref = 0, +dom_pref = 1, +peer_pref = 1, +contract_pref = 0, +contract_location_pref = 0, +dev_pref = 0, +devprof_pref = 0, +internal = 0, +expose_to_customer = 0, +data_type = "boolean", +read_only = 0, +description = "If enabled, the media direction attributes (sendrecv, sendonly, recvonly, inactive) from the original SDP will remain unchanged as they were received"; + +commit;