* relation to lcr_gw is now by foreign.id instead of foreign.flags,
that is to reflect the change that provisioning.voip_peer_hosts.id
and kamailio.lcr_gw.id is now equal and lcr_gw.flags no longer holds
the voip_peer_hosts id reference
Change-Id: Iec28e4f29468420917a4bb5d7f9d44409ea6a5c5
* virtual_child_sound_sets is a virtual view that fetches
all child sound sets of the one that is defined as a placeholder
argument
Change-Id: I74b38328130cbb85cb0d559033408620f721caa2
* voip_sound_sets new field 'parent_id'
* voip_sound_sets new field 'expose_to_customer'
* voip_sound_files new field 'use_parent'
* add new table (view) 'v_sound_set_files'
Change-Id: Ida6643ac7fcb2ab5860c5f306f3e4d8842e15e9c
Generating the statistics table is very expensive, takes much space, and
we can get that data already from kamailio RPCs or from Redis. Remove it
to avoid the redundant data and the wasted load.
Change-Id: I6b013d627c1e6b26eacc5250ec5dfbb78a811dab
The prevalent convention in the project is to use «-» instead of «_» to
split words in options. Switch the options to that, and keep backwards
compatibility option alias that emits a deprecation warning while people
transition to the new names. The alias will be removed on the next LTS.
Change-Id: I591f0b16ea9df706d717a877f9e6fc9a5ca1d20e
- Add "billing_acl_roles" DBIx declaration, "admins" belongs to it.
- Add "billing_acl_role_mappings" DBIx declaration to organise the
roles hierarchy - "role_foo" has access to "role_baz" etc.
Change-Id: I9f3cc8dc1fd66b12469fb0f43ddd82dee4855490
* billing.domain_reseller is no longer in use by ngcp-schema as
the table is now deprecated
* add billing.domains.reseller_id field
* add billing.domains "belongs_to" relation to billing.resellers
* add billing.resellers "has_many" relation to billing.domains
Change-Id: Ia485ddac66a5063605f506dd888be550f7327bea
* add new columns and a primary key to sems_registrations
* voip_peer_hosts add might_have relation to kamailio.lcr_gw
* update kamailio.subscriber table fields
* change provisioning_voip_subscriber -> kamailio_subscriber relation
from has_many to has_one
Change-Id: I96e4aa7d68c09146d373e7300a762fd1c7b3f7da
fee matching works in 2 attempts:
1. try to find a fee matching <user@domain>
2. if none found, try to find a fee matching <user>
the billing_profile record will get a new field
"ignore_domain". if set to "1", step#1 above
should be skipped.
see 1af70b001db36cfbd9791ab90b7030cfa35a110e
Change-Id: Ia188a79e775d851e2309116232973d61acff6a20