USE provisioning;

SELECT id FROM voip_preferences WHERE attribute='force_outbound_calls_to_peer' INTO @fop_pref_id;
INSERT INTO voip_preferences_enum
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
VALUES
(@fop_pref_id, 'If callee is not local', 'force_nonlocal', 0, 0, 1, 0);

UPDATE voip_preferences SET label='Force outbound calls from user or peer to peer'
 WHERE attribute='force_outbound_calls_to_peer';
