Andreas Granig
d1bcc66639
MT#5811 Basic framework for sip/xmpp via WS
11 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
11 years ago
Andreas Granig
aef3a499a3
MT#5797 Skip Link hdrs for fetching collections.
...
Too many headers break web servers (and probably UAs).
11 years ago
Gerhard Jungwirth
d989abc8f9
MT#3961 Translate everything
11 years ago
Gerhard Jungwirth
9040831ecd
MT#3961 more translations
11 years ago
Gerhard Jungwirth
1f37a80b84
MT#3961 Provide Dropdown to change the language
...
We save this setting in a session variable and a cookie
valid for 3 months
11 years ago
Gerhard Jungwirth
1bf73a7bb6
MT#3961 Prepare for localization
11 years ago
Gerhard Jungwirth
029c51fad1
MT#5661 change selection of customers when bprof is updated
...
only those customers which have this billing profile
currently active are considered
this concerns the change of the prepaid flag
11 years ago
Andreas Granig
f31c2fcc88
MT#5661 Update prepaid pref on bilprof change
...
If prepaid flag is changed in billing profile, all subscribers
of all contracts currently having this profile are updated.
If customer changes from prepaid profile to postpaid and vice versa,
all subscribers of this contract are updated.
If subscriber is created either in subscriber or customer view,
the prepaid pref is set if billing profile of its customer is
prepaid.
11 years ago
Andreas Granig
6e60f43306
MT#5599 Fix pwd-based api auth.
12 years ago
Andreas Granig
71658e12a7
MT#5599 Rework auth/authz for pwd-based API access
...
Cleanup unnecessary realms.
Use roles instead of realms for authz.
HTTP basic auth for api access.
Use admin/reseller roles instead of api_admin/api_reseller.
Fix API::Root invalid_user detaching.
12 years ago
Andreas Granig
0fd10e018a
MT#5575 Clear audio cache only on specific service
...
Use appserver for system sets and pbx for customer sets.
12 years ago
Andreas Granig
b098c10f87
MT#5575 Properly clear pbx audio cache for moh/pbx
12 years ago
Andreas Granig
de9fc52c64
MT#5575 Clear audio cache on sems-pbx too.
12 years ago
Andreas Granig
ce01267079
MT#3933 API: Check for max_subscribers on create
12 years ago
Andreas Granig
aa5eee69a0
MT#5575 Migrate clear_audio_cache to Sems helper.
12 years ago
Andreas Granig
9651c81852
MT#3933 API: fetch and create subscriber. WIP.
...
Doesn't handle PBX stuff yet, only basic subscriber stuff.
12 years ago
Gerhard Jungwirth
ef6bfee65b
MT#4967 update cloud_pbx_base_cli and other settings on cloudpbx-subscribers
...
This includes: primary_number, dbaliases, cfs
12 years ago
Gerhard Jungwirth
ef80d1967e
MT#4967 change primary number of extension-subscribers by extension
...
see comment 4967#c31031
12 years ago
Gerhard Jungwirth
b0d1d25301
MT#4967 update all cloudpbx-subscribers on change of head one
...
see comment 4967#c31031
12 years ago
Andreas Granig
5929bcdc06
MT#5349 API: add method to fetch dompref meta data
12 years ago
Andreas Granig
e8fa8b2f9c
MT#5349 API: Implement domain preferences. WIP.
...
Missing sanity checks and special handling for certain preferences.
12 years ago
Andreas Granig
1d873fce27
MT#4229 Remove dump from logfile.
...
The stack-trace is undecodeable from syslog, and it usually doesn't
provide any additional infos on top of the actual error message.
12 years ago
Andreas Granig
329b831918
MT#5199 Offer API CA Cert for download too.
12 years ago
Andreas Granig
883cd9a8b3
MT#5199 Store client cert in DB and offer P12 fmt.
...
For browser imports, you need a PKCS12 format, so offer the cert
in that format for download also.
12 years ago
Gerhard Jungwirth
f316797857
MT#4967 "Unsteal" number on subadmin terminate
...
When a subscriberadmin terminates a subscriber, the alias_numbers should
move back to the subscriberadmin
12 years ago
Gerhard Jungwirth
dfe18e5648
MT#4967 Do not show password on edit
...
but update it, if one is supplied
sub edit_master is now explicitly denied to subscribers, as there is already
a lot of conditional logic there, we should consider to handle a logged in
subscriber separately. (This option is not exposed to subscribers anyway.)
See also 4967#c28533
12 years ago
Gerhard Jungwirth
9fed07646d
MT#4967 Disallow subscriberadmin to change status
...
see 4967#c28533
12 years ago
Gerhard Jungwirth
2c7a0c4e6b
MT#4967 Let subadmins steal numbers
...
A subadmin can use the field alias_select to select any number of alias
numbers, which he is allowed to manage. If he selects one, it moves
to this subscribers alias_numbers. If he unselects one, it moves to his
own alias numbers.
12 years ago
Andreas Granig
7e3a2997f4
MT#5355 Implement peer_auth api calls to sems.
12 years ago
Andreas Granig
58adac5da9
MT#5349 API: Implement GET/DELETE for domain item.
...
There is no PUT/PATCH as we are not allowed to change the domain itself.
TODO: relations to preferences!
12 years ago
Andreas Granig
9592c6b3b7
MT#5349 API: Implement collection part for doms
12 years ago
Andreas Granig
456df97df0
MT#3931 API: implement customer contract handling.
12 years ago
Andreas Granig
3db6117dfd
MT#3931 API: Implement customer contacts.
...
Move update parts into role.
Implement customer contacts.
12 years ago
Andreas Granig
5c5668da28
MT#3949 API: Implement reseller resource handling.
12 years ago
Andreas Granig
c0a6264507
MT#5299 API: Implement implicit zone def for fees
12 years ago
Andreas Granig
b3de58ff9c
MT#5299 API: Implement billing zone handling.
12 years ago
Andreas Granig
bdb129ec67
MT#5299 API: Add billing fee handling.
12 years ago
Andreas Granig
cd2d9e47aa
MT#5255 Fix boolean handling and HFH validation
12 years ago
Andreas Granig
829b432b47
MT#5299 API: PUT/PATCH/GET billingprofiles item
12 years ago
Andreas Granig
3ce79d6703
MT#5299 API: GET and POST billing profiles.
12 years ago
Andreas Granig
45a460a1ce
MT#3949 API: implement contracts handling.
12 years ago
Andreas Granig
14d9374e8c
MT#3949 API: move common contract stuff to role.
12 years ago
Andreas Granig
b64266b969
MT#3949 API: Implement base-line for sys contracts
...
Allows to post, put, patch and get peering and reseller contracts.
Needs tests.
12 years ago
Andreas Granig
7a782eb4fb
MT#5255 API: Create roles for resources.
...
Collections and Items have common functions (e.g. hal_from_xxx),
so move them into separate roles.
12 years ago
Andreas Granig
458852f70e
MT#5255 API: use local time for timestamps.
12 years ago
Andreas Granig
02998dd688
MT#3949 API: base-line for system contracts.
12 years ago
Andreas Granig
6bb57f08f2
MT#3997 Finish API skeleton.
...
We should now have working baselines for
- collections (SystemContacts)
- items (SystemContactsItem)
with support for
- collections: OPTIONS, HEAD, GET, POST
- items: OPTIONS, HEAD, GET, PUT, PATCH, DELETE
covered by according tests and with a proper API documentation.
12 years ago
Andreas Granig
f4a9e39a8a
MT#5255 API: move contacts to systemcontacts.
...
Clearly distinguish between systemcontacts (those without reseller) from
customercontacts (those with resellers). Separating them frees us from
having to handle reseller_id magic.
12 years ago
Andreas Granig
beb93987eb
MT#3997 API: move req/res log functions to Role.
12 years ago
Andreas Granig
a135c00190
MT#5255 API: prevent DELETE of used contact
12 years ago
Andreas Granig
a6c3ecb580
MT#5255 API: Implement DELETE for contacts
12 years ago
Andreas Granig
2c51cbd0fb
MT#3997 Fix PUT with reseller_id=null for contact
12 years ago
Andreas Granig
9aa1560619
MT#3997 Dynamically return collections relations.
12 years ago
Andreas Granig
7b8092f702
MT#3997 Get rid of the remaining tt xml responses
12 years ago
Andreas Granig
5e3b642107
MT#5215 Replace NoPassword cred handler
...
In our catalyst version, there is no NoPassword credentials handler,
so use the Password handler instead.
12 years ago
Andreas Granig
515990623f
MT#3997 Fix general collection/item handling.
...
Use paging.
Start adding tests for contacts/ collection.
Move more common functions to Role.
Use proper forms for field checking.
12 years ago
Andreas Granig
a4a9f703bd
MT#3997 Remove QueryParameter dependency.
12 years ago
Andreas Granig
fd19cf79c1
MT#3997 Return JSON on precondition failures.
12 years ago
Andreas Granig
0fb58d2668
MT#3997 Use JSON in OPTIONS methods.
12 years ago
Andreas Granig
40ecb1e91d
MT#3997 Distinguish collection and item in URI
...
Use /api/foo/ for collections and /api/foo/{:id} for items to easily
distinguish between them. Also, we want to use query params for limiting
the collections, e.g. /api/foo/?name={:name}&something={:else}, which in
turn returns a filtered collection again. This makes it difficult then to
fetch items via /api/foo/?id={:id}, so use /api/foo/{:id} instead.
Also move rest of common functions into API Role.
12 years ago
Andreas Granig
6d3fa76e7f
MT#5173 Very basic support for polycom prov
...
Bootstrap Params: 447=2,445=[% server.uri %],264=2
Bootstrap Method: POST
Bootstrap URI: http://[% client.ip %]/form-submit
12 years ago
Gerhard Jungwirth
6524548201
MT#4129 Validate update customer with wrong resellers
...
The reseller of the old billing_profile was tested instead of the new one
(see 4129#c29575)
12 years ago
Andreas Granig
2bff65040d
MT#5103 Add date picker to call distribution graph
12 years ago
Andreas Granig
b84bc50b14
MT#5131 Make CSV fee parsing more tight.
12 years ago
Andreas Granig
2ef9dc16b5
MT#4565 Fix read-only permissions.
...
Properly deny write ops for read-only admins and resellers.
12 years ago
Andreas Granig
59a75ed63e
MT#5103 Add basic call distribution graph.
...
Still needs date picker to limit range.
12 years ago
Gerhard Jungwirth
342ba867d7
MT#4967 Show primary number in subscriber list
...
The wrong relation was used here. Discovered during testing for ticket
MT#4967.
12 years ago
Andreas Granig
c88c69d322
MT#4235 Implement static Jitsi provisioning.
...
Should be reworked in a next step to use the dynamic configuration
management, but currently you'd need a PBX device for that, so keep
it static for now.
12 years ago
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
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
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
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
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
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
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
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
Andreas Granig
a7ae65ca82
MT#3925 Use forms for validation only; other fixes
...
Don't use JE for data validation, as it adds lots of processing overhead.
Properly use Formhandler for data validation.
Catch DB errors properly.
Write basic auth test.
12 years ago
Andreas Granig
5068bd0f17
MT#3925 Style and reorganize API templates
12 years ago
Andreas Granig
a5cbfd298a
MT#3927 Invalidate session in API for non-API user
12 years ago
Lars Dieckow
e5a42d9306
wip
12 years ago
Lars Dieckow
f6e01fdbd6
MT#3927 custom auth
12 years ago
Lars Dieckow
aba646f59b
MT#3929 certificate management
12 years ago
Andreas Granig
acff496831
MT#3997 Add via_route field to peer hosts.
...
This allows to define a pre-defined static path from the lb
towards the peer for establishing a SIP connection.
12 years ago
Gerhard Jungwirth
8bdd9f42fb
MT#4261 alias number handling
...
Now also handle alias numbers with the outsourced subroutine
update_subscriber_numbers.
Plus remove some leftovers which are already handled by
this sub.
12 years ago
Andreas Granig
3f2ecc2da3
MT#4237 Fix create of reseller on billprof edit
...
The field handler for the reseller button was missing in the
billing controller edit function.
12 years ago
Gerhard Jungwirth
124137ca63
MT#4261 number handling on subscriber update
...
Actually use update_subscriber_numbers when updating a subscriber
and not only when creating one. Also handle all neccessary side effects.
Now we can switch our primary number to a number which has been
inactive (that is: did not belong to a subscriber) without an update error.
12 years ago
Gerhard Jungwirth
a1e04e33f7
MT#4261 Proper number handling on subscribers
...
Outsource the handling of the primary number from
the subscriber controller to a util sub called
update_subscriber_numbers.
It also takes care to reuse a number that has
subscriber_id set to NULL which caused the original
problem in the ticket.
12 years ago
Gerhard Jungwirth
7427601806
MT#4265 Fix editing contacts without a reseller
...
which resulted in an exception before because
we tryed to access reseller->id
12 years ago
Andreas Granig
e03bd513ba
MT#4025 Only show customer sound sets for admins.
...
When in customer details, only show sound sets for customer when
logging in as admin/reseller.
12 years ago
Andreas Granig
e93c68c58c
MT#4025 Manage customer sound-sets in details view
12 years ago
Andreas Granig
3acdd72dc6
MT#4145 Change postcode to txt, fix empty reseller
...
Postcodes can be alphanumeric in certain countries.
Avoid fault when editing a contact without reseller
(e.g. reseller/peer contact). You still can't save it without
setting a reseller (which might not be what we want).
12 years ago
Andreas Granig
ff68cbdf84
MT#4309 Show locked subs in Customer Details
...
Before, only active ones where shown.
12 years ago
Michael Prokop
ea5696da2c
Revert "MT#4229 custom Internal server error page"
...
This reverts commit eece093fd0
.
Otherwise fails with:
| Starting NGCP-Panel Webapp: ngcp_panel_fastcgi:Can't locate Convert/Ascii85.pm in your Perl library. You may need to install it
| from CPAN or another repository. Your library paths are:
| /etc/perl
| /usr/local/lib/perl/5.14.2
| /usr/local/share/perl/5.14.2
| /usr/lib/perl5
| /usr/share/perl5
| /usr/lib/perl/5.14
| /usr/share/perl/5.14
| /usr/local/lib/site_perl
| .
|
| BEGIN failed--compilation aborted at /usr/share/perl5/NGCP/Panel/Controller/Root.pm line 5.
| Compilation failed in require at /usr/share/perl5/Catalyst/Utils.pm line 308.
| Compilation failed in require at /usr/share/perl5/Module/Runtime.pm line 317.
| at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50
| error ... failed!
because Convert::Ascii85 isn't available yet in our repositories,
therefore revert to fix broken trunk.
Acked-by: Andreas Granig <agranig@sipwise.com>
Git-Dch: Ignore
12 years ago
Lars Dieckow
eece093fd0
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
1761945b8c
MT#4025 Implement contract_sound_set preference.
...
Let the subscriber choose a contract-wide sound set e.g. for PBX announcements.
12 years ago
Andreas Granig
507f42c564
MT#4025 Fence sound set for subscriberadmins.
...
Only admins, resellers and subscriberadmins are allowed to manage
sound sets. For subscriberadmins, they have to have a pbxaccount to
do so.
12 years ago
Andreas Granig
8f6431fbee
MT#4025 Implement management of customer sound set
...
If a sound set has a contract_id, only show pbx group (consider it
being a customer sound set).
If it only has a reseller_id, show everything else except pbx group
(consider it being a system sound set).
12 years ago
Andreas Granig
5d8c81eadc
MT#4213 Don't search for contract id twice.
...
The result set is already complex enough :)
12 years ago
Andreas Granig
9680cad859
MT#3977 properly handle firmware upgrade.
12 years ago
Andreas Granig
5730437acf
MT#3977 Implement editing of PBX field device.
12 years ago
Andreas Granig
ed359aacd5
MT#3977 Implement backend for multi-line PBX conf
...
This makes it possible to configure multiple lines (private, shared,
blf) and attendant console keys (blf) on a field device and generate the
proper config for it.
It does not yet support editing such a field device.
12 years ago
Andreas Granig
03e4d574b6
MT#3977 Prepare line/key in PBX field dev.
12 years ago
Andreas Granig
fba3998657
MT#3977 Implement line/key handling for devices.
...
This is part 1 to define keys/lines on a device, to be assigned to
subscribers.
12 years ago
Gerhard Jungwirth
76f4bdd14c
Restrict certain domain-prefs to their respective reseller
...
The preferences rewrite_rule_sets, ncos_levels, and sound_sets
on a domain should be restricted to ones, that have the same reseller
as the domain itself.
In addition we have to make sure, the preference view does not die,
if an invalid preference had already been selected, for example when
the respective *set/*level had been deleted or had been one, with a wrong
reseller, because of this bug, we just fixed.
Mantis: 4127
12 years ago
Gerhard Jungwirth
ebe64d3563
uri_unescape CDRs
...
Mantis: 3413
12 years ago
Gerhard Jungwirth
b442c759a1
Show Timeset and Destination Set Names
...
and provide a Modal showing the Detail of each.
Except the case when thedestination_set.name is called "quickset_*" and
it only has one entry.
In that case show the particular destinations of this destination set,
in order to not confuse a user who just configured a trivial cf via the simple view.
under Subscriber Preferences -> Call Forwards
Mantis: 3803, 3801
12 years ago
Andreas Granig
683047c112
MT#3975 Prevent subadmin from terminating himself.
12 years ago
Andreas Granig
dd62516857
Fix $controller::auto declaration.
12 years ago
Andreas Granig
1cec4f9243
Add TODO for Device::base cleanup.
12 years ago
Andreas Granig
af5cc9b14a
Try to avoid wrong redirect to login after login.
12 years ago
Andreas Granig
2447dc9997
Harden access to device controller for subscribers
12 years ago
Andreas Granig
1af065d864
Allow subscriberadmin to access sub-subscribers.
12 years ago
Andreas Granig
f2b57291ba
Only allow subscriber logins from active accounts.
12 years ago
Andreas Granig
086d91ff0e
Use roles instead of realm for logged in users.
12 years ago
Andreas Granig
fc8c9e2df8
Cleanup debug log messages.
12 years ago
Andreas Granig
93fb5eb1cb
Don't allow login subscriber to subscriber details
12 years ago
Andreas Granig
d5dc850bd9
Add subscriber login registered dev widget.
12 years ago
Andreas Granig
fb780a72b3
Only validate speeddial form if posted.
12 years ago
Andreas Granig
6e8ac2aa70
Show subscriber login CF widget and allow prefs.
...
Only allow access to the preferences marked as expose_to_customer.
12 years ago
Andreas Granig
b8cf0895ba
Implement subscriber login call-list/voicemails.
12 years ago
Andreas Granig
1dcd7029ca
Correctly prepare subscriber rs depending on realm
...
Filter subscriber resultset to specific subscriber in case of
subscriber login.
12 years ago
Andreas Granig
2faa84a9d6
Prepare ACL for subscriber login.
12 years ago
Andreas Granig
78e126c9cb
Add basic voicemail widget for subscribers.
12 years ago
Andreas Granig
06fc0fa4dd
Fix subscriber login and add basic widgets.
12 years ago
Andreas Granig
5160759f38
Implement subscriber login.
12 years ago
Andreas Granig
1809b44245
MT#3981 Write numbers to provisioning.voip_dbalias.
...
Before, we wrongly wrote directly to kamailio.dbaliases instead of
provisioning.voip_dbaliases.
12 years ago
Gerhard Jungwirth
01ba8802cf
Fix duplicate showing of contracts under Reseller Details - Reseller Contract
...
The problem occured when a reseller is linked to multiple billing_mappings
Mantis: 3855#c23785
12 years ago
Gerhard Jungwirth
1991296383
Filter Contract Contacts by whether they have a reseller_id
...
in case the product in billing_mappings is one of
(SIP_PEERING, PSTN_PEERING, VOIP_RESELLER)
12 years ago
Gerhard Jungwirth
2f85002f28
Correctly identify customer contracts
...
the product handle was compared to the class name by mistake
12 years ago
Gerhard Jungwirth
f444dc0d81
Show Contract (equals Cusomer-) id
...
For better identification of the current contract in details/edit views.
Mantis: 3885
12 years ago
Andreas Granig
d156b57f9d
Add display name to PBX device config template.
12 years ago
Andreas Granig
b4949f1a48
Implement PBX device boot-strapping.
12 years ago
Andreas Granig
fdc1f9514a
Implement PBX field device config delivery.
...
Currently supports sip.username, sip.domain and sip.password tags,
more to come.
12 years ago
Andreas Granig
d4ec2ef042
Implement PBX field device handling.
12 years ago
Andreas Granig
fef88b9ed3
Add PBX device skeleton.
12 years ago
Andreas Granig
d27d6a1414
Make domain optional when handling reg contacts.
12 years ago
Andreas Granig
527bac928f
Fix registration list if ignore_auth_realm is set.
12 years ago
Andreas Granig
015f04bdc1
Add front and mac image for devices.
12 years ago
Andreas Granig
231dc9fd07
Reset DT field id if it's not selected.
12 years ago
Andreas Granig
c3cadb1503
Implement device profile management.
12 years ago
Andreas Granig
e5832d6e13
Implement device config management.
12 years ago
Andreas Granig
dcac5aa5c6
Implement device firmware management.
12 years ago
Andreas Granig
199ae7ed8d
Implement device model management.
12 years ago
Andreas Granig
35e3a51759
Add skeleton for device provisioning.
12 years ago
Gerhard Jungwirth
c6abfbc7cb
Correctly select customers under reseller-> customers section
...
Only show the most applicable billing_profile using the complex
query from the Contract controller
Mantis: 3855
12 years ago
Gerhard Jungwirth
594f341ee8
Preserve the product_id when updating a billing_mapping
...
This had created a billing_mapping with product_id = NULL before, which
is no longer a valid option and caused the panel to fail
12 years ago
Gerhard Jungwirth
788d78ebc2
Group callflows by call_id
...
and for callflows with call_id "*_b2b-1" just show details for the
main call_id (which already includes the b2b traffic)
12 years ago
Andreas Granig
acf36bde4b
Add PBX auto-attendant and office-hours CF targets
12 years ago
Andreas Granig
ca3e92fbe1
Fix editing normal subscriber.
...
The admin column can't be null.
12 years ago
Andreas Granig
811929bedb
Add display name and shared roster visibility.
12 years ago
Andreas Granig
ceb9f80eab
Use proper PBX group helper when changing PBX ext.
12 years ago
Andreas Granig
9efb1f8124
Allow changing PBX group for PBX extension.
12 years ago
Andreas Granig
5f9c114ef5
Select rewrite rule set for PBX domain creation.
12 years ago
Andreas Granig
00e13f9209
Implement editing PBX extension subscribers.
12 years ago
Andreas Granig
d79b11aa0a
Remove subscriber from PBX group on termination.
12 years ago
Andreas Granig
3c8734f089
Make PBX groups editable.
12 years ago
Andreas Granig
2daa16dae5
Migrate pbx feature config flag to cloudpbx.
12 years ago
Andreas Granig
7f7e6cbca8
Assign contracts to sipaccount product by default.
12 years ago
Andreas Granig
63e9ded2ca
Properly set PBX preferences and use transaction.
12 years ago
Andreas Granig
85365959dd
Fix customer determination in dashboard.
...
Properly filter by product class.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
754f1f7887
Align customer detection to product handling.
12 years ago
Andreas Granig
dfb25d922c
Add skeleton to create admin/extension subscriber.
12 years ago
Andreas Granig
fe580d3c53
Show product name in customer details.
12 years ago
Andreas Granig
e6b9a0aad0
Add product selection for customer contracts.
12 years ago