use provisioning
set autocommit = 0;

SELECT id INTO @pref_id from voip_preferences where attribute='force_outbound_calls_to_peer';

UPDATE voip_preferences_enum SET label = 'use domain defalut'
WHERE preference_id=@pref_id AND value is NULL;

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

commit;

