mirror of https://github.com/sipwise/db-schema.git
* csc_calls preference is to control the calls support on the CSC Change-Id: Iad3b1fc337747a89c31514028b0cea7e2a798ac5mr10.5.1
parent
f6dc62ab5d
commit
662312720a
@ -0,0 +1,3 @@
|
|||||||
|
USE provisioning;
|
||||||
|
|
||||||
|
DELETE FROM voip_preferences WHERE attribute = 'csc_calls';
|
@ -0,0 +1,25 @@
|
|||||||
|
USE provisioning;
|
||||||
|
SET autocommit=0;
|
||||||
|
|
||||||
|
SELECT id INTO @pgid FROM voip_preference_groups WHERE name = 'Internals';
|
||||||
|
|
||||||
|
INSERT INTO voip_preferences SET
|
||||||
|
voip_preference_groups_id = @pgid,
|
||||||
|
attribute = "csc_calls",
|
||||||
|
label = "CSC calls",
|
||||||
|
type = 1,
|
||||||
|
max_occur = 1,
|
||||||
|
usr_pref = 1,
|
||||||
|
prof_pref = 0,
|
||||||
|
dom_pref = 0,
|
||||||
|
peer_pref = 0,
|
||||||
|
contract_pref = 0,
|
||||||
|
contract_location_pref = 0,
|
||||||
|
modify_timestamp = now(),
|
||||||
|
internal = 0,
|
||||||
|
expose_to_customer = 1,
|
||||||
|
data_type = "boolean",
|
||||||
|
read_only = 0,
|
||||||
|
description = "Defines if a subscriber can initiate calls from the CSC";
|
||||||
|
|
||||||
|
COMMIT;
|
Loading…
Reference in new issue