mirror of https://github.com/sipwise/db-schema.git
Change-Id: I668d14002f56e1a78ddd709e967958052ab77d7emr9.1.1
parent
7a02fe6b83
commit
535f70268e
@ -0,0 +1,12 @@
|
|||||||
|
USE provisioning;
|
||||||
|
SET autocommit=0;
|
||||||
|
|
||||||
|
|
||||||
|
SELECT id INTO @vpid FROM voip_preferences
|
||||||
|
WHERE attribute = 'outbound_pai_user';
|
||||||
|
|
||||||
|
DELETE FROM voip_preferences_enum
|
||||||
|
WHERE preference_id=@vpid and value = 'pbx_extension';
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
USE provisioning;
|
||||||
|
SET autocommit=0;
|
||||||
|
|
||||||
|
SELECT id INTO @vpid FROM voip_preferences
|
||||||
|
WHERE attribute = 'outbound_pai_user';
|
||||||
|
|
||||||
|
INSERT INTO voip_preferences_enum
|
||||||
|
(preference_id, label, value, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, contract_location_pref, dev_pref, devprof_pref, default_val)
|
||||||
|
VALUES (
|
||||||
|
@vpid, 'intra-PBX extension or UPN',
|
||||||
|
'pbx_extension',
|
||||||
|
1, 0, 1, 1, 0, 0, 0, 0, NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
Loading…
Reference in new issue