Irina Peshinskaya
cf58d77cb5
TT#5953 Fix directory format for the voicemail greetings
...
Change-Id: I8dc124109e6f7dc16bfea71cae4bb0b97dbe97f9
8 years ago
Irina Peshinskaya
27ef7ef77b
TT#5954 Unify cf_destination creation subroutine in web panel
...
Change-Id: I264fe9aad2d3d802490d2b04e7879d32433a920b
9 years ago
Irina Peshinskaya
c379dc9493
TT#5954 Rename custom hours announcements
...
Change-Id: I2918e6fcc48c3de3bdd0c80254a80dc93e1ce882
9 years ago
Irina Peshinskaya
9d13bf3bb9
TT#5415 Fix typo
...
Change-Id: Iae347183b54459b3d510319ad845eb218bbf7b82
9 years ago
Irina Peshinskaya
daf92dcb84
TT#5954 Add Custom Hours option to CF
...
Change-Id: I1296caa99bbf6a2537ca3aca0c696639f30a7704
9 years ago
Irina Peshinskaya
2bce1c979e
TT#5415 Don't touch unchanged pbx groups for member to save members order
...
Change-Id: I1412e2c4ac3e6b0662a3f31b002d480165d97040
9 years ago
Gerhard Jungwirth
c46f1c497c
MT#21293 API fix peer auth sems update
...
behaviour unified with webpanel controller
Change-Id: I21c4018dd2584e7a8934de0a2f339ca541f84838
9 years ago
Irina Peshinskaya
418c6ee246
MT#18601 Fix getting pbx relations
...
Change-Id: Ie9f844d73b082abc74d989bc3da5fb41c62aa793
9 years ago
Kirill Solomko
fd56d72476
MT#19113 subscriber and peering apply_rewrite and lookup
...
- extended apply_rewrite to allow "rwr_rs" parameter to
override rewrite rule set
- added lookup functions for Subscriber and Peering to
perform a lookup based on calleer/callee
Change-Id: Iceea7a807587e12e1f5485998ade23bc932adaaf
9 years ago
Andreas Granig
a579c89722
MT#16777 Implement lnp rewrite rules.
...
Change-Id: Ibb99d73ec74c5c6f419f31b2ad1f8487d9cb7a6d
9 years ago
Gerhard Jungwirth
029765d8a5
MT#17473 allow single numbers in alias range field
...
by setting the length to 0 or undef
Change-Id: Ide65d6a0c6be635cdd51b569dd3f913fb52cf2bb
9 years ago
Rene Krenn
22607eedf3
MT#13337 add subscriber lock level 5 ('ported')
...
Change-Id: Ief3c9b09653e634a271843899736ab334b47ae12
9 years ago
Irina Peshinskaya
bbfe673f4f
MT#16983 Don't display pbxgroups and subscribers if there is no linked
...
Change-Id: Ic7070f6ca7614cabaa455d70399908f608d9a82f
9 years ago
Andreas Granig
e456d6d8c6
MT#16883 Set vmb prefix for cfb to voicemail.
...
API needs to be checked also!
Change-Id: Ia2368e25ffcdf7a667fe173359c54cffc8577330
10 years ago
Irina Peshinskaya
5235a7a7bf
MT#15441 Using config for the cli and primary number sync
...
Ifcli and number don't differ and sync is allowed by config
=> then continue to sync.
Change-Id: Icc242dfa9b795e00b405eb7c22fa27b26a9ebaf0
10 years ago
Irina Peshinskaya
d0f0a846c8
MT#16231 Apply rewrite rules to the faxes phone numbers in WEB UI
...
Change-Id: I0ba605423baaabe1581e5b37537ff03689d4c019
10 years ago
Rene Krenn
59ec368233
MT#16109 update "prepaid" pref correctly
...
Change-Id: I6285db0776a87e4537961fb8a79430d093016b45
10 years ago
Rene Krenn
7f7e3332d1
MT#15477 topup log
...
any *attempt* of a top-up request should be
logged.
+create top-up log records for api
in order to record failed top-up requests as well,
the somewhat tricky thing is to have two
separate transactions here
+propery casting of topup request json field
values to numbers etc., so the transaction for
creating the log entry cannot fail and e.g.
requests with subscriber_id='blah' are recorded
correctly
+new "request_token" parameter for /api/topupvoucher
and /api/topupcash, to identify and filter for
particular requests.
+topup log api resource
+topup log api tests
+fix to correctly reject used vouchers
+topup log panel UI
+fix for balanceintervals.t threaded tests
Change-Id: I86eb845f6173803705b12cc7e5cdbac9a3153a0a
10 years ago
Irina Peshinskaya
a8c7990b62
MT#15441 Don't synchronize cli and primary number if they already differ
...
Cli can be edited through subscriberpreferences.
In such case it's value should be preserved on primary_number change.
Change-Id: I6b9d4a8d70e6e85dd9e2bf063cf4c047296deea1
10 years ago
Rene Krenn
07c9d1955d
MT#14255 add cash_balance underrun logic
...
in short: whenever the contract_balances "cash_balance" is
about to decrease, it might drop below thresholds defined
by a contract's profile package. in that case, subscribers
are to be locked and/or underrun billing profile sets are
to be applied. this commit also contains some minor fixes:
+when creating/editing profile packages, all billing
profiles of initial, topup, underrun sets must show the
same interval_free_cash and interval_free_time values.
there was also a problem with adding profile sets to
packages that use profile with prepaid = 1 (see ticket
14301)
+when editing packages using the panel UI, the validation
was not properly invoked (!) +the frequency of topups has
to be limited to 1 per second.
+updating the "lock" subscriber prior to editing or viewing
it in the panel UI was added.
+topup cash and topup voucher panel UI added
+when aquiring multiple contract row locks at once, no
joined tables are used any mure. the number of row locks
is therefore minimal now (see ticket 14903)
+rework of updating prepaid subscriber preference
Change-Id: Ideb0fec2404ca10b3ac5d8735f53620d0c3a24ed
10 years ago
Kirill Solomko
aa2d53e5fb
MT#15113 - apply_rewrite: use billing domain for terminated susbcribers
...
Change-Id: I0231a23e9d4dd6b3d6c6dde0ff70125a93ed71c9
10 years ago
Gerhard Jungwirth
c9380e61dd
MT#12985 prevent ambiguity in rwr replace pattern
...
see http://perldoc.perl.org/perlre.html#Warning-on-\1-Instead-of-$1
Change-Id: I36dfa6cda570a4aef7da6ccc19e1d296c16f00c2
10 years ago
Gerhard Jungwirth
e837311b76
MT#14391 Fix editing aliases without primary number
...
Change-Id: I7d36d3776d11b1f869a3cada11c664aa120237c2
10 years ago
Irina Peshinskaya
0e1d80c15f
MT#14559 Trigger db_reg_agent.removeRegistration on subscriber termination
...
Change-Id: I7ba4e467d9f9a96890eeb5eeb4a6de392e1f4447
10 years ago
Gerhard Jungwirth
4fecd3d2bb
MT#14391 Correctly select alias nums on subscriber edit
...
previously all primary numbers have been filtered out.
This is wrong, if the number has been the primary number
of a previous (terminated) subscriber.
Change-Id: Iebbd96898715d86bfd10ac6d2d084c46de08def6
10 years ago
Gerhard Jungwirth
5590a1090f
MT#13329 adapt rewrite rules to new upstream syntax
...
Change-Id: I8ee7590814936f4a57f2066212d58369b7690d3e
10 years ago
Irina Peshinskaya
7ba2dbd0d3
MT#12939 Preserve groups order while edit subscriber
...
Change-Id: I2a2c1cf89e72c3345b3abcf3367301e4487ba083
10 years ago
Irina Peshinskaya
558bb1c2fc
MT#12939 Manage pbx groups and members order through the web-Panel
...
Change-Id: I46e921cdbbe26ec2e0cf291abbb08bbabb4ae5b1
10 years ago
Irina Peshinskaya
003e717c02
MT#12937 Replace groups managements different code parts with common methods
...
Change-Id: If598ff0b3cef7c9c8c21ad2c509bce0d9fc4edb7
10 years ago
Andreas Granig
b02c92c017
MT#13201 Cleanup debug output
...
Change-Id: Id6346e3b20f29b0630cb05dc9e5810d52edde8db
10 years ago
Gerhard Jungwirth
53ee3a32a8
MT#12813 fix calllist subscriber retrieval
...
get it directly without accessing provisioning.voip_subscriber
and notify about terminated subscribers
Change-Id: Ife6d936c052b3dcda0f03013ee53bafa34b9f19b
10 years ago
Gerhard Jungwirth
ffa327bfbf
MT#12905 set cf cli to the primary number
...
Change-Id: I1e571fa4dc156de83c910dbfecd0280fa8b75b58
10 years ago
Andreas Granig
2e95fedee8
MT#12847 Use first range number as primary number
...
If no primary number is given but a number range is provided, use
the first of the range as primary number.
Change-Id: I9b3a7bf1d4b1523f9cd0af3a3a7a70c95bb8d3ab
10 years ago
Irina Peshinskaya
bda844c9d3
MT#10159 Add API call towards MWI on voicemail dir change
...
Change-Id: I37907d1a5351911f5b357ae1e7992c189a9730d3
10 years ago
Andreas Granig
65ceb1acd8
MT#10879 Fix fix of CLI handling on sub creation
...
Change-Id: I61a1bf28f40c8ef08617c9520c38d52bb661d096
10 years ago
Andreas Granig
b2c4fca10f
MT#10879 Fix setting cli preference.
...
Change-Id: I5caa24daa626b3df75de08cd9c0773d2cf58e212
10 years ago
Andreas Granig
b2cfc9c003
MT#10879 Set uuid as mailbox user if no number.
...
Change-Id: Ibb6d083d664c4aa8e51459d7460e141581a419a3
10 years ago
Andreas Granig
e37dc3d40a
MT#10879 Handle deletion of primary number.
...
Change-Id: I837f6af3dfbaac645eaf95cb02095d4ff9d31938
10 years ago
Kirill Solomko
01fe7f5245
MT#9607 - Fix delete allowed_ip_groups
11 years ago
Irina Peshinskaya
29b988492f
MT#9431 Update usr_preference cloud_pbx_hunt_policy in Subscriber API.
11 years ago
Andreas Granig
d5ee051bd5
MT#9445 Set voicemail_users tz to 'vienna'
...
This makes it backwards-compatible to ossbss. At some point, the
timezone should be taken from the customer or domain, but that would
need to affect also CDRs etc.
11 years ago
Andreas Granig
17a3260153
MT#9263 Introduce simple_destination in CF API
11 years ago
Andreas Granig
be8cad19bb
MT#8035 Trigger stop_profile on subscriber term
...
... if subscriber had a profile assigned.
11 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
11 years ago
Andreas Granig
86fffe08e1
MT#9263 Fix CF API handling of numbers.
...
Numbers must be normalized to URIs too.
11 years ago
Kirill Solomko
c1c72dd6c7
MT#8547 - replaced experimental "smartmatch" code with the sane if/else custom SWITCH blocks
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
Andreas Granig
bd3bd98719
MT#9047 Remove allowed ips before subs termination
11 years ago
Andreas Granig
f3984d4aec
MT#8279 Fix domain normalization for subs.
11 years ago
Andreas Granig
b860218f91
MT#8449 Fix clearing unused alias numbers
...
Take billing.voip_numbers as reference for clearing unused dbalias
entries.
11 years ago
Andreas Granig
4f76fdaf96
MT#8633 Properly set is_primary on sub creation
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
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