mirror of https://github.com/sipwise/db-schema.git
Change-Id: Ia0951867527f2b4d5fb65941fcd821ea77692edechanges/34/7034/3
parent
54ce8a0f7f
commit
f7af03129e
@ -0,0 +1,7 @@
|
||||
USE provisioning;
|
||||
set autocommit = 0;
|
||||
|
||||
DELETE FROM voip_preferences WHERE attribute = "codecs_filter";
|
||||
|
||||
commit;
|
||||
|
@ -0,0 +1,13 @@
|
||||
USE provisioning;
|
||||
set autocommit = 0;
|
||||
|
||||
SELECT id INTO @vpgid FROM voip_preference_groups WHERE name = 'NAT and Media Flow Control';
|
||||
|
||||
INSERT INTO voip_preferences (id, voip_preference_groups_id, attribute, label, type, max_occur,
|
||||
usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal,
|
||||
expose_to_customer, data_type, read_only, description) VALUES
|
||||
(NULL, @vpgid, 'codecs_filter', 'Codecs filter', 0, 1, 1, 0, 1, 1, 0, now(), 0, 1,
|
||||
'boolean', 0, 'Switch between blacklisting (bl) or whitelisting (wl) of codecs listed in codecs_list (1 for wl, 0 bl).'
|
||||
);
|
||||
|
||||
commit;
|
@ -0,0 +1,6 @@
|
||||
USE provisioning;
|
||||
set autocommit = 0;
|
||||
|
||||
DELETE FROM voip_preferences WHERE attribute = "codecs_list";
|
||||
|
||||
commit;
|
@ -0,0 +1,13 @@
|
||||
USE provisioning;
|
||||
set autocommit = 0;
|
||||
|
||||
SELECT id INTO @vpgid FROM voip_preference_groups WHERE name = 'NAT and Media Flow Control';
|
||||
|
||||
INSERT INTO voip_preferences (id, voip_preference_groups_id, attribute, label, type, max_occur,
|
||||
usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal,
|
||||
expose_to_customer, data_type, read_only, description) VALUES
|
||||
(NULL, @vpgid, 'codecs_list', 'Codecs list', 0, 1, 1, 0, 1, 1, 0, now(), 0, 1,
|
||||
'string', 0, 'List of audio and video codecs to whitelist or blacklist. Valid codecs names are G722, PCMU, PCMA, speex, GSM, G723, DVI4, L16, QCELP, CN, MPA, G728, DVI4, G729, AMR, opus, telephone-event, CelB, JPEG, H261, H263, H263-1998, MPV, MP2T, nv, vp8, vp9 and h264.'
|
||||
);
|
||||
|
||||
commit;
|
Loading…
Reference in new issue