projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fee9be5
)
a tollfree regex that captures 88x and works with +1
author
jeff
<jeff>
Tue, 7 Apr 2009 02:50:46 +0000
(
02:50
+0000)
committer
jeff
<jeff>
Tue, 7 Apr 2009 02:50:46 +0000
(
02:50
+0000)
FS/FS/cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr.pm
b/FS/FS/cdr.pm
index
bc5bb8d
..
0230adc
100644
(file)
--- a/
FS/FS/cdr.pm
+++ b/
FS/FS/cdr.pm
@@
-277,7
+277,7
@@
sub check {
sub is_tollfree {
my $self = shift;
- ( $self->dst =~ /^(\+?1)?8(
[02-8])\1
/ ) ? 1 : 0;
+ ( $self->dst =~ /^(\+?1)?8(
8|([02-7])\3)
/ ) ? 1 : 0;
}
=item set_charged_party