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
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
Andreas Granig
2804d13b67
MT#4025 Add contract_default flag to sound sets
12 years ago
Andreas Granig
12828e9b3f
MT#3981 Clean up broken/orphaned numbers.
12 years ago
Victor Seva
3e002503ad
MT#4837 do not use static id for voip_preference_group
12 years ago
Andreas Granig
cb3132b35e
MT#4685 Don't tie firmware to profile.
...
That way, you can upload multiple firmwares, and ngcp-panel
will serve the next or latest one, depending on the currently
running one.
12 years ago
Andreas Granig
92c39048ac
MT#4571 Set is_superuser for admins in reseller 1
12 years ago
Victor Seva
a039604c37
MT#3995 Also fix lcr trigger for peer rules
12 years ago
Andreas Granig
daba8d66a9
MT#3995 Use flags as id in kamailio.lcr_gw.
...
ip_addr is not unique anymore, so use the flags column when updating,
which actually reflects the voip_peer_hosts.id.
12 years ago
Gerhard Jungwirth
15907db94d
MT#4461 create a default-system contact
...
for reseller and peering contracts
12 years ago
Andreas Granig
94f933d091
MT#3971 Add max_subscribers column to contracts.
12 years ago
Andreas Granig
b55c8fe75b
MT#4007 Add destination field to autoattendant.
12 years ago
Andreas Granig
5c70029eb9
MT#4007 Rename voip_pbx_autoattendants.
...
We use plurals in table names.
12 years ago
Andreas Granig
35c2e9444e
MT#4007 Add schema for autoattendant dst config
12 years ago
Andreas Granig
213cf2cbae
MT#3997 Remove unique part of lcr_gw key.
...
This allows for duplicate IPs in lcr gws.
12 years ago
Andreas Granig
0856d09f96
MT#3997 Add via_route column to voip_peer_hosts
...
This defines a route set to be executed on the way out to a peer after
the lb.
12 years ago
Andreas Granig
36fbb2877a
MT#4145 Change contacts.postcode to varchar.
...
Can be alphanumeric e.g. in UK/Canada.
12 years ago
Andreas Granig
0b4d67738b
MT#4025 Add contract_sound_set usr preference.
...
This is used for customer-specific announcements like PBX AA and
office-hours.
While at it, enhance sound_set preference description.
12 years ago
Andreas Granig
7fc1e6ff05
MT#4025 Move contract_id right after reseller_id.
12 years ago
Andreas Granig
02a28fadbb
MT#4025 Add contract_id column to sound set table.
12 years ago
Andreas Granig
bf01fbcc73
MT#3977 Add firmware version column to PBX fw.
12 years ago
Andreas Granig
48d62c5a3a
MT#3929 Add client cert column to admins.
...
Used for generating client certs to be used as API key.
12 years ago
Andreas Granig
6726d8eb46
MT#3977 Align PBX autoprov tables to ngcp-schema.
...
This links autoprov_devices to contracts and introduces
autoprov_device_lineranges and autoprov_field_device_lines to
support multi-line configuration on one phone.
12 years ago
Andreas Granig
ded890df1f
MT#3977 Add num_lines to autoprov_devices table
12 years ago
Andrew Pogrebennyk
40d23fc226
Add 'use domain default' choice to use_rtpproxy and ipv46_for_rtpproxy prefs.
...
mantis:3657
12 years ago
Andreas Granig
e4fb1dc3c5
MT#3607 Fix create time for voip_subscribers
...
Older ngcp-panel versions didn't set the create_timestamp properly,
causing CSC to show a huge list of dates in the calls/vm view.
12 years ago
Andreas Granig
c6a9b3094a
Add preference label column.
12 years ago
Andreas Granig
ac7de8b428
Properly reorder autoprov tables.
...
Satisfy foreign key constraints.
12 years ago
Andreas Granig
7dd689ae55
Add PBX autoprovisioning tables.
12 years ago
Andrew Pogrebennyk
b3f6fa77c2
Fix default value for inbound_uprn domain pref.
12 years ago
Andreas Granig
a5555d27c2
Add shared_buddylist_visibility and display_name.
...
The former is used to control whether to export a subscriber to
the customer's shared XMPP roster.
The latter is used to set the XMPP name for a contact and can be
used in outbound_from_display.
12 years ago
Victor Seva
24750af002
prosody sipwise_group module needs to select on provisioning.voip_pbx_groups table
12 years ago
Andreas Granig
bef6165083
Fix down script and add base cli preference.
12 years ago
Andreas Granig
02f8ef0790
Add pbx preferences and update down script.
12 years ago
Andreas Granig
9198915276
Relate voip_pbx_groups to voip_subscribers.
12 years ago
Andreas Granig
367f442d7b
Align provisioning.voip_subscribers to pbx feature
...
Add is_pbx_group and pbx_group_id columns.
Remove legacy autoconf_* columns.
12 years ago
Andreas Granig
84a3576041
Add explicit extension column to voip_pbx_groups.
12 years ago
Andreas Granig
198b564590
Add name to provisioning.voip_pbx_groups
12 years ago
Andreas Granig
33877bcde5
Make number relation optional.
12 years ago
Andreas Granig
bd411c4e72
Add key on voip_pbx_groups.contract_id
12 years ago
Andreas Granig
e33fe8f107
Add voip_pbx_groups table.
12 years ago
Andreas Granig
414909abbc
Align products and add sip/pbx product.
...
Remove any unused/legacy product definitions.
Add sipaccount and pbxaccount products.
Update billing mappings to use sipaccount product if none is set.
12 years ago
Andrew Pogrebennyk
5be7d3fd49
add new outbound_* peer preference values for templates commit 634a850
12 years ago
Andrew Pogrebennyk
97263b093e
Assign the outbound_history_info preference to Number Manipulations group.
12 years ago
Andrew Pogrebennyk
a5fbdbc01e
Add new up script for outbound_history_info pref (3.0).
12 years ago
Andrew Pogrebennyk
7c98691000
Assign ua_header_{mode,replace} preferences to Internal group.
...
This is needed because we must backport ua_header_{mode,replace} to 2.7 and
also 2.8, so if someone upgrades from the latest 2.8 to 3.0, the constraint
creation is going to fail. Reason: the ua_header_{mode,replace} prefs will
have empty voip_preference_groups_id.
12 years ago
Andrew Pogrebennyk
536afbf145
Insert ua_header_{mode,replace} preferences ( #3061 )
12 years ago
Andreas Granig
9b4bc89a9e
Use <=> instead of = in triggers for NULL-safe cmp
...
In MySQL 5.5 the = operator doesn't work as expected if any of the
comparison values is NULL.
12 years ago
Richard Fuchs
8cbd0aa88a
add grants on resellers table for cdr exporter
12 years ago
Richard Fuchs
09fb8da4fd
move 15003 diff files to correct directory
12 years ago
Andreas Granig
df521832b8
Add more prosody grants on provisioning tables.
12 years ago
Andreas Granig
ceb643359f
Add xmpp entries to xml hosts.
12 years ago
Andreas Granig
52bd178a01
Make db creation more graceful.
...
The DB is replicated in install scenarios, so make sure to not create
it twice.
12 years ago
Jon Bonilla
c74f676084
Increase location.contact length to 1024
...
Start numbering the scrips from 15000 as we do with cfg schema.
Postsvn.
12 years ago
Andreas Granig
9771ab541a
Add index to billing fees.
...
Author: Kirill Solomko <ksolomko@sipwise.com>
12 years ago
Andreas Granig
11603d4189
Fix grants.
12 years ago
Andreas Granig
27164fe332
Add prosody DB.
12 years ago
Andreas Granig
f241d4e8b3
Use correct db for scripts.
12 years ago
Andreas Granig
cc9fbe19fd
Add missing reseller_id to sounds and rw-rules.
12 years ago
Andreas Granig
b9586047e7
Make ringtimeout internal and flag preferences.
...
Only some preferences should actually be shown to end customers. To not
do this manually in the api/panel, flag it in the db.
12 years ago
Andreas Granig
a2332429ce
Move reseller_id to contact.
...
At the same time, we make ossbss force a contact for each contract,
so resellers can manage their own contacts.
12 years ago
Andreas Granig
e61699d8a5
Changed cc_delivery_port to unsigned.
12 years ago
Andreas Granig
ce582dee07
Fix wrong avpf/avp value in rtcp_feedback pref.
12 years ago
Andreas Granig
7dfbe63498
Add prefs for srtp and rtcp feedback handling.
...
This controls the SAVP and AVPF profile handling in mediaproxy-ng.
12 years ago
Andreas Granig
55fbcb3469
Add uuid to carrier.subscribers table.
12 years ago
Andreas Granig
faa82cd9a4
Add captagent fields to voip_intercept table.
12 years ago
Andreas Granig
9eb70cf81c
Add dummy contact to all contracts not having one.
12 years ago
Andrew Pogrebennyk
9cb49d0fc0
fix syntax error "Table 'provisioning.voip_preference_groups' doesn\'t exist"
12 years ago
Andrew Pogrebennyk
0c93677a6c
add missing semicolon
12 years ago
Andrew Pogrebennyk
7d00b50970
rephrase option description
12 years ago
Andrew Pogrebennyk
29e0b80d27
add mobile_push_expiry usr/dom preference
12 years ago
Andrew Pogrebennyk
a0cc764658
add forgotten db up files for cloud_pbx preference
12 years ago
Andrew Pogrebennyk
bb31f590e3
add db update script for sound group "mobile_push" and connecting voice prompt
12 years ago
Victor Seva
5e0bf74f2f
Merge changes from branch 3.0. Remove branch
12 years ago
Andrew Pogrebennyk
1dd06d505f
add dispatcher entry for pbx.
12 years ago
Andreas Granig
4793966417
Disable fk-checks during truncate.
12 years ago
Richard Fuchs
504e8d2bb4
use a pseudo "add index if not exists" statement
12 years ago