From 747d9f06cee2c8a642a765e2037d6520c7179d43 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 29 Dec 2020 15:10:40 -0500 Subject: [PATCH] TT#100602 add transcode flags for CN payload type Change-Id: I4bf95b827ca9f7e0faff75ba9acd44b2970ddddb --- db_scripts/diff/15652.down | 6 ++++++ db_scripts/diff/15652.up | 25 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 db_scripts/diff/15652.down create mode 100644 db_scripts/diff/15652.up diff --git a/db_scripts/diff/15652.down b/db_scripts/diff/15652.down new file mode 100644 index 00000000..1ef5dd11 --- /dev/null +++ b/db_scripts/diff/15652.down @@ -0,0 +1,6 @@ +USE provisioning; +set autocommit = 0; + +DELETE FROM voip_preferences WHERE attribute = "transcode_cn"; + +commit; diff --git a/db_scripts/diff/15652.up b/db_scripts/diff/15652.up new file mode 100644 index 00000000..8053261d --- /dev/null +++ b/db_scripts/diff/15652.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="Media Codec Transcoding Options"), +attribute = "transcode_cn", +label = "Transcode to comfort noise payload", +type = 1, +max_occur = 1, +usr_pref = 1, +prof_pref = 1, +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 = "Enable detection of silence in received RTP audio and transcode to CN (comfort noise) RTP packets if supported by the peer."; + +commit;