summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-08-09 20:30:22 +0000
committerivan <ivan>2010-08-09 20:30:22 +0000
commita416f179e995b0d4f53e8c58e9904f31371a938b (patch)
tree2b150ee30ecb071ae6908b0c3beeb188436dfd05
parent5302c3ef626bbde7afdb7606176210f528992661 (diff)
fix harmless cdr_svc_method noise, RT#9428
-rw-r--r--FS/FS/part_pkg/voip_cdr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm
index 1d2f6733c..984a65068 100644
--- a/FS/FS/part_pkg/voip_cdr.pm
+++ b/FS/FS/part_pkg/voip_cdr.pm
@@ -314,7 +314,7 @@ sub calc_usage {
# my $downstream_cdr = '';
- my $cdr_svc_method = $self->option('cdr_svc_method')||'svc_phone.phonenum';
+ my $cdr_svc_method = $self->option('cdr_svc_method',1)||'svc_phone.phonenum';
my $rating_method = $self->option('rating_method') || 'prefix';
my $intl = $self->option('international_prefix') || '011';
my $domestic_prefix = $self->option('domestic_prefix');