From e24207b602ee406d452163deab43cf788585cb92 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 16 Dec 2021 10:23:15 -0500 Subject: [PATCH] TT#58659 fix transcode_dtmf/cn pref type All "transcode" preferences are listed as type "0" in the DB except for DTMF and CN which are listed as "1". The LUA/Kamailio scripts fail to include tyoe "1" preferences in the list of flags given to rtpengine. Change the type to "0" to fix. Change-Id: I38f0d9f1394e07b190f1bd196ac85f456017ae6f (cherry picked from commit dd72e1284e162687de216365676da6be7d3c0603) --- db_scripts/diff/15709.down | 4 ++++ db_scripts/diff/15709.up | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 db_scripts/diff/15709.down create mode 100644 db_scripts/diff/15709.up diff --git a/db_scripts/diff/15709.down b/db_scripts/diff/15709.down new file mode 100644 index 00000000..5d888624 --- /dev/null +++ b/db_scripts/diff/15709.down @@ -0,0 +1,4 @@ +USE provisioning; +UPDATE voip_preferences SET type = 1 WHERE attribute = 'transcode_dtmf'; +UPDATE voip_preferences SET type = 1 WHERE attribute = 'transcode_cn'; +COMMIT; diff --git a/db_scripts/diff/15709.up b/db_scripts/diff/15709.up new file mode 100644 index 00000000..353d35b1 --- /dev/null +++ b/db_scripts/diff/15709.up @@ -0,0 +1,4 @@ +USE provisioning; +UPDATE voip_preferences SET type = 0 WHERE attribute = 'transcode_dtmf'; +UPDATE voip_preferences SET type = 0 WHERE attribute = 'transcode_cn'; +COMMIT;