mirror of https://github.com/sipwise/db-schema.git
Change-Id: Id2cdd9edf81eb2c6ca79aab04e189334d0c01ad1changes/69/1369/3
parent
bcc04057a1
commit
b9d20d874e
@ -0,0 +1,8 @@
|
||||
SET AUTOCOMMIT=0;
|
||||
USE provisioning;
|
||||
|
||||
SELECT id INTO @mode_id FROM voip_preferences WHERE attribute = 'dialogic_mode';
|
||||
DELETE FROM voip_preferences_enum WHERE
|
||||
preference_id = @mode_id AND value = 'sipisdn';
|
||||
|
||||
COMMIT;
|
@ -0,0 +1,10 @@
|
||||
SET AUTOCOMMIT=0;
|
||||
USE provisioning;
|
||||
|
||||
SELECT id INTO @mode_id FROM voip_preferences WHERE attribute = 'dialogic_mode';
|
||||
INSERT INTO voip_preferences_enum
|
||||
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
|
||||
VALUES
|
||||
(@mode_id, 'SIP/ISDN', 'sipisdn', 0, 0, 1, 0);
|
||||
|
||||
COMMIT;
|
Loading…
Reference in new issue