projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be924ea
)
better auto toll free regex
author
jeff
<jeff>
Mon, 6 Apr 2009 23:19:34 +0000
(23:19 +0000)
committer
jeff
<jeff>
Mon, 6 Apr 2009 23:19:34 +0000
(23:19 +0000)
FS/FS/part_pkg/voip_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
2325e69
..
9f6dd01
100644
(file)
--- 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