TT#65072 Add convert_dtmf_info subscriber's preference

The preference allows to enable the conversion of SIP INFO messages
containing application/dtmf-relay or application/dtmf payloads to
RFC DTMF events.
Added note that the feature is restricted to internal generated
INFO messages and it will not detect and convert exetrnal generated
INFO messages.

Change-Id: I02b5a72f3f5c1c5dfc1e5ed8a8746013ef9a1901
changes/75/33975/3
Marco Capetta 7 years ago
parent 17f32a0c0b
commit 9726b52946

@ -0,0 +1,6 @@
USE provisioning;
set autocommit = 0;
DELETE FROM voip_preferences WHERE attribute = "convert_dtmf_info";
commit;

@ -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 = "convert_dtmf_info",
label = "Convert DTMF INFO to RFC DTMF events",
type = 1,
max_occur = 1,
usr_pref = 1,
prof_pref = 1,
dom_pref = 1,
peer_pref = 0,
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 = "Convert SIP INFO messages containing application/dtmf-relay or application/dtmf payloads to RFC DTMF events. ATTENTION: for internal use only, external generated INFO messages will be not converted but passed through.";
commit;
Loading…
Cancel
Save