TT#32827 Add 'divert_out_blocked' preference

To be used to divert call to a given number if the outbound
call is blocked due to block lists or NCOS.

Change-Id: Id3acdfe38ef0a4ab211b96678cdf93fad12f85c7
changes/69/19669/3
Andreas Granig 7 years ago
parent b9b8f1dd68
commit b2e5dae1f8

@ -0,0 +1,3 @@
USE provisioning;
DELETE FROM voip_preferences WHERE attribute = 'divert_block_out';

@ -0,0 +1,16 @@
USE provisioning;
INSERT INTO voip_preferences (
voip_preference_groups_id,
attribute, label, type, max_occur,
usr_pref, prof_pref, dom_pref, peer_pref, contract_pref,
contract_location_pref, dev_pref, devprof_pref,
modify_timestamp, internal, expose_to_customer, data_type, read_only,
description
) VALUES (
(SELECT id FROM voip_preference_groups WHERE NAME = 'Call Blockings'),
'divert_block_out', 'Divert Outgoing Blocked Calls', 0, 1,
1, 0, 0, 0, 1,
0, 0, 0,
now(), 0, 0, 'string', 0,
'If set to a number, any outbound calls which are blocked due to outbound block lists or NCOS levels are diverted to the given number.'
);
Loading…
Cancel
Save