mirror of https://github.com/sipwise/db-schema.git
10 lines
309 B
10 lines
309 B
SET autocommit=0;
|
|
USE provisioning;
|
|
|
|
SELECT id INTO @pref_id FROM provisioning.voip_preferences WHERE attribute = 'force_outbound_calls_to_peer';
|
|
|
|
UPDATE provisioning.voip_preferences_enum SET label='use domain default'
|
|
WHERE preference_id=@pref_id AND value IS NULL AND label='use domain defalut';
|
|
|
|
COMMIT;
|