TT#93552 Introduce new 'pbx_extension' option in outbound_to_user

Change-Id: Ia1bbf67c755593a82a9a509513a5dd6aa7dc6e3e
(cherry picked from commit 7a02fe6b83)
(cherry picked from commit 98ad8ef322)
mr9.0.1
Marco Capetta 5 years ago
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…
Cancel
Save