TT#21181 Add uaCSTA preferences

Change-Id: I6c771c1ffbc4580989e237facedd9e4d42d7f53d
changes/17/15817/1
Andreas Granig 8 years ago
parent 410202c47c
commit 86b2864d3c

@ -0,0 +1,3 @@
use provisioning;
DELETE FROM voip_preferences WHERE attribute IN ('csta_controller', 'csta_client');

@ -0,0 +1,14 @@
use provisioning;
set autocommit=0;
SELECT id into @vpg_id FROM voip_preference_groups where name = 'Cloud PBX';
INSERT INTO voip_preferences (voip_preference_groups_id, attribute, label, type, max_occur, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, expose_to_customer, data_type, read_only, description)
VALUES
(@vpg_id, 'csta_controller', "CSTA Controller", 0, 1, 1, 0, 0, 0, 0, NOW(), 0, 1, 'boolean', 0, 'Allow this subscriber to initiate CTI sessions to other subscribers within the same customer using uaCSTA via SIP.');
INSERT INTO voip_preferences (voip_preference_groups_id, attribute, label, type, max_occur, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, expose_to_customer, data_type, read_only, description)
VALUES
(@vpg_id, 'csta_client', "CSTA Client", 0, 1, 1, 0, 0, 0, 0, NOW(), 0, 1, 'boolean', 0, 'Allow this subscriber to be controlled by a CTI subscriber within the same customer using uaCSTA via SIP.');
commit;
Loading…
Cancel
Save