Andreas Granig
2258395ed7
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
e3ba8b4243
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
059607a8c7
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
2ada158ac6
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
7a20e3fc70
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
afa196900c
MT#4971 Fix follow symlink sp-SELF in statistics.
12 years ago
Andreas Granig
332ad0ca3a
MT#4949 Use pbx-1 suffix for callflows.
12 years ago
Andreas Granig
e2ccdf3442
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
36f6756079
MT#4955 Use cseq_method for subscriber captures.
12 years ago
Andreas Granig
097af29cb2
MT#4229 Still log the error causing a 500.
12 years ago
Andreas Granig
d2dfbeab1c
MT#4949 Use pbx in call flow graph.
12 years ago
Gerhard Jungwirth
3279897a1b
MT#4707 log IP on failed login
12 years ago
Andreas Granig
9c69626385
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
fbb03e359a
avoid db fetch for authenticated request
12 years ago
Andrew Pogrebennyk
76bf4a12c3
MT#4863 Grant access to Customer Settings for administrative subscribers.
12 years ago
Andreas Granig
7c0b691a53
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
10cd46219c
MT#4369 Disable Timestamp search on Callflows
...
this created "min(timestamp) LIKE %search%" which is not valid SQL
12 years ago
Andreas Granig
10ddf43147
MT#4787 Send browser to PBX device when syncing
12 years ago
Andreas Granig
2ee40a3a6c
MT#3917 Show datetime in local timezone for DT.
12 years ago
Andreas Granig
57bc4218e7
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
938798943c
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
d69d7bb8fb
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
f16c1cfb5e
MT#4129 fix operator precedence
...
Check for diverging resellers when creating a customer
fails because == is evaluated before //
12 years ago
Gerhard Jungwirth
77698535e6
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
fa3c979fda
MT#4659 preserve product, when not set by form
12 years ago
Andreas Granig
58b496065e
MT#4657 Make ac an empty string if undef.
12 years ago
Andreas Granig
96edceda6d
MT#4655 Show reseller name in device mgm.
12 years ago
Lars Dieckow
e215422b89
MT#4609 extend checks when editing the own admin user to prevent locking oneself out
12 years ago
Andreas Granig
8ad33c7f35
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
0feebeb8a5
MT#4533 Don't transcode MOH files for PBX.
12 years ago
Andreas Granig
a6f3117595
MT#3977 Set proper config.url parameter.
12 years ago
Andreas Granig
0f99b45042
MT#3977 Fix syntax error.
12 years ago
Andreas Granig
816b1d0755
MT#3977 Also set config.url for autoprov config.
12 years ago
Gerhard Jungwirth
ec34c1d1dd
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
e184e00f86
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
35c82cca7f
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
49037844bc
MT#4289 separate customer-/contract- create and ajax_reseller_filter
...
Mantis: 4289#c25035
12 years ago
Gerhard Jungwirth
21482c00ec
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
940d1cfde7
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
3cbe4db077
MT#3997 Transform via_route to loose-route URI
12 years ago
Andreas Granig
1fb6381ea6
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
b9d03df0bd
MT#3971 Implement limitation of subscribers.
...
Enforce max_subscribers field and allow editing a customer.
12 years ago
Andreas Granig
dce2f45785
MT#3971 Add max_subscribers field.
...
This only happens when creating customers for now.
12 years ago
Andreas Granig
5266545dd5
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
7ea0814bba
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
3030a62a73
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
9f03bf4eb4
MT#4007 Implement auto attendant mgm for subs.
12 years ago
Andreas Granig
59e55c243d
MT#3925 Move contracts/ to Role, tighten contacts/
...
Use Role for Contracts controller.
Check reseller_id in Contacts controller for creating contact.
12 years ago
Andreas Granig
9ef4961e97
MT#3925 Migrate more common methods into Role.
12 years ago
Andreas Granig
8683e52cdd
MT#3925 Move POST validation methods into Role.
12 years ago