mirror of https://github.com/sipwise/db-schema.git
Change-Id: I42d5ea2931ca855d44318689571ae16ecc3f0a09changes/57/5657/1
parent
4c0616b8fd
commit
188fa2bde8
@ -0,0 +1,8 @@
|
|||||||
|
USE provisioning;
|
||||||
|
set autocommit=0;
|
||||||
|
|
||||||
|
SELECT id FROM voip_preferences WHERE attribute='use_rtpproxy' INTO @pref_id;
|
||||||
|
|
||||||
|
DELETE FROM voip_preferences_enum WHERE preference_id=@pref_id AND value='ice_force_relay_candidates';
|
||||||
|
|
||||||
|
commit;
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
USE provisioning;
|
||||||
|
set autocommit=0;
|
||||||
|
|
||||||
|
SELECT id FROM voip_preferences WHERE attribute='use_rtpproxy' INTO @pref_id;
|
||||||
|
|
||||||
|
INSERT INTO voip_preferences_enum
|
||||||
|
(preference_id, label, value, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, contract_location_pref, default_val)
|
||||||
|
VALUES
|
||||||
|
(@pref_id, 'Always with rtpproxy as ICE relay candidate', 'ice_force_relay_candidates', 1, 1, 1, 1, 0, 0, 0);
|
||||||
|
|
||||||
|
commit;
|
||||||
Loading…
Reference in new issue