USE provisioning;

SELECT id INTO @pref_id FROM voip_preferences WHERE attribute='cloud_pbx_hunt_policy';

INSERT INTO voip_preferences_enum 
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
VALUES
(@pref_id, 'random', 'random', 1, 0, 0, 0),
(@pref_id, 'circular', 'circular', 1, 0, 0, 0);
 
 