diff options
author | jeff <jeff> | 2009-04-07 02:50:46 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-04-07 02:50:46 +0000 |
commit | 792155f15ac9c520dac7b72fdbddd894bd2b3133 (patch) | |
tree | d236703cb8a9dd1e31b1c9a3aa2bc63637a951e3 | |
parent | fee9be55f0a94bd0187e370253ec2b261944602c (diff) |
a tollfree regex that captures 88x and works with +1
-rw-r--r-- | FS/FS/cdr.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index bc5bb8d4e..0230adcd8 100644 --- 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 |