mirror of https://github.com/sipwise/db-schema.git
Indicates call costs to the relevant subscriber. Change-Id: Idafd1b0ad8dfbe0268fe7f0331d8cf9eb286f37achanges/42/7842/1
parent
7b3d7ac8a5
commit
b830d52ae2
@ -0,0 +1,6 @@
|
||||
SET AUTOCOMMIT=0;
|
||||
USE provisioning;
|
||||
|
||||
DELETE FROM voip_preferences WHERE attribute='precall_cost_announcement';
|
||||
|
||||
COMMIT;
|
@ -0,0 +1,17 @@
|
||||
SET AUTOCOMMIT=0;
|
||||
USE provisioning;
|
||||
|
||||
SELECT id INTO @pgid FROM voip_preference_groups WHERE name = 'Internals';
|
||||
|
||||
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
|
||||
(@pgid, 'precall_cost_announcement', 'Pre-call cost announcements', 1, 1,
|
||||
1, 0, 0, 0, 0,
|
||||
now(), 0, 0, 'boolean', 0,
|
||||
'Indication of the costs announcement from SEMS for calls to this subscriber.');
|
||||
|
||||
COMMIT;
|
Loading…
Reference in new issue