mirror of https://github.com/sipwise/db-schema.git
Change-Id: Ib2d36ae53fa9d49ed2fc65af810691854b2613d9changes/41/38341/6
parent
ecaa0956a4
commit
28c0efc46e
@ -0,0 +1,6 @@
|
|||||||
|
USE provisioning;
|
||||||
|
set autocommit = 0;
|
||||||
|
|
||||||
|
DELETE FROM voip_preferences WHERE attribute = "concurrent_calls_quota";
|
||||||
|
|
||||||
|
commit;
|
@ -0,0 +1,25 @@
|
|||||||
|
use provisioning;
|
||||||
|
set autocommit=0;
|
||||||
|
|
||||||
|
insert into voip_preferences
|
||||||
|
set
|
||||||
|
voip_preference_groups_id = (select id from voip_preference_groups where name="Internals"),
|
||||||
|
attribute = "concurrent_calls_quota",
|
||||||
|
label = "A user defined quota for concurrent calls, does not block calls",
|
||||||
|
type = 1,
|
||||||
|
max_occur = 1,
|
||||||
|
usr_pref = 1,
|
||||||
|
prof_pref = 1,
|
||||||
|
dom_pref = 1,
|
||||||
|
peer_pref = 1,
|
||||||
|
contract_pref = 1,
|
||||||
|
contract_location_pref = 1,
|
||||||
|
dev_pref = 0,
|
||||||
|
devprof_pref = 0,
|
||||||
|
internal = 0,
|
||||||
|
expose_to_customer = 0,
|
||||||
|
data_type = "int",
|
||||||
|
read_only = 0,
|
||||||
|
description = "Contains a user defined quota for concurrent calls, the preference does not have an impact on ongoing calls and used mostly for reporting reasons, when a soft limit for calls needs to defined, based on which the subscriber/customer/peer is reported or charged for making too many calls.";
|
||||||
|
|
||||||
|
commit;
|
Loading…
Reference in new issue