creating the index takes few 100msec for
a table with 100k rows, so imho no _not_replicated
required.
Change-Id: I63cc65d934955557675d5a33f7ec9c14bfdde565
(cherry picked from commit 90f6fdcb35)
* extra ngcp-sync-db options in AUTOMATED_INSTALL_MODE
* ngcp-sync-db is invoked only once now (after all revisions)
Change-Id: I6db3c29f186e1a61df1ccce17b0a646efaa1b055
(cherry picked from commit bc5f5f6ec4)
* always run ngcp-sync-db on proxy+carrier if
AUTOMATED_INSTALL_MODE is set
Change-Id: Ie411f7d711e0bdcf5a74bb9ad2794e89f780893f
(cherry picked from commit 94832f2303)
* active_watchers.user_agent had no default value
> [km_dbase.c:128]: db_mysql_submit_query(): driver error on query: Field 'user_agent' doesn't have a default value (1364)
Change-Id: Ie9e7091dbc6f4122056fddc01f514222f61f948e
(cherry picked from commit 71cfe4ee72)
- accounting database does not exist on the RO mysql instances
Change-Id: I35cbb010b1d9c76576a1d07ad2bb619a6237c9b9
(cherry picked from commit ec4911a71f)
-original ALTER TABLE accounting.cdr is refactored by introducing first set of separate entity-attribute-value tables. hot-fixable, no downtimes.
-further refactored to extract "provider" and "direction" columns elements (n=2) to manage values in data tables in a n-dimensional mannor. it turns out rateomats column model implementation will get complex to support data tables for arbitrary dimensions n.
-updated table names, removed autoinc staring values (ids cannot be distinguished in data tables any more)
-removed IF NOT/EXISTS
-added GRANTs for 'exporter'@'localhost'
MT#17795:
Melita needs the billing profile package id tracked in cdrs. Note that this is the package assigned to the contract at the time rate-o-mat processes the cdr (no history!), which also specifies the interval for creating balance interval records.
*_*_profile_package_id int(11) unsigned
MT#17795:
Link to the balance interval (billing.contract_balances record) for the sake of completeness. It might also be useful for invoice generation (MT#14253).
*_*_contract_balance_id int(11) unsigned
MT#17795:
The balance interval's cash balance values before and after rating the call.
*_*_cash_balance_before decimal(14,6)
*_*_cash_balance_after decimal(14,6)
MT#17795:
The balance interval's free time balance values before and after rating the call.
*_*_free_time_balance_before int(10) unsigned
*_*_free_time_balance_after int(10) unsigned
Change-Id: Ie891fc13a3610f4cdd9a57ccc573cc395c4e3729
* This will be executed in every node in order to
be able to have different versions during the upgrade process
* skip changes to table uacreg, we don't have it
Change-Id: I5b6256f2b2942da5260ef3b32492188a4357e405
- added location_id to kamailio.contract_preferences
- granted select on provisioniong.contract_locations* to kamailio
- updated provisioning.voip_contract_preferences triggers
- added contract_location_pref to voip_preferences
- added contract_location_pref to voip_preferences_enum
- concurrent_max/out/total are marked as contract_location_pref
- emergency_prefix/suffix/cli are marked as contract_location_pref
Change-Id: I057166e69acfb2dd4900233f2e6543e93e2e2d6e
This is used to enable an LNP lookup for calls from peers using
the network-provided calling party number. Useful to write the
source_lnp_prefix for a specific number block into CDRs.
Change-Id: Ie2a60c6c62d06b688b38db45dba5843735c8981c
We need an option to force outbound calls to peer when call comes
from peer in case the called party is not local but has an LNP entry.
Also, we need to store lnp prefixes in CDR.
Change-Id: I61b3886d545b27d46f0affe8457620601b5be61a
Add new caller/callee_lnp columns for rewrite rules.
Update triggers to populate dialplan from rwr.
Populate new caller/callee_lnp columns with rwr seq numbers.
Change-Id: I6c2e6175357c06608fd28e956a9e2892f32502b3
- The LNP provider table needs to have a routing prefix
- The LNP number table needs to have a key on the number col
Change-Id: Ida7741f2806043bf55178fe9402ee4675cc539c4