Kirill Solomko
2982d6f192
Revert "TT#38157 fix create ngcp.timezone if not exists"
...
This reverts commit 79d2019dc5
.
Change-Id: I23f27a6310428751fa0185a3cae73f1f7ca249fe
7 years ago
Kirill Solomko
a4e5ff3bb7
Revert "TT#38157 fix to insert IGNORE into ngcp.timezone"
...
This reverts commit a6ce0fd706
.
Change-Id: I79b35147f8163f6b9078eb734b30a97e077b1586
7 years ago
Rene Krenn
a6ce0fd706
TT#38157 fix to insert IGNORE into ngcp.timezone
...
Change-Id: I3a9200f7e6a0e093694a8eee88a9fdfd24b7d5c6
7 years ago
Rene Krenn
79d2019dc5
TT#38157 fix create ngcp.timezone if not exists
...
Change-Id: I9f956bd324dd16d52b6593f47d22413832e9c118
7 years ago
Rene Krenn
6beb404dbd
TT#38157 reset v_*_timezone views, not replicated
...
Change-Id: I1512605cc51112b568a7383dbc76ed2794d090a5
7 years ago
Irina Peshinskaya
f5063d05bb
TT#36055 Add custom pbx device preferences tables
...
Change-Id: Ic4dddf1417a405d630ae91d6cd6f3c8e7bfd8c54
7 years ago
Marco Capetta
4930188c6d
TT#32926 Add lcr_peer_cf in usr and dom voip preferences
...
Change-Id: I5a5da5cfdd38e0f5a30862e07a9001441ec41a67
7 years ago
Rene Krenn
06abcc01e1
TT#35662 move product_id to billing.contracts
...
Change-Id: I153a6d57d5e0353657fc1facebd1db132f0df811
7 years ago
Kirill Solomko
05ddc85496
TT#35507 add smsc_peer domain preference, sms_journal smc_peer
...
* new 'smsc_peer' domain preference, synced up automatically
by the sync-db ngcpcfg helper
* sms_journal is extended with sms_peer field
Change-Id: Ida8c7d4f4ef78002bdd822cc6f5967920500b948
7 years ago
Kirill Solomko
88520e52c7
TT#35508 add sms_journal.cli field
...
* this field is meant to store the subscriber's cli during
sms processing
Change-Id: Ib9cc087249e6af807c8e943dc397032aa6b31dc6
7 years ago
Andrew Pogrebennyk
243e15c80f
TT#34456 convert force_inbound_calls_to_peer preference to enum
...
Change-Id: I2981383c00b719b37bf52dcb7122805bbb7fad62
7 years ago
Andreas Granig
69836f31cc
TT#35053 Add index to both username,with
...
This is needed because we now also look at the `with` part
to also retrieve inbound messages to a user.
Change-Id: I8602ec4e3e8b94dcbdd3548dd3ad4ac73d399c0d
7 years ago
Kirill Solomko
ae44e6cfad
TT#14662 fix phonebook triggers to use correct tables
...
Change-Id: I8374db50916a05236ba685044c0f16526b5eb7f0
7 years ago
Rene Krenn
02a747a713
TT#34013 "1st_tz" and "create_tz" interval start modes
...
Change-Id: Ib9d29ebc560094d4b0385e2f456d5a472ca2f2f3
7 years ago
Kirill Solomko
e7154a71f0
TT#14662 introduce phonebook tables
...
* reseller - reseller_phonebook
* contract - contract_phonebook
* subscriber - subscriber_phonebook
Change-Id: Ie9d6e63a688a5edb8481896720ac374cd2a7ebfb
7 years ago
Andreas Granig
b2e5dae1f8
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
7 years ago
Rene Krenn
b9b8f1dd68
TT#27659 TT#33983 date_range_helper helper table
...
Change-Id: I890d643fd57977d191b6bd40f9312cb30b635c01
7 years ago
Marco Capetta
080d7cd789
TT#28834 Upgrade to kamalio 5.1.2
...
Created up/down scripts for upgrades:
- from 4.4 to 5.0
- from 5.0 to 5.1
Change-Id: Idaf988efd7455aad62d4ea4a23a226926e1c95fe
7 years ago
Jozef Kenyeres
915539b718
TT#30378 remove unused preference precall_cost_annoucement
...
Change-Id: Ic02fee565450186d44e69a8615a7c93b88c1d40d
7 years ago
Rene Krenn
6629703415
TT#32910 TT#33037 initial cash_balance, free_time_balance
...
lt 3secs for 100k contract_balances records
Change-Id: I17f3273d30aba39c67b767874ce39cd58545fc29
7 years ago
Marco Capetta
a78d5dedfa
TT#33103 Add peer outbound_hostname_resolution preference
...
If activated, the preference will force the system to resolve the
hostname to find the proper destination IP.
Change-Id: I05da4e2ed3e048a1fc7f85558dc0becc3246bb10
7 years ago
Richard Fuchs
9c0b658a69
TT#30573 add transcoding preferences
...
Change-Id: Ic9d158ebb7a770c42cff02e7c9e835f25c8069b9
7 years ago
Rene Krenn
ba48beb91b
TT#32964 fix enum_set_default trigger
...
+ add default pref values only if not existing yet
+ do not add "0" default values for fromer int prefs
such as "lock"
Change-Id: Ia726fd66f4e3261e6f450877612ece371d744408
7 years ago
Rene Krenn
82ff2e24f5
TT#31179 clean duplicate "lock" pref values
...
created by enum_set_default trigger
Change-Id: I6a84f808223bb5871fb93f0ea3b98945fbd2d91b
7 years ago
Rene Krenn
237e2371f2
TT#32109 make v_contract_timezones also work for system contracts
...
Change-Id: I8eca46d113dc6d3c52f254eb80db5ad0ae25db9c
7 years ago
Rene Krenn
86d928abd9
TT#30855 change 15292 to replicated
...
Change-Id: I79cfd85dc5d0c828fa4037788e49e5e56ce4ca76
7 years ago
Rene Krenn
8dea0b707b
TT#31305 extend decimal MOS paramter value range
...
+ form 999.9 to intended 9999.9
Change-Id: If8b30a3d25cc5fe8ee3918a67ee0a994e7343ae8
7 years ago
Kirill Solomko
eb5112d1f4
TT#30501 add ngcp.tzinfo_version
...
* ngcp.tzinfo_version is meant to store
the tzdata package version used in
the 'mysql_tzinfo_to_sql' data synchronisation.
Change-Id: I389ee0d189aff40ab94f55e04025a2e44e7027c8
7 years ago
Andreas Granig
84659308ae
TT#30555 Add natping key to location table
...
Change-Id: I1c71e4b8125e29a7efc10471bd41f89ddf21facd
7 years ago
Marco Capetta
02c8e21b64
TT#28902 Extend skip_upn_check_on_diversion preferences
...
New options:
* diversion: If received Diversion header
* historyinfo: If received History-Info header
Change-Id: Id6de1b2b3d6673f1f7becb377692e98511723f22
7 years ago
Kirill Solomko
dacd644cf9
TT#21874 autoprov_firmwares rework to support chunked data move
...
* created a stored procedure that moves the firmwwares data
into a new table as chunked blocks, that resolves the
innodb_log_file_size and max_allowe_packet limitations
enabling any size of data
Change-Id: I52ffcc5e0dad4ce35e70cdb13192de1eb54b909c
7 years ago
Kirill Solomko
094509c182
TT#28469 make ngcp.timezone related changes as not_replicated
...
* as the new introduced ngcp.timezone table is not replicated
in my.cnf by default it must be as not_replicated and
only become available when both nodes contain the same
updated my.cnf tempalte and MariaDB is also restarted on
both of them
* fill in ngcp.timezone with a default record
Change-Id: I34c080a6fa62d951fa01218f9049ef3e1d6668f0
7 years ago
Kirill Solomko
0cb5170683
TT#3668 use accounting.cdr tables for composite primary keys
...
* this change brings back the accounting.cdr tables
to use composite primary keys, that is compatible with
partitioning
Change-Id: I52dc5e665db1a9b9964b52690a7f0792310e1b1b
7 years ago
Kirill Solomko
7bf462428e
TT#25451 use ngcp.timezone in v_timezone views
...
* ngcp.timezone is used in the
v_subscriber_timezone
v_contract_timezone
v_reseller_timezone views as the fallback one
Change-Id: I52b7b413c7af3d54577665517197a13ca7a95b7d
7 years ago
Kirill Solomko
19a8b4dc73
TT#25451 add ngcp.timezone table
...
* ngcp.timzone table contains the
timezone value from config.yml
general.timezone
Change-Id: Icbf6805bbdd0469aff863e063044994fabf9e00b
8 years ago
Rene Krenn
20b2934697
TT#24129 add mos param enums for cdr_tag
...
Change-Id: Ief44c270eacbdf40a1993258543098cbc2338144
8 years ago
Kirill Solomko
7b743444fe
TT#25452 add faxserver and voicemail call_id column
...
* add kamailio.voicemail_spool call_id
* add faxserver.voip_fax_journal call_id
Change-Id: Ia6dccebe99f65453d521c8d388aabfb2ffc1b7dd
8 years ago
Gerhard Jungwirth
7e2490f1d0
TT#25312 make conference_pin editable for subscribers
...
Change-Id: I625a026ad745ea8d20d9ef0840963e89ec15c315
8 years ago
Rene Krenn
546f71665b
TT#23271 add uuid columns for accounting.prepaid_cost
...
Change-Id: I30a6f61d7974167398fd663496ce1f22f491f459
8 years ago
Alexander Lutay
33cea1ade1
TT#24408 Deleting DB user 'export' again for PRO/Carrier systems installed in mr5.[0-3]
...
The previous fix was backported to mr4.5 and mr3.8 LTS while mr5.[0-3] was untouched.
It resulted to the fact that systems upgraded via release where grants.yml has user 'export'
will have it restored. Also we need to care about Carrier's 3308 here so we have to use _not_replicated.
The current fix will be included into mr5.5.1+ only,
so it is safe to use "IF EXISTS" as in upgrade
mr4.5->mr5.5 it will be executed in new MariaDB 10.1
Change-Id: I5f1612393aea2676f96d6824a9ab641d29bb8407
8 years ago
Andreas Granig
d84ef78e5a
TT#18736 Add auto-attendant ext-dialing prompts.
...
Change-Id: I4654478b8a4c4f13956deb5e01c0e11220c4169a
8 years ago
Rene Krenn
87ebaa2f74
TT#22469 fix typo in 15359.down
...
Change-Id: I2fce2992570e11f0c7da16bf36776a33ba5c0dd4
8 years ago
Rene Krenn
3217af7a52
TT#23277 change lnp type from enum to string
...
+ anticipate warnings in .down, if string values
other than "fixed" or "mobile" are present
+ .down scripts now dropped, no rollbacks supported.
Change-Id: I82f4b6d814892586613da3e670e8e50b50ae54b3
8 years ago
Andreas Granig
820b017535
TT#8704 Fix spaces in peer name
...
Change-Id: Ib69a453ec920e3fb5aa251357f7057f2e04902ba
8 years ago
Rene Krenn
9869885322
TT#19715 stats.cdr_info table
...
Change-Id: I17d100f604c865c773fd7c8af865f401bfe5cd09
8 years ago
Andrew Pogrebennyk
a5d7fcf450
TT#22900 add preferences for external call recording
...
Change-Id: I873293d435e567b02fc95103bf07c2128ccc8f1a
8 years ago
Rene Krenn
27a4110cc6
TT#22469 add lnp "type" columns
...
Change-Id: Ibe6adf5f17ddfcc26ec8eeaf519db4904d60d83b
8 years ago
Andreas Granig
86b2864d3c
TT#21181 Add uaCSTA preferences
...
Change-Id: I6c771c1ffbc4580989e237facedd9e4d42d7f53d
8 years ago
Andrew Pogrebennyk
410202c47c
TT#22437 add 'npn' option to outbound_diversion enum preference
...
Change-Id: I2abfd52238ec1055ff615762ea7eb8267a171dcb
8 years ago
Jozef Kenyeres
cb722b876e
TT#21340 Add preference zero_connection for MoH
...
Change-Id: I74f5a21f773d26132689bca6ccb2bcb0d003531d
8 years ago
Kirill Solomko
5cb4aa02c7
TT#19348 remove user export@localhost
...
- user 'export' was not used and user 'exporter'
is there for the same reason
Change-Id: Ic02440019add8a66f970aa3c5e1232be782651cd
8 years ago
Andrew Pogrebennyk
91b04b811d
TT#21650 migrate the skip_upn_check_on_diversion preference to enum list
...
Change-Id: I8d9dea63320b65d423bfc7b1029c69c15a86b517
8 years ago
Kirill Solomko
1d7714c459
TT#21263 add kamailio.acc_backup and acc_trash as not_replicated
...
* kamailio.acc_backup and kamailio.acc_trash are not replicated
and therefore, changes to those tables must be done separately
for sp1 and sp2
Change-Id: I633838d2bbf6f346de0a9e97dcfd9234060e334e
8 years ago
Irina Peshinskaya
c482b30217
TT#20302 Add manager_secretary subscriber preference
...
Change-Id: I6d23d7acdf4ef9dd71d777458a1e4a620272119a
8 years ago
Kirill Solomko
fbf631019b
TT#18850 add secretary_numbers preference
...
Change-Id: Ic4ca8097ef9481eb13d38c4bdeb74656062a06a5
8 years ago
Kirill Solomko
667df2f6c8
TT#3668 prepare accounting.cdr tables for partitioning
...
* remove primary key and create (id,start_time) index
for the following accounting tables:
- cdr
- cdr_cash_balance_data
- cdr_time_balance_data
- cdr_relation_data
- cdr_tag_data
Change-Id: I399e9504496bdfd4600466d8fb67abccb3a0c40f
8 years ago
Kirill Solomko
0aa6c5abd5
TT#19855 add voip_preference lock enum value 0
...
* backward compatibility to support existing 0 values
of the 'lock' preference in voip_usr_preferences
Change-Id: I7c497e14695891d3b7a4ee018cf5429f79a0a485
8 years ago
Rene Krenn
4586af55f5
TT#19855 'none' pref enum value must be null
...
.. to exactly match the old behaviour when
persisting it.
Change-Id: Ie0b65acfc51ae51001841d9943eee758fac8e73d
8 years ago
Rene Krenn
1283b64104
TT#18765 change 'lock' preference to enum type
...
Change-Id: If2b90ef1413ab3cd67fcee1b232754ba4144d168
8 years ago
Kirill Solomko
71fcbce849
TT#19459 add provisioning.voip_cf_source_sets.mode column
...
* enum: whitelist, blacklist
* default: whitelist
Change-Id: I529153a83ea72d046e85f6424c05b8b2a8573975
8 years ago
Hans-Peter Herzog
6a8d9fb765
TT#18355 Migrate db schema to enable RTC:engine conferencing api
...
Change-Id: Ia2e0c12f0e99257348ce79944ee03cb801b90113
8 years ago
Rene Krenn
d32fdd901c
TT#14755 call list suppressions
...
Change-Id: I0646b8040c8a02ee333c519da1c2fb0ab67131f8
8 years ago
Gerhard Jungwirth
880d2e69fd
TT#17258 add active flag to reminders
...
Change-Id: I06ccbcd8047dca4d8cbec1844c92fef6ea832322
8 years ago
Richard Fuchs
eaa6c501db
TT#16809 add APNS type DB field for push registrations
...
Change-Id: I915b990e317d12283f5c0533ac1a9293257ca56f
8 years ago
Gerhard Jungwirth
080b349bd5
TT#13784 add stopper flag to peering rules
...
Change-Id: I90cf08d06c1170605b8942ca89b5d826f945735b
8 years ago
Rene Krenn
a9543c87cc
TT#15652 stime indexes for accounting.*_data tables
...
- required to support acc-cleanup's "backup" and "archive"
modes. for "cleanup" mode, they are not needed considering
the original plan with cdr delete triggers.
- delete triggers for accounting.cdr slow down the cleanup,
so we take them out. separate cleanup jobs should be registered.
this way, the performance of 3.x cleanup must be axactly restored.
- same for events; also there was no index for the
events.timestamp column yet
Change-Id: Ia117e237533814b5175eb2b1fab8fdc153878f83
8 years ago
Rene Krenn
c6b5054d4e
TT#8162 add source/destination_user_out columns to cdr
...
Change-Id: I5960aa99606e3c59f22612422c8dffb4c753e6c1
8 years ago
Kirill Solomko
b2f65df857
TT#12593 add voip_fax_preferences t38 ecm
...
* add t38 preference to enable/disable t38 support per subscriber
* add ecm preference to enable/disable ecm support per subscriber
Change-Id: I3ae69fa49c952732c012c5fd385104e5ebdc92fa
8 years ago
Andrew Pogrebennyk
f9e3da0235
TT#14854 migrate no_nat_sipping boolean to nat_sipping enum pref
...
Change-Id: I08de1e61ba4ebb61ec8cfd8e56c33e3e5c7fe409
8 years ago
Kirill Solomko
1c827e5a5c
TT#12661 add provisioning.voip_fax_data table
...
- add provisioning.voip_fax_journal(sid) index
Change-Id: I4fb8606fc5aaa990925322cc36b625ca7c75ec92
8 years ago
Kirill Solomko
aad4ceaf16
TT#7818 add accounting.cdr (source_cli) index
...
Change-Id: I8fcefa64c99efd2fb928f4b7f5e87b31e0a85d16
8 years ago
Andreas Granig
80006e84e0
TT#14800 Add User-Agent Filter preferences.
...
Change-Id: I9d487778aee1b05172721db77800a1fbfaaa5a40
8 years ago
Andreas Granig
dc96fe641f
TT#8704 Implement peer probing.
...
* Add probe column to provisioning.voip_peer_hosts
* Add trigger to populate kamailio.dispatcher on active probing
* Fix kamailio.version table to version 4 of dispatcher table to
use the attrs column.
* Write peerid (used for routing) and also peername and peergid
(used for monitoring) into dispatcher attrs
* Only enable probing if peer is enabled
Change-Id: I29bc23ec27bf59672656fc972171a518aecce133
8 years ago
Andreas Granig
310ff078df
TT#1640 Implement dynamic release codes for peers
...
Change-Id: I0e9db58961a7ee924fd548d8d4d468f1a06fb701
8 years ago
Gerhard Jungwirth
fa6253e069
TT#11432 make index on cf_source_sets more loose
...
by adding the subscriber_id. This is still fine, to reference them
uniquely per subscriber but allows e.g. for the same name in different
subscriber like the automatically created sets like "quickset_cfu".
Change-Id: If72354639f501e8925680a664ef61951940b8ece
8 years ago
Rene Krenn
99ac96b4ee
TT#13754 edr tags for primary aliases
...
Change-Id: Ia27ad2aa240bdacb69b3235e5f2670c951502442
8 years ago
Andreas Granig
215e8b7c26
TT#13277 Add unix timestamp and status for recs
...
Change-Id: I298a6576dd67e27d34e65e8e827bcea0ff7669c0
8 years ago
Richard Fuchs
41f847e412
TT#13005 add table to store call recording metadata
...
Change-Id: I5dcbe08ac529106a4868b8f48ada168128ca5265
8 years ago
Rene Krenn
5fce716600
TT#12664 extend kamailio acc call_id index
...
Change-Id: Iecf282bef2436c7f9652e98d4641a3c46d359980
8 years ago
Irina Peshinskaya
9f3590c085
TT#7515 Add polycom profile sync parameter
...
Change-Id: I2920466a8c8ca176eab24be62411a0376f8c5b57
8 years ago
Andreas Granig
b75fc3828c
TT#12601 New column to store salted bcrypt hash
...
Storing salt and bcrypt hash per admin in this column.
Also clear existing ssl certs for security reasons. If someone
lost his key, it needs to be deleted and re-generated.
Change-Id: I0db91865f1ee248037bb0eaa31a97937c71d0ad6
8 years ago
Richard Fuchs
7d2981c2fe
TT#10156 add rtpengine call recording journal tables
...
Change-Id: I029da77de6d91e5f8938dabdbbf419d8968b669b
8 years ago
Rene Krenn
e0efa1ebd5
TT#9850 drop foreign keys of billing.voip_intercept
...
since it can be written using a separate db connection,
pointing to a database that is not fully replicated,
foreign keys will cause failing inserts, updates etc.
Change-Id: I65108abdce1f5ad86b982adaf4d0d762fd0a634d
8 years ago
Irina Peshinskaya
95e72d9136
TT#9212 Add cid and key grandstream autoprov parameters
...
Change-Id: I031659fccb187b7475e366c694976f1e2b5ae7b9
8 years ago
Andrew Pogrebennyk
b9c5a36a97
TT#10450 Add peer preference skip_callee_lnp_lookup
...
Change-Id: I4bd4f86b36ebc763463d40807eb6fbcf7e84da1a
8 years ago
Andrew Pogrebennyk
c2836fd590
MT#21817 add preference max_call_duration
...
Change-Id: Ie7d1a86710a5c718f797ba1a3496c3e5024bfd82
8 years ago
Rene Krenn
2c74798703
TT#6735 TT#5850 refactor "profile" events to track number changes
...
Change-Id: Id7fd187376a4dfdff21445be98a37a03ed5fc072
8 years ago
Irina Peshinskaya
ea98d300c9
TT#9212 Add redirect_grandstream enum
...
Change-Id: Iba41fd4ddf0c4ae5d918ebb00f6788fa41860692
8 years ago
Kirill Solomko
2b105bbb7f
TT#5826 introduce contact.timezone column and relevant views
...
* add billing.contact.timezone column
* add billing.v_subscriber_timezone view
* add billing.v_contract_timezone view
* add billing.v_reseller_timezone view
Change-Id: I7f08c332f28877426991de59b848aa1b635e0b92
8 years ago
Rene Krenn
47e6bc99c1
TT#9714 susbcriber first non-prim alias for edr records
...
Change-Id: Iaf4a47a4cf5aae40ff6ccbec5ba7a0af38b44c63
8 years ago
Victor Seva
1f35c7feec
TT#9314 prosody: we need utf8mb4 charset for emojis
...
Change-Id: I1f114a9892bf7425fbbaf0969ac001ca4991d691
8 years ago
Andreas Granig
196ae4af7f
TT#2371 Add coding and pcc options to sms journal
...
Change-Id: I79b2619ec04973092a87a9c369e0bdf5701319c8
8 years ago
Andreas Granig
1910577a07
TT#6422 Introduce outbound diversion counter
...
If set, force counter param in outbound diversion header to peer
to the given value.
Change-Id: Ifcb7a15112bfa8d6d7b7bfa748ddfaf6be35f879
8 years ago
Rene Krenn
dd6da9e5f9
TT#6735 TT#7030 TT#5850 accountin.events entity-attribute-value models
...
+ events_relations: store associated id's (int):
-subscriber_profile_id
-pilot_subscriber_profile_id
-primary_number_id
-pilot_subscriber_primary_number_id
-subscriber_profile_set_id
-pilot_subscriber_profile_set_id
+ events_tags: store associated strings:
-number cc,ac,sn
-pilot number cc,ac,sn
-subscriber profile name
-pilot susbcriber profile name
-subscriber profile set name
-pilot subscriber profile set name
no alter table required
Change-Id: I74c54c0c3505fc014c640bf3298e81ab97ac0ad8
8 years ago
Victor Seva
ba265f996d
TT#8297 prosody: add sipwise_mam table to store mam stanzas
...
* we are storing uuids so we need some helper functions
https://mariadb.com/kb/en/mariadb/guiduuid-performance/
Change-Id: Ife48ae8ddf7c2bf80c98d10e3422a883ed22d29a
8 years ago
Kirill Solomko
af22780bd6
TT#7357 adjust provisioning.voip_prul_urepl_trig
...
* on OLD.enabled = 1 AND NEW.enabled = 0
limit delete to only 1 row to cover cases when
there are several identical rules within one group
(e.g. 2+ ALL NULL rules)
Change-Id: Id19ea55f81324e44870b743ecb1d96f593f1436b
8 years ago
Victor Seva
d21141b5a5
TT#7560 prosody: create sipwise_offline table
...
Change-Id: I0ada88d8f615e5f234c113a6d91dab659a170fc0
8 years ago
Irina Peshinskaya
18f500986d
TT#5954 Add custom announcements
...
Change-Id: I2063dda780431890c7cfdcfa10a3e2c7f77384bd
9 years ago
Gerhard Jungwirth
07787b7731
TT#6831 make sms_journal utf8mb4 aware
...
this operation is lossless, but the inversion isn't necessarily
Change-Id: I812257115df0292df9d0af7b4aeabdaf5efff490
9 years ago
Andrew Pogrebennyk
08887d5602
TT#6832 add peer preference reason_text_for_failover
...
Change-Id: Idc1d5ed3e2c6793b0f39584232e28a24c53e19ee
9 years ago
Andreas Granig
922f8b5630
TT#2371 Add sms forward options
...
Change-Id: Ifd341b5eb86c1541fa766ea9d3f38a2ca56ef7b8
9 years ago
Kirill Solomko
44fc3823d6
TT#2651 add voip_preference "party_call_control" - desc spelling fix
...
Change-Id: I19a8d9de4432cd137cc34f63a5949dfd09d3e718
9 years ago
Kirill Solomko
ae0b69af8b
TT#2651 add voip_preference "party_call_control"
...
Change-Id: I36a83e0914880b628733293e385a1678edb1761a
9 years ago
Kirill Solomko
273b0a08c3
TT#5004 add autoprov_firmwares_data table
...
* copy all existing data from autoprov_firmwares.data field
into autoprov_firmwares_data
* remove autoprov_firmwares.data field
Change-Id: I7a62208a323e1bc2d35df4db5828518d897855e3
9 years ago
Andrew Pogrebennyk
4f65746908
TT#6399 add option force_interdomain to force_outbound_calls_to_peer
...
Change-Id: I4954085af30424467a2fd28bd211d6948dac0076
9 years ago
Kirill Solomko
65ad84b9d4
TT#5549 add voip_fax_journal caller_uuid, callee_uuid columns
...
Change-Id: Iae63e999d79dd0b1c1c0ec3282e5adbf2eaf54c2
9 years ago
Rene Krenn
41526d4a17
MT#20639 billing.contacts "status" column
...
+_not_replicated, as there can be hundred k's
records (remember a new contact is created for every
subscriber). as mediator copies contact gpp columns
into the cdr, "ALTER contacts" will likely block mediator.
Change-Id: I678291936a03963fd56cfbb6e9f1b2e13e2b05a4
9 years ago
Richard Fuchs
9d04761fe4
TT#5567 add record_call usr preference
...
Change-Id: I7adf3770c77aee6ea4cb7000f8a06b506d340117
9 years ago
Andreas Granig
bf43a1673c
TT#2376 Add preference for IMS AS routing
...
Change-Id: Ia1e0c6efd384dd0c12f9e9ce7c44c2d8cbf835ae
9 years ago
Gerhard Jungwirth
a94fbb42f9
TT#2369 add table sms_journal
...
Change-Id: I5b9b7d83dfcace7f5fd428327465fe0335140c8f
9 years ago
Rene Krenn
d6c0223870
TT#4638 domain level allowed_ips
...
Change-Id: I7ce8bcbca31a956574c74e8783a37ba1b49f29f4
9 years ago
Rene Krenn
a7bf30f227
MT#20959 add cdr daid_stime indexe
...
+said_stime index is supposed to exist
+take out "if index exists.." proc again
Change-Id: I6280473b63841d50cc97ff570a16f48174123ab0
9 years ago
Rene Krenn
f7a0e79788
MT#20027 porting number history
...
-undo lnp unique constraints
-restoring separate number index to accelerate actual numbers view
-retain cascade delete restrict
-15285->15288
-start date index
Change-Id: I6380479da14302abdb7309da4b7ec22cebe568cd
9 years ago
Victor Seva
13c65877bf
TT#3010 kamailio: sca version 2
...
Change-Id: I3ecb96e8bb45c2423d471eaba280984e7536f17f
9 years ago
Jozef Kenyeres
144d001893
TT#2453 Added device preferences
...
Change-Id: I4171ffb797dba9a93ba8581daf9fc63369dd696b
9 years ago
Andreas Granig
ebd20192e0
TT#3991 Add ncos level flag for intra-pbx calls
...
If set and a call is done within a pbx customer, the call is blocked
in blacklist, and is allowed in whitelist.
Change-Id: I3a113a29baa0c1500e23016d05c8225024dcf295
9 years ago
Kirill Solomko
8e03d7b475
MT#22031 cosmetic up script changes for MariaDB compatibility
...
* "partition" is a reserved word in MariaDB and as such
the existing column with name partition is escaped
as `partition`
* MariaDB is more restrictive to column alterations that have
foreign keys in another tables and as such added
constract drop/add wrapped into LOCK TABLES.
LOCK TABLES is essential there as after DROP FOREIGN KEY
up until the CONSTRANT is recreated again there is a chance
to break the consistency with a wrong sql statement executed
when the up script is being applied.
Change-Id: I4b08a1c5b2c5e1632e2683f62251fe3873ebc58e
9 years ago
Rene Krenn
90f6fdcb35
MT#22787 index for kamailio.address.grp
...
creating the index takes few 100msec for
a table with 100k rows, so imho no _not_replicated
required.
Change-Id: I63cc65d934955557675d5a33f7ec9c14bfdde565
9 years ago
Gerhard Jungwirth
2db281a151
TT#2395 a-number based cli selection
...
tables to support a new subscriber preference, which allows to provide
a custom cli when the a-number matches a configured pattern
Change-Id: Ia7688470978aa88634197176139465e6c674a5b8
9 years ago
Andrew Pogrebennyk
8083258eb2
TT#2458 Add preference play_announce_before_cf and sound handle announce_before_cf
...
Change-Id: I975195c7272533915685896b906b67e0044d674a
9 years ago
Andreas Granig
983f730d5b
TT#2766 Implement inbound peering rules.
...
Change-Id: I531169a1dbab408a0eea0b88ae689f32170db961
9 years ago
Irina Peshinskaya
f88853c103
MT#21751 Fix typo in query
...
Change-Id: I653c3cea634aa08d056a886ce90f6a9e31c60c08
9 years ago
Kirill Solomko
d5c9d04098
MT#21751 add recent_calls_by_upn voip preference
...
Change-Id: I3b4a66c6f63d76800ef3e77b08acd70ff7f58c20
9 years ago
Irina Peshinskaya
43e5405a23
MT#2452 Add pbx device profile preferences tables
...
Change-Id: I412f03f054501252f278e0db71c0a0921adbc1a8
9 years ago
Andreas Granig
1cb9f98e28
TT#2757 Add emergency_geo_unavailable sound handle
...
Change-Id: I9a2ea7a85301f3e9760008a0800aa865e0759d14
9 years ago
Gerhard Jungwirth
106203d3fc
TT#2366 make voip_cf_source_sets.name unique
...
because it is used to reference a set in the restapi /api/cfmappings
Change-Id: I3d2e00e1a6278f22692f1b42215eb0580fbb481b
9 years ago
Irina Peshinskaya
65c420fc1b
TT#2452 Add device preferences table
...
Change-Id: Ic952c2472293ea665827fa0713b494e77e9c5dfe
9 years ago
Jozef Kenyeres
b830d52ae2
TT#2456 Add subscriber preference precall_cost_announcement
...
Indicates call costs to the relevant subscriber.
Change-Id: Idafd1b0ad8dfbe0268fe7f0331d8cf9eb286f37a
9 years ago
Rene Krenn
7b3d7ac8a5
MT#21871 suppress stdout output in reset_voip_aig_autoincrement
...
Change-Id: Id9eb370f0653417ad5ec35e4e43fa3b827e61fe5
9 years ago
Gerhard Jungwirth
3413f4753b
TT#2366 new tables voip_cf_source* for anumber cfs
...
Change-Id: Ic592d51b6dc7d98c8d5e52e360aa7cce4c927b54
9 years ago
Gerhard Jungwirth
9e197028ca
MT#22085 MT#19637 improve preference descriptions
...
Change-Id: I8a3bbb634750923dfb42874ac6a03d746a61e384
9 years ago
Rene Krenn
7971467d76
MT#21871 fixing the provisioning.voip_aig_sequence autoinc value
...
Change-Id: I047e95180bba539be4662db5723550be30c03a13
9 years ago
Rene Krenn
18535fab29
Revert "MT#21871 fixing the provisioning.voip_aig_sequence autoinc value"
...
This reverts commit 3426c2c8b4
.
Change-Id: I45c797e778fbceadbc3b5559f9dc4435df596785
9 years ago
Rene Krenn
3426c2c8b4
MT#21871 fixing the provisioning.voip_aig_sequence autoinc value
...
Change-Id: I8845d12c46a85424b32b3ae86746376fc2e81937
9 years ago
Jozef Kenyeres
b55fde3a4a
MT#5065 codecs_list and codecs_filter not used as peer preferences.
...
Change-Id: I2f995150a1fef2a48e0575b71e5272a090b296f9
9 years ago
Dominik Kukacka
2c97ca7c21
MT#20921: RTCengine fileshare mysql storage
...
Change-Id: Ic2b772cc4a9430a28f2474bd9dd2a17492dae36c
9 years ago
Andreas Granig
0d8ca9a940
TT#1604 Add skip_upn_check_on_diversion prefs
...
Change-Id: I030b7d1732eb646fdb3d574775c00dd54e2a4054
9 years ago
Andreas Granig
8ce3fbe8ce
MT#8275 Add reject_vsc usr/dom pref and sound
...
This allows to reject any VSC coming from the subscriber, disabling
the possibility to provision subscriber features on the system.
Change-Id: I5cceb70875467a8252ce588ddc90d4c2fbd3c8de
9 years ago
Andreas Granig
b98de2b0e3
MT#21543 Implement emergency mapping preference
...
Rename file to avoid duplicate.
Change-Id: I31e9328060095acb521c788fa69ed4897833fab8
9 years ago
Dominik Kukacka
20bf5bbe66
MT#19901: add schema for rtcengine
...
Change-Id: I7edf86bce5bdb369c5cf5e65b2e2f909b8f07416
9 years ago
Victor Seva
71cfe4ee72
MT#21583 MT#19009 kamailio: fix upgrade to 4.4.0
...
* 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
9 years ago
Andreas Granig
c295759311
MT#21543 Add new emergency mapping tables
...
Change-Id: I5845e1546b846a320d6b964c8e03e33820a979cd
9 years ago
Andrew Pogrebennyk
b3b9f2c97b
MT#21529 support gppX parameters for the peer
...
Change-Id: I67592656f54d3480be55f36a156d2e70226d74a2
9 years ago
Irina Peshinskaya
eccba55a79
MT#21269 Add snom_redirect enum value to the prov tables
...
Change-Id: Ic3247ced08107e8af05698884a1893bc4a327656
9 years ago
Jozef Kenyeres
f7af03129e
MT#5065 usr/dom/peer preference added to blacklist or whitelist codecs.
...
Change-Id: Ia0951867527f2b4d5fb65941fcd821ea77692ede
9 years ago
Andrew Pogrebennyk
54ce8a0f7f
MT#19939 add peer preference anonymize_from_user
...
Change-Id: If4f21b3e509b934e3ddde1c51fb8449bd5a99e73
9 years ago
Jozef Kenyeres
f115bcf726
MT#20457 subscriber put on hold is notified with a=sendonly in reINVITE
...
Change-Id: Id7fb1975496636da648dbfdd9ae03ab27c42060c
9 years ago
Kirill Solomko
ec4911a71f
MT#20747 fix/rename 15241.* script to 15241_not_replicated
...
- accounting database does not exist on the RO mysql instances
Change-Id: I35cbb010b1d9c76576a1d07ad2bb619a6237c9b9
9 years ago
Victor Seva
672cbed065
MT#20737 kamailio: increase [from|to]_tag field size everywhere
...
Change-Id: I622d3cb1812d11e37de223d50dc680ed449d6ba2
9 years ago
Rene Krenn
1ebbfec912
MT#20379 introduce dynamic cdr string data columns
...
+immediate use for netcologne's "calling party category"
+per source/destination
+per customer/reseller/carrier
+TEXT instead of varchar(255)
+upcoming use eg. for location data.
Change-Id: I24abe06310a7f9ba6f0cb3e044db4ebb0b297cf1
9 years ago
Rene Krenn
de607c0210
MT#16901 replace accounting.cdr 'rstatus' index
...
Change-Id: If9c183cd9294c54aa75e3eaef8419e3feafd2ced
9 years ago
Rene Krenn
bd3911b9ac
MT#20023 MT#20027 lnp numbers unique contraint and restrict delete cascade
...
+replace old lnp_provider_id index by multi-column unique index
(safe one index)
+not replicated, as lnp_numbers table could get large
Change-Id: I776358e42345f9a58bd3c755f7e40b12c1ac0a25
9 years ago
Andrew Pogrebennyk
0aa3269e0d
MT#20125 add usr/dom/peer boolean preference disable_prack_method
...
Change-Id: I3f806343fefd59305724788cb0daf71a34b42fdf
9 years ago
Kirill Solomko
e77657cb72
MT#20219 - add lawful_interception voip_usr_preference
...
Change-Id: I5ec01970f17cf1a9dcee740206a75a3dbedc14da
9 years ago
Gerhard Jungwirth
4e8510ff22
MT#19795 rtc_sessions deprecate network tag
...
in the future, we will connect one rtc-session to all related
networks (via rtc-accounts). therefore, there is no need anymore,
to store the network tag here. assign a default, in order to ensure
compatibility with old and new code
Change-Id: I76c69250217e1295f511e74a17ef55504e526b80
9 years ago
Andreas Granig
3592e829db
MT#19457 Add lnp authoritative and skip_rewrite
...
Authoritative is rejecting call with 404 if number is not assigned
to local subscriber.
Skip Rewrite is skipping lnp rewrite rules.
Change-Id: I8d7654bbe02db6f2a92f93712e5b34185ede423d
9 years ago
Victor Seva
be887d26d7
MT#20151 kamailio: increase [from|to]_tag field size on dialog
...
Change-Id: I7730f5db130f9e0f8079bd7bda1a4ca3788f185c
9 years ago
Victor Seva
2791a0a89b
MT#18235 kamailio: increase calle[e|r]_contact field size
...
Change-Id: Ieaa726271ec317fdee1d4b0be15f60935b92ef72
9 years ago
Kirill Solomko
555ea1cd76
MT#18411 fraud email templates add "interval" representation
...
Change-Id: Ifffa8642f4d502a02891b0a1bebc3e5343b0660a
9 years ago
Andrew Pogrebennyk
fb13ce6d1f
MT#19401 MT#6969 fix the allowed_ips_grp preferences shift
...
Change-Id: Iee2857c43fb5baa43a85a9a70c0daa60237a90ec
9 years ago
Kirill Solomko
79c8350e02
MT#19595 fix missing usr/dom/peer lnp rewrite rule set preferences
...
Change-Id: If86047066099fde97c1dddbca43a7d695bcca99d
9 years ago
Kirill Solomko
5570b3796b
MT#16491 drop index src_dst_stime_idx ON accounting.cdr
...
Change-Id: I3d0d53e0fb54c0142f18c2b4adffd7d12a21bc50
9 years ago
Andrew Pogrebennyk
cd13ea6f92
MT#19565 add key uuid_idx on kamailio.subscriber
...
Change-Id: Ic9e36c9ce5397330dd27c1f2f21d3541027379c1
9 years ago
Andrew Pogrebennyk
25633918ac
MT#19575 allow adm_ncos on customer level
...
Change-Id: I0d11de2102d5f78e17f3c55c1c4d9ff46270d155
9 years ago
Victor Seva
811d638b38
MT#17333 LNP related preferences
...
* set rn parameter
lnp_to_rn preference (peer/usr/dom)
* add npdi parameter
lnp_add_npdi (peer/usr/dom)
* allow lnp queries for local subscribers
lnp_for_local_sub (usr/dom)
Change-Id: I62ed95b436f3199a019e5e10e5afc0f09045e234
9 years ago
Rene Krenn
2844d18d4c
MT#17795 cdr fields for balance id, cash/freetime before/after, package id
...
-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
9 years ago
Andrew Pogrebennyk
188fa2bde8
MT#19071 add ICE=force-relay option for use_rtpproxy pref.
...
Change-Id: I42d5ea2931ca855d44318689571ae16ecc3f0a09
9 years ago
Victor Seva
4c0616b8fd
MT#19009 kamailio: upgrade to 4.4.0
...
* 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
9 years ago
Kirill Solomko
1a423fec6f
MT#18499 kamailio.contract_preferences contract_location_pref
...
- 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
9 years ago
Kirill Solomko
85974017dd
MT#18411 added credit_warning and customer fraud email templates
...
Change-Id: I99a093720b4dfab898d69b4c85adfd21dc72284e
9 years ago
Andreas Granig
41ef61b98f
MT#18593 Add emergency priorization prefs
...
Change-Id: I5099d1e461f22910428701fa7c8b5e48a55dbe59
9 years ago
Andrew Pogrebennyk
234cf52eab
MT#18505 add preference call_deflection to disallow 302 redirect
...
Change-Id: Idc23ec08ff74e7a37a04ebb99e05d69ec278cb2d
9 years ago
Andreas Granig
ae91ea8ee7
MT#16777 Add caller lnp lookup peer pref
...
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
9 years ago
Kirill Solomko
b0f3460f1a
MT#18499 expose emergency_prefix and emergency_suffix voip preferences to contracts
...
Change-Id: I38b1cc5f5dd38beff047b598f1f033b3010f58ab
9 years ago
Kirill Solomko
d0c82423db
MT#18499 added voip_contract_locations, voip_contract_location_blocks
...
Change-Id: I229e66e9d80e59438f0ffdaca1188e3b5f10259e
9 years ago
Andreas Granig
de7c77be65
MT#10537 Add duri_in_idx key to cdr table
...
We're querying based on destination_user_in, add a key to handle
it properly.
Change-Id: I6a5fcffb8e8e34e56e63dae5107bc75d44348c46
9 years ago
Andreas Granig
27682f7a01
MT#16777 Add default_lnp_prefix usr/dom/peer pref.
...
This can be set and will end up in CDRs if no LNP prefix is found
in local LNP lookups.
Change-Id: Idd74d3f757d947af8dc6d59a563a9322331c0d57
9 years ago
Andreas Granig
8bfcb848e4
MT#16777 Add lnp peer pref and lnp prefix cdr col
...
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
9 years ago
Andreas Granig
ed26ccd12e
MT#16777 grant select for lnp tables to kamailioro
...
Change-Id: I54747eaee5bc232a87db4146c9eaac477ee5f614
9 years ago
Andreas Granig
1710f50ea0
MT#16777 Add lnp rewrite columns and routing num
...
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
9 years ago
Andrew Pogrebennyk
3a2c5e4791
MT#18255 create index on usr_preferences (attribute, value)
...
Change-Id: Ibb57963f2c130553870fbf43e136655e6f7e94ab
9 years ago
Andrew Pogrebennyk
6209aea0b5
MT#18199 add ability to use forwarder's UPN as inbound_uprn
...
Change-Id: I30f47311e44ec06215fa2c984035ddb31a1c4ef0
9 years ago
Gerhard Jungwirth
d761c0ffac
MT#15883 rtc_session allow non-unique subscriber_id
...
Change-Id: If965f43ce2ab69b98a23edba428a1a474970637a
9 years ago
Gerhard Jungwirth
e003ede41c
MT#15883 adapt rtcsessions table
...
for the more elaborate workflow
Change-Id: Ic816fd7ee30e066c8bfc427f69fbb42286212820
9 years ago
Kirill Solomko
ace0de436f
MT#16017 voicemail, fax provisioning, mail_to_fax db changes
...
- added kamailio.voicemail_spool 'flag' column
- added kamailio.voicemail_spool 'msg_id' column
- removed voip_fax_preferences triggers for kamailio
- removed voip_fax_destinations triggers for kamailio
- added provisioning.voip_fax_to_fax_preferences table
- added provisioning.voip_mail_to_fax_secret_renew_notify table
Change-Id: Id00af6599a32f5cb7deff62a8de9426c5116e743
9 years ago
Jozef Kenyeres
6f554f4bf2
MT#17043 Limit conference room participants per subscriber,
...
conference_max_participants is user, domain and contract preference now.
Change-Id: Ia707356a4c4d7bd1ec5662773d66cbae9b7450b2
9 years ago
Jozef Kenyeres
da23b4d26e
MT#2013 Remove UTF symbol from DB statement which fails SOAP WSDL generation
...
Change-Id: Ic6804024c07a1c847f02feeff2f0633fc22c4221
10 years ago
Andreas Granig
6346e10981
MT#16777 Add auto_increment to lnp_providers.id
...
Change-Id: Idfdf22886a5aad8f1f993d55f72d64d359a1e15f
10 years ago
Joyef Kenyeres
d3c24b3211
MT#2013 adds/removes "clir_override" preference to voip_preferences
...
Change-Id: Ie1cfa01322322327819246308af173945cbe3893
10 years ago
Richard Fuchs
88d326c393
MT#16273 add DB grants for voisniff LI operation
...
Change-Id: I51be97c15f6184fffea84d8da6b80c9311afe545
10 years ago
Andreas Granig
ce73e664c2
MT#16777 Add prefix and number key to lnp tbl
...
- 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
10 years ago
Gerhard Jungwirth
01087bab46
MT#15883 introduce rtc connection variables
...
Change-Id: I49d6cfd91277247750d5d40b295ae23596531d5a
10 years ago
Rene Krenn
aeb1349bc5
MT#16655 add "minute" interval unit
...
Change-Id: I4da052692660a798b8924155a559007be7158f03
10 years ago
Kirill Solomko
f080027ac1
MT#16491 accounting.cdr index for calls query optimization
...
Change-Id: I715eda053ffa9ecad640c0d999ab97f357cba34f
10 years ago
Andrew Pogrebennyk
601f858638
MT#16329 MT#2161 add outbound_*_user_is_phone preferences
...
Change-Id: I473f8bfdf6f422808ab70cfe2e367158ab1b8953
10 years ago
Andreas Granig
c9d4caa588
MT#13367 Add softphone autoprov preference
...
Change-Id: I840011a3a1a9081aeae2a8c5fad4ddb5b90d690b
10 years ago
Andrew Pogrebennyk
7a37fc9b00
MT#16083 remove the default values of enum profile preferences
...
The problem I am trying to solve was that the trigger MT#10199 that handles enum
preferences inserts default values into prof_preferences table for the enum
preferences with default values and these defaults become real prefs instead of
the values set by user on the domain level, while user can neither see nor
change prof preferences. This affects all subscribers with any subscriber
profile assigned.
So the decision is to have no defaults on the profile level (like we do on the
subscriber level). User can set the preferences explicitly in the profile.
Also we need to show null option "use domain default" on the profile level.
P.S. While at it, I noticed that preference 'ua_header_mode' did not have the
'use domain default' option, so I had to add it before fixing all preferences.
Change-Id: I3037b0da44bf794b11c564d61de940de27de23e2
10 years ago
Andrew Pogrebennyk
ee1313eda8
MT#16033 Improve preference description for "force_outbound_calls_to_peer"
...
Change-Id: I53b3815de8e0998d71c76dc91ccdb692f39b7b65
10 years ago
Richard Fuchs
126594e4ba
MT#15977 add grants for sems/prepaid/libswrate
...
Change-Id: I73606f215d5057355d52520d54149c5c2a8c01fe
10 years ago
Rene Krenn
321f486bba
MT#15477 add topup_log table
...
retrigger
Change-Id: I3b9296384930ce7f8f78bb1d220572abd81c16fb
10 years ago
Gerhard Jungwirth
d51933fa18
MT#15443 fix typo in preferences enum defalut
...
Change-Id: I3df1d01ae8fc422bf86d09c6bf01054a53f5e044
10 years ago
Victor Seva
a29f63dbce
MT#15193 fix rate-o-mat provisioning grants
...
Change-Id: I1d3932bb64461ff07af240263369ecfd88b3e8ce
10 years ago
Kirill Solomko
4dcc2ffdfc
MT#12707 - add 'identifier' domain and peer preference
...
- add 'source' field for accounting.malicious_calls
Change-Id: I65eed3657fe6f9c37350529c923715728711c2d5
10 years ago
Rene Krenn
584b376584
MT#14255 add balance underrun detection timestamp cols
...
+add "hour" balance interval enum value
Change-Id: Ic52ebf4af8744bf2d1f732a7aa689730e0300db5
10 years ago
Kirill Solomko
34e08ad886
MT#14875 - Peer preferences update trigger fixes
...
- fix updates based on id instead of ip
- fix duplicate kamailio.peer_preferences on peer enable/disable
- fix duplicate 'transport_protocol' peer_preferences
Change-Id: I6598afbf93d1ab3bfe553f6f3de0c526e7898267
10 years ago
Andrew Pogrebennyk
ca64bb31b8
MT#13459 MT#11831 add Romanian language to the enum preference
...
Change-Id: I8b43de9435e1dbf1ba6d3331b93f2f27bbdcb443
10 years ago
Kirill Solomko
54f1988337
MT#12707 - add accounting.malicious_calls table
...
- add malicious_call_identification voip_preference
- add malicious_call_identification sound set
- add 'Applications' voip_preference_group
Change-Id: I6707913b576ec7066d6c5a5af06eeff903c2ce20
10 years ago
Andrew Pogrebennyk
2a0b09550d
MT#14227 add preference for choosing libswrate/libinewrate for prepaid
...
Change-Id: I31bb09e2fe62cf1bdbbccc6c765f00dd7fe31544
10 years ago
Rene Krenn
b039943d76
MT#14301 drop prof package 'status' column
...
Change-Id: I0563dc38c3ce41b7614864ccae157c61712b65ec
10 years ago
Rene Krenn
0f7770117e
MT#13903 add 'topup_interval' start mode
...
Change-Id: Ia191c37379f9b0a977436dd662f7e820efdd67d9
10 years ago
Rene Krenn
be14d6fe7f
MT#13903 add package_id column to vouchers
...
+topup counter columns for contract_balances
Change-Id: I9e44cdc38f06b5248aa595222128a3c82b4e8580
10 years ago
Rene Krenn
4f0043b6b2
Revert "MT#11917 extended journal table"
...
This reverts commit 2431bb6374
.
Change-Id: Iaf9a3a4acd932fb36733fad16ec14aa5a1ae8e92
10 years ago
Rene Krenn
2431bb6374
MT#11917 extended journal table
...
columns username and content_format added. 3 formats
for storing a resource data snapshot are supported:
json (default), json_deflate, storable
Change-Id: I8cb1fed7a5d6d01437c2129ea1b3053b2252cae9
10 years ago
Irina Peshinskaya
fe1c0e12fb
MT#13971 Remove unnecessary debug from fill_billing_fees procedure
...
Added as additional script to disable debug in already installed procedure,
as fixed 15167 will not run again on upgrade.
Change-Id: I9c8556187b472e4a45faf00e68b3e93f43d99965
10 years ago
Irina Peshinskaya
4fd69bd40c
MT#13971 Remove unnecessary debug from fill_billing_fees procedure
...
Change-Id: Id28dfcd9b088b3142630d404873c7d7cd14722cd
10 years ago
Alexander Lutay
08136a0355
Revert "MT#13971 Remove unnecessary debug from fill_billing_fees procedure"
...
This reverts commit db9c2a05f6
.
Change-Id: I8dae173a22d3cc8fb18a5ef3dc2da9ea1b534319
10 years ago
Irina Peshinskaya
db9c2a05f6
MT#13971 Remove unnecessary debug from fill_billing_fees procedure
...
Change-Id: I397f10fb8564a3edbdc0ad83e9d6d97a4e3bd13d
10 years ago
Victor Seva
5f024cd506
MT#13919 PRO: add ldap database
...
Change-Id: I67d4d3853017a0d2b4a564735551758c3931eb6c
10 years ago
Victor Seva
7588c96f3d
MT#13329 adapt rewrite rules to new upstream syntax [*] -> [+]
...
Change-Id: If13e0fc7ea42f99d98835402fee148d27198cfea
10 years ago
Victor Seva
1c77b0c04a
MT#10339 kamailio: upgrade to 4.3.0
...
This will be executed in every node in order to
be able to have different versions during the upgrade
process
Change-Id: I0fd2b1c858f792b233b9fea348320c7635f4ebd2
10 years ago
Jenkins Git User
4e02874733
MT#12643 billing network, profile packages
...
Change-Id: Ic904086fac4ac5b76e5dd5174b86fa09d838526f
10 years ago
Andrew Pogrebennyk
750e43a504
MT#13595 add new option to pref bypass_rtpproxy
10 years ago
Irina Peshinskaya
ce353865a6
MT#13369 Extend enum for lineranges positions variants
...
Change-Id: I2689180e84793379c124f6c9a9c4d7063c24288b
10 years ago
Andreas Granig
2f03406c1d
MT#13201 Add billing_data acl to admins
...
Change-Id: Ibd2cc1ff29fe00924b37a05614ce8b1066749bdd
10 years ago
Irina Peshinskaya
086250db36
MT#7227 Fill billing_fees from temporary location with not unique records.
...
Change-Id: I3171ce5b57b15830b46a187aa332516b2f8ebe17
10 years ago
Kirill Solomko
63e368d9e2
MT#11225 - add billing_profiles.fraud_use_reseller_rates
...
Change-Id: I592bd5a41743ce8a21aed493d9cb0d851cb7192f
10 years ago
Gerhard Jungwirth
5b61f8174e
MT#12303 expose dialogic configs optical, nfs and snmp
...
Change-Id: I63e12ea78dd0c9819d3d53f176f696f7e1fca737
10 years ago
Irina Peshinskaya
7c19a94456
MT#11791 Fix typo in the build fix
...
Change-Id: I9183a86e49f07f2d44205cad146b2e27aadc09bf
10 years ago
Irina Peshinskaya
07431b9129
MT#11791 Fix broken PRO SP2 installation.
...
It doesn't have mentioned columns, 13219 was "not_replicated".
Change-Id: I20a5fffadbf097c3488f367479cfb5414f6d2845
10 years ago
Irina Peshinskaya
8bf9cddb5a
MT#11791 Increase costs precisions to 6 number after point
...
Change-Id: Iba4d3ef4ab6b73e4eadfc6b2e6d10b9174db13ec
10 years ago
Alexander Lutay
178736df06
MT#12507 Fix 15139.up: remove hardcoded reference to voip_preference_groups
...
Otherwise 2.8-mr3.8 upgrade failed with error:
> Applying revision script /usr/share/ngcp-db-schema/db_scripts/diff/15139.up:
> ERROR 1452 (23000) at line 4: Cannot add or update a child row: a foreign key constraint fails
> (`provisioning`.`voip_preferences`, CONSTRAINT `vpgid_ref` FOREIGN KEY
> (`voip_preference_groups_id`) REFERENCES `voip_preference_groups` (`id`) ON UPDATE CASCADE)
It happens because statements are executed on sp1/sp2 (even/odd id's):
> mysql> select * from voip_preference_groups;
> +----+----------------------------+
> | id | name |
> +----+----------------------------+
> | 2 | Call Forwards |
> | 4 | Call Blockings |
> | 6 | Access Restrictions |
> | 8 | Number Manipulations |
> | 10 | NAT and Media Flow Control |
> | 12 | Remote Authentication |
> | 14 | Session Timers |
> | 16 | Internals |
> | 18 | Cloud PBX |
> | 20 | XMPP Settings |
> +----+----------------------------+
> 10 rows in set (0.00 sec)
Change-Id: I90782a5dae5017f22c240ced15661b88594cff69
10 years ago
Andreas Granig
6d0b93fc7e
MT#12503 Drop ngcp.cfg_schema table
...
Has been moved to sqlite, no need to keep it in db anymore.
Change-Id: I5839bda96d5e9e20faa089eb4cc8524b2cadca41
10 years ago
Andrew Pogrebennyk
17420f0392
MT#12465 add new option to force_outbound_calls_to_peer enum pref
...
Change-Id: Idc4b249bb85a9c53ca3484ae49fb5e69ef13198d
10 years ago
Andrew Pogrebennyk
d4c006e4a8
MT#11859 update kamailio.version for table sca_subscriptions
...
Change-Id: I7120e388117ef0c24536d9fbac653a5352c5c4df
10 years ago
Andrew Pogrebennyk
2e9ce240c2
MT#11501 fix the type for dialogic enum prefs
...
Change-Id: If2204d477e54bbae5143d193662fe4fabc3d94b8
10 years ago
Andreas Granig
69276708cb
MT#12385 Add reseller_id to EDR head.
...
Change-Id: I29a56f38e12a5f7ed703397d456cf7b10030e44c
10 years ago
Gerhard Jungwirth
db5440d041
MT#12303 peer preferences for dialogic as ss7
...
Change-Id: I24b389e5fa3456c83cf1edc8b8416365079939f9
10 years ago
Rene Krenn
7c6ab9d539
MT#11917 Adapt journals table
...
Change-Id: Ibfd27acbd37c929358b2ec8d4412fc6707f69753
10 years ago
Richard Fuchs
578191201c
MT#12227 unify srtp/avpf prefences into a single protocol preference
...
Change-Id: Id34fd60dd7f6d2b837848f7b5349453f54858cd9
10 years ago
Kirill Solomko
08252f5543
MT#11493 - add set sql_log_bin=0 to 15148 and 15151 not_replicated
...
Change-Id: Icebde6369f83451faaef91cea9330a1610d9a68d
10 years ago
Gerhard Jungwirth
b9d20d874e
MT#11501 dialogic add isdn config option
...
Change-Id: Id2cdd9edf81eb2c6ca79aab04e189334d0c01ad1
10 years ago
Irina Peshinskaya
1237ae3129
MT#11147 Add possibility to have some field extensions of the same model
...
Change-Id: Id2525047ff7f1993b081ed69ee91099af4b5d4e8
10 years ago
Kirill Solomko
a932d63799
MT#11157 - grant SELECT on stats.call_info to nagios@localhost
...
Change-Id: I7aaef7dc2f66579f335b38a50539091ebd037ba2
10 years ago
Kirill Solomko
f7892e7027
MT#11157 - rename "stats" db initial creation into not_replicated
...
Change-Id: I3f1808810b80d1755e9cd30314d2a5343dc91a8f
10 years ago
Andrew Pogrebennyk
7d717e9579
MT#12053 Add conference_max_participants preference and sound handle
10 years ago
Gerhard Jungwirth
75b8236573
MT#11501 create dialogic config options
...
Change-Id: I4fae4521bf458b7ab18b656615c30f4d53453822
10 years ago
Kirill Solomko
6c54fdfb66
MT#11157 - create db "stats", move sipstats.call_info to stats.call_info
...
Change-Id: Iae82b3a64e9a74f137a8e18e37a97dc84a7dc154
10 years ago
Rene Krenn
a17f37a480
MT#11917 Add billing.journals table
10 years ago
Andrew Pogrebennyk
b342a0f8da
MT#11615 introduce preference ignore_cf_when_hunting
10 years ago
Kirill Solomko
b8172987ca
MT#11157 - add sipstats.call_info table
...
Change-Id: I84d16fcabc78684686986bd77a4644ae67a3626f
10 years ago
Irina Peshinskaya
61ecaeb723
MT#11147 Rename forgotten devices with empty types.
...
Change-Id: I499f475840d27b9967bdc7cb96999206a7a7a77e
10 years ago
Andrew Pogrebennyk
950852114a
MT#11241 add sound handles: conference_pin, conference_waiting_music
10 years ago
Irina Peshinskaya
4918c79fde
MT#11147 Rename already existing phones types from 'basic' to 'phone'
...
Change-Id: I362c6f949005a87adc06bf3765ead078fc20623c
10 years ago
Irina Peshinskaya
4c07f83a9e
MT#11147 Add forgotten extensions_num
...
Extension doesnt have bootsrtap uri
And rename type basic to phone
Change-Id: I7a4cd795850b16afcba8259b3f85e4e82c5ad230
10 years ago
Andrew Pogrebennyk
8a75a8c1d1
MT#11219 rename prompts x1..9.wav to 1..9-and.wav
...
The reason is that we should use the same naming convention as in ngcp-prompts.
While at it, add conference_first handle.
Change-Id: Ie88bc5d9844eddb38107079508ea23d2371a9328
10 years ago
Irina Peshinskaya
816c3fb049
MT#11147 DB changes for device phones-extensions link
...
Change-Id: I1113faf6b43f87a0e54f15a589e54a00c44eb518
10 years ago
Andreas Granig
88f528fcb2
MT#10879 Increase mailbox column to fit uuid.
...
Needed for when there is no primary number.
Change-Id: I618bbd83fb74ea369ecdd697fcd06dda45949b57
10 years ago
Richard Fuchs
100ba51795
add "rtp_interface" preference
10 years ago
Andrew Pogrebennyk
ac544f4b5d
MT#8129 fix the conference prompts and language preference
...
Change-Id: Ifb0b233a7e1ed0df48fdef628b887e1b1a05e598
10 years ago
Andrew Pogrebennyk
7ae378e395
MT#11005 add queue wrap-up time and max length prefs
...
Change-Id: I0d51bb1057a2fd0e8692898edda7e6bef2a4457c
10 years ago
Andrew Pogrebennyk
21bf3c51e5
MT#8129 add conference sound group and handles
...
Change-Id: Icf9f5c4c1ad864147689cccd74ea715abb4f4b72
10 years ago
Kirill Solomko
8a0addfaad
MT#10169 - peer host/rule updated triggers with the "enabled" column logic
...
Change-Id: Id54389a7043080875b9c6a580e4a1f9f321b6868
10 years ago
Irina Peshinskaya
c0fdacbe32
MT#10715 Add polycom profile parameter
...
Change-Id: I232a1eae6c905372e76510ed9127a749de18fb71
10 years ago
Irina Peshinskaya
5dade741b3
MT#10715 Change bootstrap method parameters to enable custom ztp profile.
...
Change-Id: Ic4a5391dfd32c71d576332bcfc6468196841a1b1
10 years ago
Andrew Pogrebennyk
c637b34b46
MT#8129 introduce conference_pin preference
...
Change-Id: Ie24e9faf6bc5e3564a1b743737916c55a30178df
10 years ago
Andrew Pogrebennyk
d533529724
MT#9453 introduce CF adm NCOS level.
...
Change-Id: I5409d2657b670000fd3b45dc1213081d9910e5fa
10 years ago
Irina Peshinskaya
b1a81d0b0e
MT#10715 Add Polycom vendor
...
Change-Id: I5b8dfefbdcaf0eb120e59e634eaa091db8c70270
11 years ago
Kirill Solomko
dc1c7e6eca
MT#10169 - add voip_rewrute_rules.enabled columns creation into 15129.up/down
11 years ago
Kirill Solomko
2ba55d1c76
MT#10169 - add voip_rewrute_rules.enabled logic into the dialplan triggers
11 years ago
Andrew Pogrebennyk
5eaef5f0aa
MT#10367 add language for voicemail/conf sounds a preference
11 years ago
Andrew Pogrebennyk
cef701074e
MT#10691 add cloud_pbx_callqueue preference and sound_handles
11 years ago
Andreas Granig
c27ba3ed26
MT#10587 Add autoprov_field_devices.encryption_key
...
Change-Id: I0f5ef8ab8fdc7b65584e0667612feb5fa35913b3
11 years ago
Andreas Granig
a35672e47c
MT#10543 Add enable_t38 preference.
...
Change-Id: I442347314051876ca80a24df04443d61c353e90d
11 years ago
Andrew Pogrebennyk
1c9ffd2f1a
MT#10381 add concurrent_max[_out] as contract pref
11 years ago
Richard Fuchs
18ed7a9d15
MT#9763 add key for device_id column
11 years ago
Richard Fuchs
9b6ddd46b9
MT#9763 add device_id column for pushd
11 years ago
Andreas Granig
2188e1bb08
MT#10199 Fix triggers for subscriber profile pref.
...
Change-Id: Id4bb50f69070ef2e91744b6fad3145507b7f39e2
11 years ago
Andreas Granig
a8b22502e3
MT#10199 Add triggers for subscriber profile pref.
...
Change-Id: Ide255d33879528dd3d36891fb44af0fc9ff69541
11 years ago
Andreas Granig
d030a61d5b
MT#10199 Add subscriber profile preferences.
...
Change-Id: I165faf42ec5d48f8df8d685b9a727585765ed0b8
11 years ago
Irina Peshinskaya
71e1006bb4
MT#9177 No linksys redirect
...
Change-Id: I88e8b454a92996f58f3e8cdc553f02c7a2bccd41
11 years ago
Andrew Pogrebennyk
96fa869576
MT#10029 add preference outbound_to_user
11 years ago
Kirill Solomko
27d06994a2
MT#8645 - add billing_profiles columns status, create_timestamp,
...
modify_timestamp, terminate_timestamp
11 years ago
Andrew Pogrebennyk
62901ad3df
MT#10025 migrate force_strict_number_match to "extended_dialing_mode"
11 years ago
Irina Peshinskaya
3a5fdb77b7
MT#9177 Add custom provisionin uri
...
Change-Id: I809691bacb8cc337c9fcf70e30a1443eea9f46b2
11 years ago
Andreas Granig
f65e3aee79
MT#9177 Remove duplicate file.
...
Change-Id: I9f826725d400a280b114a82ce4d0b5890deea3a6
11 years ago
Andreas Granig
576ed435d4
MT#9177 More fixes.
...
Change-Id: I6be6892434bf9ec93feac35537921a34a1f10990
11 years ago
Andreas Granig
942dcd05c9
MT#9177 Fix stray key on non-existent column
...
Change-Id: Ie820ea54c2c096340ffb648aea14141b289464de
11 years ago
Irina Peshinskaya
82ed0d71a1
MT#9177 Fix device vendor credentials table creation.
11 years ago
Andreas Granig
6c51a53b57
MT#9177 Rework autoprov vendor credentials.
...
Hook it up to a device model.
Change-Id: Id89d6b639bbd16b486a3b33f02de5c02707e77e3
11 years ago
Irina Peshinskaya
26bfba0d69
MT#9177 Remove DB version with searated cisco sync fields
11 years ago
Irina Peshinskaya
a6e40411f0
MT#9177 Rename scripts to proper numbers.
11 years ago
Irina Peshinskaya
3cac4cb07d
MT#9177 Add potentially yealink. Add storage for credentials.
11 years ago
Irina Peshinskaya
b91916fd07
MT#9177 Restore separated table schema too.
11 years ago
Irina Peshinskaya
58515ef31c
MT#9177 Centralized sync preferences table
11 years ago
Andrew Pogrebennyk
50a6588e8d
MT#9277 voice prompts list for the playbalance app
...
Change-Id: I8fec916657bee35ecf6d3f090c15b1b65ef14be8
11 years ago
Andrew Pogrebennyk
5a58058dec
MT#9277 voice prompts list for the voucher app
...
Change-Id: Ie8a8de0df5b690a0e1928e5e3745efcb70deac71
11 years ago
Andrew Pogrebennyk
9bfb7ff459
MT#9565 move new columns on CDR to separate file
...
Those *are* replicated, so having them in 15108_not_replicated didn't work.
Change-Id: I92bdda92e4daaec57bb8d0a35e82808f2a7552dd
11 years ago
Andrew Pogrebennyk
e0ad744615
MT#9565 rename to 15108 because 15106 was already taken.
...
Also fix the typo that caused:
Applying revision script /usr/share/ngcp-db-schema/db_scripts/diff/15106_not_
replicated.up: ERROR 1060 (42S21) at line 25: Duplicate column name 'src_leg'
Change-Id: Icd3690c9e996134e9aa0d137cf0ed4c37a710f7a
11 years ago
Andreas Granig
30a67a396d
MT#9565 Increase src/dst-leg acc columns
...
Change-Id: Iaeb1084d2b9ec6bfab44b2785010bcc2e0056627
11 years ago
Andreas Granig
79a6e540a1
MT#9565 Introduce gpp0-gpp9 and change cdr schema.
...
Change-Id: I18ea8356e06c45741dfabd2dc19e21fe728d4bd8
11 years ago