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
Andreas Granig
145291a23e
MT#8279 Deflate CF destination in CSC
11 years ago
Andreas Granig
faecaf913c
MT#8279 inflate/deflate subscriber user input
11 years ago
Gerhard Jungwirth
ef713a8f84
MT#8287 fix subscriber termination by subadmin
11 years ago
Gerhard Jungwirth
36e44a6439
MT#7673 update voicemail number in api
11 years ago
Gerhard Jungwirth
d57aa0e7ff
MT#7673 update voicemail number in webinterface
11 years ago
Gerhard Jungwirth
923e2e9b82
MT#8203 subscriber termination registered devices
...
send the proper call. also fix recursive termination on contracts
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
Gerhard Jungwirth
c1c1117600
MT#8035 Write start_ivr and end_ivr events
...
when updating cf_mappings or cf_destination_sets
one entry per cf_mapping
11 years ago
Andreas Granig
75def7bf94
MT#7943 Don't access undef provisioning subs.
11 years ago
Andreas Granig
9c4dc3d610
MT#7793 Insert start_huntgroup event on new group
11 years ago
Andreas Granig
915cf7749a
MT#7555 Properly terminate subscribers.
...
- Write end_huntgroup if a group
- Move numbers to pilot if it exists
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
59c69d2c10
MT#7771 rename pbx_account_cli_list
...
Use cloud_pbx_account_cli_list instead.
11 years ago
Andreas Granig
2d9be3f212
MT#7771 Introduce @{...} for match in rewrite rule
...
It inflates to $(avp(s:xxx)[*]) and can then be used to match against
AVP lists.
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
462b0bf3e1
MT#7177 API: also evaluate callee_xxx rwr vars.
...
Load the AVPs from the same subscriber as for caller, as we should
not intermix them anyways.
Treat non-existent vars as empty vars like kamailio does.
11 years ago
Andreas Granig
7c8e355fbc
MT#7177 API: add /api/applyrewrites/ for rwr.
...
Normalize/denormalize a number based on the subscriber and the
direction.
11 years ago
Andreas Granig
1d26af6afe
MT#7177 Implement callee normalization. WIP.
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
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
11 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
11 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
11 years ago
Andreas Granig
f96f08f706
MT#4967 clean up moving alias numbers.
...
Also allow admin/reseller to move numbers.
11 years ago
Andreas Granig
b95daedc79
MT#6967 Alias range handling and first sub cleanup
11 years ago
Andreas Granig
6a568e2bc9
MT#6843 API: only autogen pass if not provided
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
9097768d58
MT#6773 Remove any Data::Printer calls
...
Printing a hash with Data::Printer causes at least the API to not
return the hash, and back-porting libclone-perl to wheezy to fix it
caused the whole panel to get stuck.
11 years ago
Andreas Granig
aed5d7ef09
MT#6843 Implement password auto-generation.
11 years ago
Andreas Granig
bf5ec092bb
MT#6789 Add subscriber email and password recovery
...
- subscribers can hold an email address
- implement process for web password recovery
11 years ago
Andreas Granig
92b7b5ea89
MT#6693 Fix initial subscriber creation.
...
In this case, there is no provisioning subscriber yet.
11 years ago
Andreas Granig
ceb53a1837
MT#6693 Fix subadmin subscriber editing.
11 years ago
Andreas Granig
9aead3f255
MT#6693 More subscriber editing rework.
...
- Update base cli of extensions on pbx admin primary number change.
- Use proper forms (hopefully) for editing various pbx subscriber types.
11 years ago
Andreas Granig
16b44673f4
MT#6693 Rework PBX subscriber/group handling.
11 years ago
Andreas Granig
17d4140b64
MT#6693 Add separate form for subadmin pbx flow.
11 years ago
Andreas Granig
8c867420e8
MT#6693 Rename profile categories to profile sets.
11 years ago
Andreas Granig
4cf62bc8cd
MT#6693 Assign profiles to subscribers - WIP.
...
TODO:
- Subadmins must not see a "Create" button in profile selection
- Can sub(admins) unset a profile? What's the default?
11 years ago
Gerhard Jungwirth
b343f16e5e
MT#6497 API: edit callforwards
...
we use the billing.voip_subscribers id now (as everywhere else)
11 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
11 years ago
Andreas Granig
432080d384
MT#5929 More external_id fixes.
...
Set external_id to NULL in db if it's empty.
Properly clear ext_xxx_id preferences if external_id gets unset.
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
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
d508a519c8
MT#3933 API: tighten subscriber creation.
11 years ago
Andreas Granig
6cd4ef04f1
MT#5629 Fix setting external_id in customer ctx.
11 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
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
1656f051d0
MT#5101 Mark primary numbers in voip_dbaliases.
12 years ago
Gerhard Jungwirth
9b0cc338f6
MT#4767 Show missing registered devices
...
on a non-multidomain installation, dont check for domain
in customer details - subscribers - registered devices
12 years ago
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
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
0945fc9eb8
MT#4657 Make ac an empty string if undef.
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
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
Andreas Granig
ff68cbdf84
MT#4309 Show locked subs in Customer Details
...
Before, only active ones where shown.
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
Andreas Granig
acf36bde4b
Add PBX auto-attendant and office-hours CF targets
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
63e9ded2ca
Properly set PBX preferences and use transaction.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
e770783788
Fix navigation and CF handling.
...
Old CF handling didn't work with Firefox due to some auto-focus issue with our
HTML code in the URI/timeout fields.
12 years ago
Andreas Granig
21af84fdf6
Lots of cleanups and bugfixes and back-nav.
...
Implement automatic back navigation.
Fix subscriber creation.
Unify controller handling.
12 years ago
Andreas Granig
08e5a2a3a8
Propagate reseller and contract status to children
...
Properly terminate/lock/unlock sub-contracts and subscribers if the
parent contract status changes.
12 years ago
Andreas Granig
efddf71181
Pretty-print CF destinations.
12 years ago
Andreas Granig
076d7a8963
Pretty-print period definitions.
12 years ago
Andreas Granig
f996d4a15e
Move naviation to NGCP::Panel::Utils::Navigation
12 years ago
Andreas Granig
86d89f881d
Some cleanups using preference helper.
12 years ago