Irina Peshinskaya
29b988492f
MT#9431 Update usr_preference cloud_pbx_hunt_policy in Subscriber API.
11 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
11 years ago
Andreas Granig
0204022cf5
MT#9225 Modify allowed_clis on add/remove number
...
If ossbss.provisioning.auto_allowed_cli is set, then add/remove
a number from subscriber preference allowed_clis when adding/
removing a number.
11 years ago
Irina Peshinskaya
97519cd453
MT#8981 API: Fix messages for mismatched username and domain of subscriber.
11 years ago
Irka
e313eb7063
MT#8371 Remove duplicate joins contracts_rs with billing_mapping.
11 years ago
Gerhard Jungwirth
69a46142c2
MT#8709 API: Always update lock-level
...
Allowing therefore to delete it.
11 years ago
Irka
4c35f9bad6
MT#8649 Add callforwards link into subscribers info
11 years ago
Irka
2a7e76bf51
Revert "MT#8491 Fix subscriber termination via API."
...
This reverts commit 1b654d559a
.
Real fix was done already as fix for the MT#8071
11 years ago
Irka
1b654d559a
MT#8491 Fix subscriber termination via API.
...
1.Provisioning_voip_subscribers may be already deleted during termination.
2.Return issue already fixed in master, seems like not integrated in 3.3.
11 years ago
Gerhard Jungwirth
3c0dd86c81
MT#8367 api fix subscriber post/put domain query
11 years ago
Gerhard Jungwirth
7b3080f45b
MT#8071 fix api subscriber termination
...
response was handled wrong on patch/put
primary number was not freed in case of pbx
11 years ago
Andreas Granig
3647bc6c3a
MT#7545 API: Fix removing old groups from subs.
11 years ago
Andreas Granig
4f370287af
MT#7793 Only log subprofile event on prof-change.
11 years ago
Andreas Granig
213e6bb606
MT#7793 Implement event billing for subprofiles.
...
Write start/end/update_profile event on subscriber modification.
11 years ago
Andreas Granig
5805d848d3
MT#7771 Add cloud_pbx_ext preference.
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Gerhard Jungwirth
489a86c8b8
MT#7493 API set cloud_pbx preference on subscriber creation
11 years ago
Gerhard Jungwirth
11f59d4494
MT#7557 API: save pbx_extension
11 years ago
Andreas Granig
5931995944
MT#7377 API: check if alias_numbers is array.
11 years ago
Andreas Granig
51640b7156
MT#7377 API: check for pilot primary_number.
...
Before adding pbx_extension, check if pilot has a primary number.
11 years ago
Andreas Granig
69e20a8629
MT#7377 API: fix alias_numbers and pbx_extension
...
Properly handle alias_numbers and pbx_extension fields when
creating or updating a subscriber.
11 years ago
Andreas Granig
db1f6da27c
MT#7377 API: check uniqueness of pbx_extension.
...
Otherwise we get a duplicate entry error when creating the
corresponding primary number.
11 years ago
Andreas Granig
1147ad5db0
MT#5879 Remove more debug messages.
11 years ago
Andreas Granig
0baef998a6
MT#7377 API: better check for JSON::Types::bool.
...
Sometimes the value is a ref to some other var, so a simple
if($foo){} is not sufficient, as it would be true, althouhg we're
just checking if it's defined and has a value.
11 years ago
Andreas Granig
363249fac1
MT#7377 API: Fix pilot subscriber editing.
11 years ago
Andreas Granig
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
11 years ago
Andreas Granig
4e3b373df3
MT#7119 API: Fix PBX subscriber creation.
...
Document only rendered form fields.
Expose pbx_extension and others via subscribers form.
11 years ago
Gerhard Jungwirth
7333869c54
MT#7113 API subscribers: provide hunt-policy/timeout
...
for a subscriber with is_pbx_group=true
11 years ago
Andreas Granig
1cc0aa69f4
MT#7039 API: link subscriberregistrations
...
- Properly join voip_subscribers and voip_domains
- Link relations to subscriber
11 years ago
Andreas Granig
024d3fc92a
MT#7029 API: fix exposure of administrative flag.
11 years ago
Andreas Granig
9767e62204
MT#6913 API: remove Data::Printer debug.
11 years ago
Andreas Granig
2b2c1f0fbb
MT#6913 API: fix profile(set) update.
11 years ago
Andreas Granig
7cbdb2762f
MT#3947 API: Implement voicemail settings.
...
Change email, pin, attach and delete via REST.
11 years ago
Gerhard Jungwirth
663782432e
MT#7029 API subscriber, fix creation of admin subscriber
...
don't try to get primary number when there is no
admin subscriber yet.
11 years ago
Andreas Granig
28ee0960a4
MT#3943 API: fetch cdrs via REST.
...
Allow to filter for subscriber_id and customer_id.
11 years ago
Andreas Granig
b0b0e03594
MT#6871 Fix updating non-pbx subscriber.
...
Set is_pbx_group to 0 by default, as it's not passed along in an update.
11 years ago
Andreas Granig
427bd2e312
MT#6913 API: Basic management of profile sets.
11 years ago
Andreas Granig
88c6e4d78f
MT#6789 API: handle subscriber email and profile.
...
Handle new email field.
Fix profile handling on subscriber creation.
11 years ago
Andreas Granig
4341a39cf6
MT#6871 Fix subscriber editing.
...
- Migrate from custom subscriber struct to normal resultset.
- Properly handle boolean input in form processing (convert to
int, otherwise formhandler fails while cloning when doing the
processing).
- Properly handle profile set editing in API
- Cleanup of log messages
11 years ago
Andreas Granig
7d76b46b10
MT#6283 Fix search framework to work on debian
...
- overriding item_rs doesn't work with that particular catalyst
version, use work-around.
11 years ago
Andreas Granig
11d83a7ead
MT#6283 Implement search-framework.
...
- let custom roles "derive" from main api role
- have an item_rs in each role
- call search logic after each item_rs call automatically
- render search query doc dynamically
11 years ago
Andreas Granig
74aeb7938d
MT#5929 Fix lock, ext_xxx_id and dbalias handling.
...
- ext_subscriber_id and ext_contract_id preferences weren't populated correctly.
- subscriber lock preference wasn't populated correctly
- old dbalias entries weren't cleared correctly for API calls
11 years ago
Andreas Granig
d445274d1d
MT#5967 API: validate allowed ip entries.
11 years ago
Andreas Granig
c61b9eec5d
MT#3933 API: Handle subscriber lock/termination
11 years ago
Andreas Granig
2f749a341a
MT#3933 API: add subscriber editing via PUT/PATCH
11 years ago
Andreas Granig
0218de9cc0
MT#5833 Update italian translation.
11 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
11 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.
11 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