From 415c8faca166290b4cc74e49251982adf25a9f4d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 1 Apr 2020 10:10:09 -0400 Subject: [PATCH] TT#78501 add additional T.38 options Change-Id: I6b72f82b45fe0607bbd4d39e3f829afda7dcd6e2 --- db_scripts/diff/15599.down | 9 +++ db_scripts/diff/15599.up | 146 +++++++++++++++++++++++++++++++++++++ 2 files changed, 155 insertions(+) create mode 100644 db_scripts/diff/15599.down create mode 100644 db_scripts/diff/15599.up diff --git a/db_scripts/diff/15599.down b/db_scripts/diff/15599.down new file mode 100644 index 00000000..2e9f67b5 --- /dev/null +++ b/db_scripts/diff/15599.down @@ -0,0 +1,9 @@ +use provisioning; +DELETE FROM voip_preferences WHERE attribute IN ( +'T38_no_ECM', +'T38_no_V17', +'T38_no_V27ter', +'T38_no_V29', +'T38_no_V34', +'T38_no_IAF', +'T38_FEC'); diff --git a/db_scripts/diff/15599.up b/db_scripts/diff/15599.up new file mode 100644 index 00000000..52cbd978 --- /dev/null +++ b/db_scripts/diff/15599.up @@ -0,0 +1,146 @@ +USE provisioning; +SET autocommit=0; + +SELECT id INTO @pgid FROM voip_preference_groups WHERE name = 'Media Codec Transcoding Options'; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_no_ECM", + label = "T.38: Disable ECM support", + type = 0, + 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 = "When using the T.38 gateway, do not advertise support for, and do not negotiate, T.30 ECM (error correction mode). Support for ECM is enabled by default."; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_no_V17", + label = "T.38: Disable V.17 support", + type = 0, + 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 = "When using the T.38 gateway, do not support the V.17 fax modem protocol (12.0 and 14.4 kbit/s). Support for V.17 is enabled by default."; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_no_V27ter", + label = "T.38: Disable V.27ter support", + type = 0, + 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 = "When using the T.38 gateway, do not support the V.27ter fax modem protocol (2.4 and 4.8 kbit/s half-duplex). Support for V.27ter is enabled by default."; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_no_V29", + label = "T.38: Disable V.29 support", + type = 0, + 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 = "When using the T.38 gateway, do not support the V.29 fax modem protocol (between 4.8 and 9.6 kbit/s). Support for V.29 is enabled by default."; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_no_V34", + label = "T.38: Disable V.34 support", + type = 0, + 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 = "When using the T.38 gateway, do not support the V.34 fax modem protocol (up to 33.8 kbit/s). Support for V.34 is enabled by default."; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_no_IAF", + label = "T.38: Disable IAF support", + type = 0, + 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 = "When using the T.38 gateway, do not support the IAF fax protocol (Internet-Aware Fax). Support for IAF is enabled by default."; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @pgid, + attribute = "T38_FEC", + label = "T.38: Use FEC", + type = 0, + 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 = "When using the T.38 gateway, use UDPTL FEC (forward error correction) instead of the default UDPTL redundancy protocol. This is only useful in combination with T38_force as this is a negotiated parameter."; + +COMMIT;