summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-10-03 19:41:59 +0000
committerivan <ivan>2008-10-03 19:41:59 +0000
commit4af73b8c830417be1e90ce274f5c19f5ec90b316 (patch)
tree9ab6d7704679261ae9d1aad955497c73e74aad4f
parent3a88582ed5708b0b0dd6c50c7227de8970b1344b (diff)
add debugging
-rw-r--r--FS/FS/part_pkg/voip_cdr.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm
index 979134a5a..64ea20a72 100644
--- a/FS/FS/part_pkg/voip_cdr.pm
+++ b/FS/FS/part_pkg/voip_cdr.pm
@@ -269,6 +269,8 @@ sub calc_recur {
$number = $cdr->dst;
}
+ warn "parsing call $to_or_from $number\n" if $DEBUG;
+
#remove non-phone# stuff and whitespace
$number =~ s/\s//g;
# my $proto = '';