diff options
author | jeff <jeff> | 2009-04-07 01:20:38 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-04-07 01:20:38 +0000 |
commit | 1a588ca640701eac6e6f1c9dcd31fdc48d93fc9e (patch) | |
tree | f2cced372df7fd2b619d258eb34b3aa4c9cae8d0 /FS/FS/part_pkg | |
parent | ba06d25a6e19e6d5534e90619cf233306fa2f49c (diff) |
correct taqua toll free handling and hasten cdr import (skip uninteresting records)
Diffstat (limited to 'FS/FS/part_pkg')
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 9f6dd01..e25bba5 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -308,9 +308,7 @@ sub calc_recur { ### my( $to_or_from, $number ); - if ( $cdr->dst =~ /^(\+?1)?8(8|[02-7]{2})/ - && ! $disable_tollfree - ) + if ( $cdr->is_tollfree && ! $disable_tollfree ) { #tollfree call $to_or_from = 'from'; $number = $cdr->src; |