mirror of https://github.com/sipwise/db-schema.git
Change-Id: I6b72f82b45fe0607bbd4d39e3f829afda7dcd6e2changes/14/39014/1
parent
9a8dc1fdb8
commit
415c8faca1
@ -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');
|
@ -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;
|
Loading…
Reference in new issue