Andreas Granig
7110f4339d
MT#5009 Use proper alias number sub-elements.
12 years ago
Andreas Granig
d23de0e45f
MT#5009 Fix syntax error.
12 years ago
Andreas Granig
f575753c17
MT#5009 Properly reuse alias numbers also.
...
Previously, we assumed they were already deleted in billing.voip_numbers,
which they're not (anymore).
12 years ago
Andreas Granig
64f937b057
MT#5009 Properly free voip_numbers on termination.
...
Don't delete voip_numbers (which was forgotten if the status
got set to terminated anyways), rather than free them by
undef'ing the subscriber_id and reseller_id.
12 years ago
Andreas Granig
18b15f6009
MT#5009 Properly re-use free numbers.
...
Don't try to insert a number into billing.voip_numbers directly,
rather than using the update_subscriber_numbers helper, which
handles the re-using of free numbers.
12 years ago
Andreas Granig
9c3eb72481
MT#4955 Only allow one ss, set dom-pref np-display
...
If a sound set is contract default and you create another default one,
the old gets non-default.
Properly handle contract default setting also when editing sound sets.
And while at it, set np-display as outbound-from-display-name dom-pref
when creating a PBX domain.
12 years ago
Gerhard Jungwirth
8f98ef00fd
MT#4967 Let admin/reseller always change subscriber numbers
...
When editing a subscriber as admin, you possibly got a stripped version of the
form, where you cannot change e164 or alias_numbers anymore.
12 years ago
Gerhard Jungwirth
d238758abc
MT#4967 Refactor Subscriber Forms
...
Move Field e164 (Compound) and alias_number (Repeatable) to own
Files because of multiple occurence.
12 years ago
Andreas Granig
cccab05961
MT#4971 Fix follow symlink sp-SELF in statistics.
12 years ago
Andreas Granig
c63310741b
MT#4949 Use pbx-1 suffix for callflows.
12 years ago
Andreas Granig
f9e96aad30
MT#4955 Introduce customer default sound sets.
...
If a new contract sound set is marked as contract_default, use this
for every existing subscriber in contract_sound_set prefs if no
other set is specified yet.
If a new subscriber is created and such a sound set exists, also
use this one.
This prevents having to go over each single subscriber to assign
the contract_sound_set preference.
12 years ago
Andreas Granig
224ca10e8d
MT#4955 Use cseq_method for subscriber captures.
12 years ago
Andreas Granig
c3efa5663a
MT#4229 Still log the error causing a 500.
12 years ago
Andreas Granig
b914ad7d99
MT#4949 Use pbx in call flow graph.
12 years ago
Gerhard Jungwirth
204fb95b3a
MT#4707 log IP on failed login
12 years ago
Andreas Granig
76b3e315bb
MT#4543 Also set cloud_pbx_base_cli pref for admin
...
Otherwise rewrite rules where this is used will not work, so admin
can't dial only the extension.
12 years ago
Lars Dieckow
03dee5ff9c
avoid db fetch for authenticated request
12 years ago
Andrew Pogrebennyk
abc0853521
MT#4863 Grant access to Customer Settings for administrative subscribers.
12 years ago
Andreas Granig
860650c135
MT#4017 Fix subscriber->device mapping in config.
...
When fetching the field device config, only select the correct
subscribers for the line ranges which actually belong to the
field device.
12 years ago
Gerhard Jungwirth
4d1ec6352c
MT#4369 Disable Timestamp search on Callflows
...
this created "min(timestamp) LIKE %search%" which is not valid SQL
12 years ago
Andreas Granig
79a256f094
MT#4787 Send browser to PBX device when syncing
12 years ago
Andreas Granig
4360fff396
MT#3917 Show datetime in local timezone for DT.
12 years ago
Andreas Granig
da753f4f8d
MT#4685 Export latest firmware version for model.
...
This can be used in config scripts to check whether to do an upgrade.
12 years ago
Gerhard Jungwirth
e76de8b9db
MT#4667 validate contact on contract create
...
On one hand, dont allow (peering,reseller)-contracts to
be created with a wrong contact (which has a reseller id).
On the other hand, dont preselect wrong contacts in the first
place (from created_objects)
12 years ago
Andreas Granig
4c888798ec
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
Gerhard Jungwirth
35630e125a
MT#4129 fix operator precedence
...
Check for diverging resellers when creating a customer
fails because == is evaluated before //
12 years ago
Gerhard Jungwirth
d17c382ff8
MT#4129 prohibit customer with diverging resellers
...
that is, a customer where billing_profile has one
reseller and contact has a different one
12 years ago
Gerhard Jungwirth
8da8d2f8e8
MT#4659 preserve product, when not set by form
12 years ago
Andreas Granig
0945fc9eb8
MT#4657 Make ac an empty string if undef.
12 years ago
Andreas Granig
83b9be31c0
MT#4655 Show reseller name in device mgm.
12 years ago
Lars Dieckow
79b7304f5b
MT#4609 extend checks when editing the own admin user to prevent locking oneself out
12 years ago
Andreas Granig
4b9091dad0
MT#4607 Replace UNION by simple OR
...
MySQL 5.5 handles OR properly in terms of indices, no need for a UNION,
which is completely broken with DBIx::Class anyways, killing the performance.
12 years ago
Andreas Granig
4421421689
MT#4533 Don't transcode MOH files for PBX.
12 years ago
Andreas Granig
02207fc4bb
MT#3977 Set proper config.url parameter.
12 years ago
Andreas Granig
735f34020d
MT#3977 Fix syntax error.
12 years ago
Andreas Granig
4d619e3de4
MT#3977 Also set config.url for autoprov config.
12 years ago
Gerhard Jungwirth
b2bcac6fec
MT#3855 Fix empty contract tab on Reseller details
...
When the reseller has a wrong contract assigned to
him, this contract is not shown because it has already
been filtered out in the Contract controller. In favor
of usability now show it anyway.
Also only present correct contracts on edit/create
resellers in the first place.
See (Mantis:3855#c25797)
12 years ago
Gerhard Jungwirth
7945805883
MT#4289 contracts: filter by product and separate terminate
...
Only show reseller and peering contracts in the
Contracts controller. Also remove the generic create
in favour of the peering/create and reseller/create.
Customer controller now has its own terminate routine to be really
independent from the Contract controller.
Now we can expose the Contract controller in the menu.
12 years ago
Gerhard Jungwirth
6fb3119fc9
MT#4289 move /contract/customer/edit to /customer/edit
...
So finally, there is no customer-specific stuff left in the Contract controller.
12 years ago
Gerhard Jungwirth
5caf89894c
MT#4289 separate customer-/contract- create and ajax_reseller_filter
...
Mantis: 4289#c25035
12 years ago
Gerhard Jungwirth
104751bb6a
MT#4289 separate customer/ajax and contract/ajax
...
This is the first step towards separating the
tight coupling of the Customer and Contract Controllers.
Mantis: 4289#c25035
12 years ago
Lars Dieckow
a37b165caf
MT#4229 custom Internal server error page
...
Move error_page to notfound_page. error_page is now for internal server errors.
Introduce logging option log_crash_state, enabled by default. Crash states are
written out compressed and encoded log-file-friendly, these are useful for
debugging but take a couple dozen kilobytes of disk space each.
12 years ago
Andreas Granig
29e1251140
MT#3997 Transform via_route to loose-route URI
12 years ago
Andreas Granig
1c1f6726ff
MT#3995 Use pre-selected options for ext sbc.
...
Don't allow free-form values for via_route but use pre-configured
values from config.yml.
12 years ago
Andreas Granig
074758df8f
MT#3971 Implement limitation of subscribers.
...
Enforce max_subscribers field and allow editing a customer.
12 years ago
Andreas Granig
ff5d127f06
MT#3971 Add max_subscribers field.
...
This only happens when creating customers for now.
12 years ago
Andreas Granig
0ab09a6e0b
MT#3977 Use plain port for linksys provisioning.
...
Linksys phones need a Cisco-signed server cert, so we have to
stay at plain http for now.
12 years ago
Andreas Granig
a8c4c0f058
MT#3977 Fix ACL for fetching keys of dev profile.
...
Also subscriberadmin must be able to access this part for proper
line/key selection.
12 years ago
Andreas Granig
05553d0406
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
36a020c376
MT#4007 Implement auto attendant mgm for subs.
12 years ago