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 531cc5c14d)
mr10.1
Richard Fuchs 3 years ago
parent 1a9385b14e
commit a6c5bfb8c6

@ -0,0 +1,10 @@
USE provisioning;
UPDATE voip_preferences SET type = 1 WHERE attribute = 'transcode_dtmf';
UPDATE voip_preferences SET type = 1 WHERE attribute = 'transcode_cn';
USE kamailio;
UPDATE usr_preferences SET type = 1 WHERE attribute = 'transcode_dtmf';
UPDATE usr_preferences SET type = 1 WHERE attribute = 'transcode_cn';
UPDATE dom_preferences SET type = 1 WHERE attribute = 'transcode_dtmf';
UPDATE dom_preferences SET type = 1 WHERE attribute = 'transcode_cn';
UPDATE peer_preferences SET type = 1 WHERE attribute = 'transcode_dtmf';
UPDATE peer_preferences SET type = 1 WHERE attribute = 'transcode_cn';

@ -0,0 +1,10 @@
USE provisioning;
UPDATE voip_preferences SET type = 0 WHERE attribute = 'transcode_dtmf';
UPDATE voip_preferences SET type = 0 WHERE attribute = 'transcode_cn';
USE kamailio;
UPDATE usr_preferences SET type = 0 WHERE attribute = 'transcode_dtmf';
UPDATE usr_preferences SET type = 0 WHERE attribute = 'transcode_cn';
UPDATE dom_preferences SET type = 0 WHERE attribute = 'transcode_dtmf';
UPDATE dom_preferences SET type = 0 WHERE attribute = 'transcode_cn';
UPDATE peer_preferences SET type = 0 WHERE attribute = 'transcode_dtmf';
UPDATE peer_preferences SET type = 0 WHERE attribute = 'transcode_cn';
Loading…
Cancel
Save