Gerhard Jungwirth
6c71e81b67
MT#6663 set billing_profile for default contract
12 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.
12 years ago
Irina Peshinskaya
6941698106
MT#5879 Rename invoice template tables with s sufficses.
12 years ago
Andreas Granig
717785f7e7
MT#6461 Fix branding table structure.
12 years ago
Irina Peshinskaya
6c9ff74b82
MT#5879 Were added occasionally, are full copy of 15046.
12 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.
12 years ago
Andreas Granig
ba66dde559
MT#6461 Add reseller branding table.
12 years ago
Kirill Solomko
7088e3a2f7
MT#6191 add accounting.acc_cdi table
12 years ago
Andrew Pogrebennyk
8c053c1ef1
MT#6317 add missing labels to some prefs.
12 years ago
Andrew Pogrebennyk
f1c40e8fcd
MT#6279 Add new force_outbound_calls_to_peer mode to peer preference.
12 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.
12 years ago
Richard Fuchs
758a86f451
MT#6013 adding "drop procedure if exists" just in case
12 years ago
Richard Fuchs
030e8dbd75
MT#6013 add unique key to contract_balances
12 years ago
Andrew Pogrebennyk
0dc43cfd75
MT#5473 delete stale kamailio.peer_preferences records.
12 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.
12 years ago
Alexander Lutay
18e89eccbe
MT#5571 Fix statements 15038.* to prevent duplicates with mysql_values.cfg.services
...
(cherry picked from commit f5d455c73a )
12 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.
12 years ago
Irka
9590ad6c04
MT#5879: invoice_template table
12 years ago
Andrew Pogrebennyk
4d746c3792
MT#5949 Add preference for serial forking by q-value.
12 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.
12 years ago
Andrew Pogrebennyk
16b00675ad
MT#5575 add the entries for sems-pbx to xmlgroups, hosts and hostgroups
12 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
13 years ago
Andrew Pogrebennyk
97263b093e
Assign the outbound_history_info preference to Number Manipulations group.
13 years ago
Andrew Pogrebennyk
a5fbdbc01e
Add new up script for outbound_history_info pref (3.0).
13 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.
13 years ago
Andrew Pogrebennyk
536afbf145
Insert ua_header_{mode,replace} preferences ( #3061 )
13 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.
13 years ago
Richard Fuchs
8cbd0aa88a
add grants on resellers table for cdr exporter
13 years ago
Richard Fuchs
09fb8da4fd
move 15003 diff files to correct directory
13 years ago
Andreas Granig
29e3d8019f
Grant subscriber/domain privileges to prosody.
13 years ago
Andreas Granig
df521832b8
Add more prosody grants on provisioning tables.
13 years ago
Andreas Granig
ceb643359f
Add xmpp entries to xml hosts.
13 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.
13 years ago
Jon Bonilla
c74f676084
Increase location.contact length to 1024
...
Start numbering the scrips from 15000 as we do with cfg schema.
Postsvn.
13 years ago
Andreas Granig
9771ab541a
Add index to billing fees.
...
Author: Kirill Solomko <ksolomko@sipwise.com>
13 years ago
Andreas Granig
11603d4189
Fix grants.
13 years ago
Andreas Granig
27164fe332
Add prosody DB.
13 years ago
Andreas Granig
f241d4e8b3
Use correct db for scripts.
13 years ago
Andreas Granig
cc9fbe19fd
Add missing reseller_id to sounds and rw-rules.
13 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.
13 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.
13 years ago
Andreas Granig
e61699d8a5
Changed cc_delivery_port to unsigned.
13 years ago
Andreas Granig
ce582dee07
Fix wrong avpf/avp value in rtcp_feedback pref.
13 years ago
Andreas Granig
7dfbe63498
Add prefs for srtp and rtcp feedback handling.
...
This controls the SAVP and AVPF profile handling in mediaproxy-ng.
13 years ago
Andreas Granig
55fbcb3469
Add uuid to carrier.subscribers table.
13 years ago
Andreas Granig
faa82cd9a4
Add captagent fields to voip_intercept table.
13 years ago
Andreas Granig
9eb70cf81c
Add dummy contact to all contracts not having one.
13 years ago
Andrew Pogrebennyk
9cb49d0fc0
fix syntax error "Table 'provisioning.voip_preference_groups' doesn\'t exist"
13 years ago
Andrew Pogrebennyk
0c93677a6c
add missing semicolon
13 years ago
Andrew Pogrebennyk
7d00b50970
rephrase option description
13 years ago
Andrew Pogrebennyk
29e0b80d27
add mobile_push_expiry usr/dom preference
13 years ago
Andrew Pogrebennyk
a0cc764658
add forgotten db up files for cloud_pbx preference
13 years ago
Andrew Pogrebennyk
bb31f590e3
add db update script for sound group "mobile_push" and connecting voice prompt
13 years ago
Victor Seva
5e0bf74f2f
Merge changes from branch 3.0. Remove branch
13 years ago
Andreas Granig
3d1ddd88b7
Split multi-delete into two separate statements.
13 years ago
Andrew Pogrebennyk
1dd06d505f
add dispatcher entry for pbx.
13 years ago