Andreas Granig
d2dfbeab1c
MT#4949 Use pbx in call flow graph.
12 years ago
Andreas Granig
2ee40a3a6c
MT#3917 Show datetime in local timezone for DT.
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
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
Andreas Granig
3030a62a73
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
9ef4961e97
MT#3925 Migrate more common methods into Role.
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
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
ff68cbdf84
MT#4309 Show locked subs in Customer Details
...
Before, only active ones where shown.
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
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
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
Andreas Granig
dd62516857
Fix $controller::auto declaration.
12 years ago
Andreas Granig
8a194e5055
Use preference label instead of attribute.
...
For admins and resellers, show label in addition to attribute.
For subscribers, only show label.
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
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
Alexander Lutay
38e31a6ac8
TT#3921 Usability enhancement for SIP call diagram
...
Sip diagram no longer have hardcoded parts LB, PROXY, APP, SBC.
The componnets order on diagram exactly the same as
order in call, usually it is "UA1->LB->PROXY->SBC->UA2...->UAx".
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
5936b599d5
Fix saving preferences of type enum with empty value
...
when a preference with empty value is saved, this row was just
deleted from the db. This is not true for enums, because an empty string
is not always the default value. Therefore we only delete enum preferences
when their value matches the one of the enum, configured as default.
This can be checked, by setting the domain preference outbound_pai_user
to None, which resulted in wrong behaviour before.
Mantis: 3769
12 years ago
Andreas Granig
d801311821
Remove debug output to stdout.
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
9a1873bfd8
Fix test environment.
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
fe580d3c53
Show product name in customer details.
12 years ago
Gerhard Jungwirth
07d3ee5244
provide error message on "column" cannot be null
...
and by making the respective field not_nullable prevent this from even
happening
Mantis: 3677#c22033
12 years ago
Gerhard Jungwirth
4cfa5b7870
Only expose delete button to contacts with no contracts
...
else the delete fails anyway with foreign key constraint
12 years ago
Gerhard Jungwirth
f7586a4e29
fix missing include "NGCP::Panel::Utils::DateTime"
12 years ago
Andreas Granig
ad9a8bb4dd
Use localtime in TS and set createtime for subs.
...
Consequently use server's localtime to align with auto-filled timestamps.
Set create_timestamp when creating subscribers.
12 years ago
Gerhard Jungwirth
778c3caba3
fix missing validation on integer preferences
...
which failed a test
also adapt the domain test to the new login path
12 years ago
Gerhard Jungwirth
0909c813f3
Use the messaging utility for Domains
12 years ago
Gerhard Jungwirth
f569c82dd6
adapt search data structure to older versions of DBIx::Class
...
we would require 0.08250 to omit this
12 years ago
Gerhard Jungwirth
e892998959
Adapt literal sql to older versions of DBIx::Class
...
the previous version failed on the debian version (0.08196)
12 years ago
Gerhard Jungwirth
e44482fee6
possibility to search a subscriber by his number
...
Mantis: 0003599
12 years ago
Gerhard Jungwirth
62124acf50
Have a new messaging util for custom filtering of error messages
...
Use MooseX Method signatures for a cleaner environment
12 years ago
Gerhard Jungwirth
356891c29b
Handle the preference man_allowed_ips like allowed_ips
12 years ago
Gerhard Jungwirth
c33021d30e
Handle allowed_ips preference.
...
Write data to voip_allowed_ip_groups. Use voip_aig_sequence as counter.
Also move the Preference handling to Utils/Preferences.pm
12 years ago
Gerhard Jungwirth
ec18d91ee8
move admin deletion to Utils::Contract::recursively_lock_contract
...
and prohibit deletion of the currently used account
12 years ago
Andreas Granig
70d9280af7
Fix syntax error.
12 years ago
Andreas Granig
f9ed88af39
Provision "search" domain to prosody.
...
Implicitely add a domain search.$domain for each domain we're creating,
and tie the sipwise_vjud XEP-0055 module onto it.
12 years ago
Andreas Granig
56c167c575
Fix terminating voip_subscribers for reseller.
12 years ago
Andreas Granig
6054ada6fb
Tell prosody about new/deleted domains.
12 years ago