MT#7771 rename pbx_account_cli_list

Use cloud_pbx_account_cli_list instead.
gjungwirth/voicemail_number
Andreas Granig 12 years ago
parent 2d9be3f212
commit 59c69d2c10

@ -873,7 +873,7 @@ sub apply_rewrite {
@avps = keys %{{ map { $_ => 1 } @avps }}; @avps = keys %{{ map { $_ => 1 } @avps }};
for my $avp(@avps) { for my $avp(@avps) {
if(!exists $cache->{$avp}) { if(!exists $cache->{$avp}) {
if($avp eq "pbx_account_cli_list") { if($avp eq "cloud_pbx_account_cli_list") {
$cache->{$avp} = []; $cache->{$avp} = [];
foreach my $sub($subscriber->contract->voip_subscribers->all) { foreach my $sub($subscriber->contract->voip_subscribers->all) {
foreach my $num($sub->voip_numbers->search({ status => 'active' })->all) { foreach my $num($sub->voip_numbers->search({ status => 'active' })->all) {

Loading…
Cancel
Save