diff options
author | jeff <jeff> | 2009-04-06 23:19:34 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-04-06 23:19:34 +0000 |
commit | ba06d25a6e19e6d5534e90619cf233306fa2f49c (patch) | |
tree | fb02683f738c6f05c429918c48fc72b7a5178632 | |
parent | be924ea50c9fc5710bb3f587c492861c42cbdac8 (diff) |
better auto toll free regex
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 2 |
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 2325e6975..9f6dd0111 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -308,7 +308,7 @@ sub calc_recur { ### my( $to_or_from, $number ); - if ( $cdr->dst =~ /^(\+?1)?8([02-8])\1/ + if ( $cdr->dst =~ /^(\+?1)?8(8|[02-7]{2})/ && ! $disable_tollfree ) { #tollfree call |