mirror of https://github.com/sipwise/db-schema.git
Change-Id: Ia1bbf67c755593a82a9a509513a5dd6aa7dc6e3e (cherry picked from commitmr9.0.17a02fe6b83
) (cherry picked from commit98ad8ef322
)
parent
145a91bd30
commit
aa9c23f009
@ -0,0 +1,12 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
|
||||
SELECT id INTO @vpid FROM voip_preferences
|
||||
WHERE attribute = 'outbound_to_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_to_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 Called user',
|
||||
'pbx_extension',
|
||||
1, 0, 1, 1, 0, 0, 0, 0, NULL
|
||||
);
|
||||
|
||||
COMMIT;
|
Loading…
Reference in new issue