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
Alexander Lutay
48514d8750
MT#11123 Fix MySQL 5.5.41 error 'No database selected'
...
Change-Id: I50da93909f2bc190bfb98115a03b53a9ee84cf35
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
Victor Seva
26ae24b7f8
MT#10699 remove ngcp.cfg_schema creation
...
This is going to be managed using a sqlite3 file instead
Change-Id: Idae48bf1acb112414bcdbea06fd0b93f4820a1df
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
Irina Peshinskaya
21eafdeaf1
MT#9431 Add proper enum values for cloud_pbx_hunt_policy preferences.
11 years ago
Andreas Granig
016b4d5668
MT#9277 Add voucher schema.
11 years ago
Victor Seva
3d7f34bb31
MT#8951 grant access on more tables to prosody
...
Change-Id: Id3264773d4cd00699c946d8f0993cba780dd23a9
11 years ago
Victor Seva
b6856d7335
MT#8951 grant access on more tables to prosody
...
We need more access in order to retrive the info for generate the vcard
Change-Id: Iacca0b7d99ec2c17961170f1e43320ad2d8bb311
11 years ago
Andrew Pogrebennyk
4e084631e9
MT#9209 add 'use domain default' option to contract preference
11 years ago
Andrew Pogrebennyk
122c3ba8e1
MT#9209 MT#9225 add allowed_clis_reject_policy; populate allowed_clis
11 years ago
Andrew Pogrebennyk
b01f1b43c6
MT#6969 MT#9041 fix the aig sequence auto-increment
11 years ago
Andreas Granig
fd845027c1
MT#9051 Grant select on p.voip_domains to kamro
11 years ago
Andrew Pogrebennyk
4ad463197e
MT#6969 MT#9041 fix the aig sequence on new clean DB
11 years ago
Andreas Granig
aa2a726288
MT#6969 Properly reset aig sequence.
11 years ago
Andreas Granig
a77663e278
MT#6969 Shift aig sequence up by 100.
...
Reserve the first 100 ids for internal use. We already use
kamailio.address for allowed ips, so don't clash with our use for
internal authentication.
11 years ago
Irina Peshinskaya
eb7a379c96
Revert "MT#7673 Fix for columns count in insert"
...
This reverts commit a8be7dda88
.
11 years ago
Irina Peshinskaya
a8be7dda88
MT#7673 Fix for columns count in insert
11 years ago
Irka
9b2dc95d5b
MT#8437 Fixes in translation of passwd policy messages
11 years ago
Irka
f44535f76f
MT#8437 Translation of errors for ngcp-panel password policy
11 years ago
Andreas Granig
a6a2c1d8ae
MT#8633 Fix is_primary flag for primary numbers
11 years ago
Irka
92921b4613
MT#8371 Make billing_mappings actual id selection faster.
11 years ago
Andreas Granig
1f291b9896
MT#8503 Enter a default lbrtp_set "None"
...
Just to get a proper select option in the panel.
11 years ago
Andreas Granig
a3e871d5aa
MT#8503 Use enum for lbrtp_set.
11 years ago
Andreas Granig
c16a1099d8
MT#8503 Set lbrtp destination set id.
11 years ago
Victor Seva
26cad40654
MT#8117 add READ grants to kamailioro user too.
...
Now we use that user to read-only connections.
11 years ago
Andreas Granig
6b13c15dfc
MT#8299 Add device annotations schema.
11 years ago
Irka
69cf0b88df
MT#8433 Don't clear contract_balances on invoice deletion.
...
As far as I remember it is rudiment of old invoicing schema,
when balance supposed to be changed on invoice issue. So now
we allow to remove invoices from web interface and clear
accountent balance => fixed.
11 years ago
Irka
3ad099dd13
MT#5879 Clean up code and db from invoice templates active flag.
11 years ago
Andrew Pogrebennyk
5c3a8e1f50
MT#8329 make allowed_clis also contract preference.
11 years ago
Gerhard Jungwirth
c93ca4b805
MT#7673 create preference voicemail_echo_number
11 years ago
Irka
2dcd09f954
MT#5879 Allow continue or regenration to auto-generation script.
11 years ago
Gerhard Jungwirth
dc597912e8
MT#7843 copy vat data from billing_profiles to contracts
...
vat_rate -> vat_rate
vat_included -> add_vat
trying to use the active billing_profile for each contract
also provide a rudimentary down-script (this is lossy though)
11 years ago
Andrew Pogrebennyk
ee368b6084
MT#7319 add new concurrent_max*_total preferences.
11 years ago
Andreas Granig
e6e1e167d0
MT#8065 Create #1 contract balance if none exists.
11 years ago
Irina Peshinskaya
5193028fc8
MT#7867 Changes for invoice_template per subscriber.
11 years ago
Andrew Pogrebennyk
ab052c6ecf
MT#6039 fix 0b441e9
11 years ago
Andrew Pogrebennyk
0b441e9e02
MT#6039 new preference emergency_location_object
11 years ago
Andreas Granig
2ada5d9703
MT#7955 Grant some rights to asterisk user
...
Allow to select subscriber and dbaliases tables to find the
right mailbox for any alias.
11 years ago
Andreas Granig
60b1b95e08
MT#7793 Fix grants for exporter.
11 years ago
Andreas Granig
e1550dd5ee
MT#7793 Add "filtered" option in export status
11 years ago
Andrew Pogrebennyk
f3804fe133
MT#7905 add new preference force_strict_number_match
11 years ago
Andreas Granig
6b96c44a2e
MT#7793 Allow select grants for event exporter
11 years ago
Andreas Granig
2b4365b603
MT#7793 Add grants for event exporter
11 years ago
Andreas Granig
c3dc661d63
MT#6693 Fix hardcoded group.
11 years ago
Andreas Granig
53c205da73
MT#7793 Add keys to accounting.events
11 years ago
Andreas Granig
d9e2305f38
MT#6693 Handle pseudo-preferences for subprofs.
...
Certain preferences (speeddial, voicemail, faxserver etc) are not
really preferences, but are handled specially on the preferences
page. Introduce special preferences for them to be able to select
them when defining subscriber profiles.
11 years ago
Andreas Granig
683f0fbc2e
MT#7793 Add accounting.events table.
11 years ago
Andreas Granig
f058a1d2e9
MT#7545 MT#7771: migrate subs to new schema.
11 years ago
Andreas Granig
c250a7a531
MT#7771 Add cloud_pbx_ext preference.
11 years ago
Andreas Granig
62fd745666
MT#7545 Rework pbxgroup table to mapping table
11 years ago
Victor Seva
78aaaa492f
MT#5073 sync with 3.0 branch.
...
This was a mess. I should sleep more and drink less RedBull.
11 years ago
Victor Seva
e6ca2a59db
MT#5073 Add the statement of the prosody table creation. fix 1083b39a8c
...
I don't know how this version of the patch got here. We really need Gerrit!
11 years ago
Andreas Granig
8ecd8fb1ad
MT#7679 Add random and circular hunt policy.
11 years ago
Victor Seva
1083b39a8c
MT#5073 Add the statement of the prosody table creation.
...
This is needed in order to not break the replication in the upgrade
process from 2.8 to 3.0.
11 years ago
Andreas Granig
0b9ace01d8
MT#7471 Fix foreign key constraint.
11 years ago
Andrew Pogrebennyk
dd14e75313
MT#5101 add 'use domain defalut' enum choice for subscriber.
11 years ago
Andrew Pogrebennyk
5b32bac116
MT#7319 add preference bypass_rtpproxy
11 years ago
Andreas Granig
806453a8b6
MT#7471 Fix contract schema and add down script
11 years ago
Irina Peshinskaya
3d8a8fbf55
MT#5879 Change default invoice email template.
11 years ago
Irina Peshinskaya
604ab9c559
MT#5879 Set invoice data column to 16M size.
11 years ago
Irina Peshinskaya
d3cb00546e
MT#5879 Add sent masrker to invoices.
11 years ago
Irina Peshinskaya
6edbf0dd3f
MT#5879 Set invoice data column to 16M size.
11 years ago
Andreas Granig
70c48dc4ab
MT#7471 Make ncos and block list contract prefs
11 years ago
Andreas Granig
3e11d5414f
MT#7471 Add contract preferences schema.
11 years ago
Gerhard Jungwirth
187af22f66
MT#5775 unset internal flag from ringtimeout
...
and set its group to "Internals"
11 years ago
Andreas Granig
3457699864
MT#5879 Rename bank_name to bankname.
11 years ago
Andreas Granig
b956910e76
MT#5879 Rework invoice-relevant tables.
...
Move VAT fields from billing_profiles to contracts.
Drop unnecessary tables.
Cleanup invoice and invoice_templates table.
11 years ago
Andreas Granig
f6b7153d8c
MT#7377 Add is_pbx_pilot to prov subscriber
11 years ago
Andreas Granig
72480c89e8
MT#5879 Add VAT number to contacts.
11 years ago
Irina Peshinskaya
1fa7b70b01
MT#5879 Fix forgotten subject field for default invoice email template.
11 years ago
Irina Peshinskaya
f2676815c0
MT#5879 Create default invoice email template.
...
Allow null reseller_id for very default email templates,
which will be used to create default reseller templates.
11 years ago
Andreas Granig
9ef559bb4f
MT#7199 add iban and bic fields.
11 years ago
Andreas Granig
a6136caee5
MT#6827 Deprecate linerange_num field.
11 years ago
Andreas Granig
c86f8ed18e
MT#6789 Add email template schema.
...
Add email templates for resellers.
Let contracts have email templates
Let subscribers have contacts.
Add password reset journal.
11 years ago
Andrew Pogrebennyk
e16d3422d7
MT#4541 add missing grant for kamailio on voip_subscribers.
11 years ago
Andreas Granig
ead92dcf39
MT#6693 Align to new pbx schema.
11 years ago
Andreas Granig
b374549045
MT#6693 Add voip_subscriber_profile_sets table.
11 years ago
Andreas Granig
61c38c9998
MT#6693 Add subscriber profile tables.
11 years ago
Gerhard Jungwirth
6c71e81b67
MT#6663 set billing_profile for default contract
11 years ago
Andreas Granig
0a60e09542
MT#6359 Properly idenfity lcr_gw by id.
...
Since allowing duplicate ips in peering servers, we need to
identify the peers using the kamailio.lcr_gw.flags column, which
is actually provisioning.voip_peer_hosts.id, instead of trying to
match on the ip address.
11 years ago
Irina Peshinskaya
6941698106
MT#5879 Rename invoice template tables with s sufficses.
11 years ago
Andreas Granig
717785f7e7
MT#6461 Fix branding table structure.
11 years ago
Irina Peshinskaya
6c9ff74b82
MT#5879 Were added occasionally, are full copy of 15046.
11 years ago
Irina Peshinskaya
3c6d96c18e
MT#5879 Add name column to invoices template, necessary changes for further pdf templating, marker for customers and their subscribers about sending/not sending invoices.
11 years ago
Andreas Granig
ba66dde559
MT#6461 Add reseller branding table.
11 years ago
Kirill Solomko
7088e3a2f7
MT#6191 add accounting.acc_cdi table
11 years ago
Andrew Pogrebennyk
8c053c1ef1
MT#6317 add missing labels to some prefs.
11 years ago
Andrew Pogrebennyk
f1c40e8fcd
MT#6279 Add new force_outbound_calls_to_peer mode to peer preference.
11 years ago
Irina Peshinskaya
7246a8d414
MT#5879 Add name column for template. Preparing for "fixed" template, where only position of rows and their amount can be modified. And resources, which may connect one template with some different css.
11 years ago
Richard Fuchs
758a86f451
MT#6013 adding "drop procedure if exists" just in case
11 years ago
Richard Fuchs
030e8dbd75
MT#6013 add unique key to contract_balances
11 years ago
Andrew Pogrebennyk
0dc43cfd75
MT#5473 delete stale kamailio.peer_preferences records.
11 years ago
Irina Peshinskaya
433f24d4ad
MT#5879 It was rather stupid to make unique index on is_active field: there could be a lot of inactive templates.
11 years ago
Alexander Lutay
18e89eccbe
MT#5571 Fix statements 15038.* to prevent duplicates with mysql_values.cfg.services
...
(cherry picked from commit f5d455c73a
)
11 years ago
Irina Peshinskaya
653d869654
MT#5879 Change is_active field to boolean and add unique index to (reseller_id,is_active) so maintain only one active template per reseller.
11 years ago
Irka
9590ad6c04
MT#5879: invoice_template table
11 years ago
Andrew Pogrebennyk
4d746c3792
MT#5949 Add preference for serial forking by q-value.
11 years ago
Andreas Granig
cc08eeb81a
MT#5933 Use from_pattern for kamailio from_pattern
...
For UPDATE/DELETE, match for full ip/proto/from_pattern in trigger,
otherwise if you have two IPs with same proto, and you delete/update
one, then both of the entries are modified in kamailio.trusted.
11 years ago
Andrew Pogrebennyk
16b00675ad
MT#5575 add the entries for sems-pbx to xmlgroups, hosts and hostgroups
11 years ago
Andreas Granig
27b134a4bb
MT#5199 Add API client certificate for admins.
12 years ago
Andrew Pogrebennyk
feacd0afaa
MT#5375 clear kamailio.peer_preferences after delete on voip_peer_hosts
12 years ago
Andrew Pogrebennyk
8f99639cb9
MT#5101 make force_outbound_calls_to_peer an enum preference
...
* Also change the DB schema and triggers to add is_primary field to kamailio
dbaliases and provisioning.voip_dbaliases
* Migration scripts.
12 years ago
Victor Seva
4106f152f7
MT#5301 upgrade kamailio database from 4.0 to 4.1
12 years ago