summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2014-08-28 12:11:20 -0400
committerJeremy Davis <jeremyd@freeside.biz>2014-08-28 12:11:20 -0400
commit1dbab258aed2f501761d69a2afcdf6b977721dfe (patch)
treeda8b8d7897e89c9d48938b72e4278594f8e7a645
parent15c1f19f13159664062bfd0cde07f9f117a5fca6 (diff)
#30616 Fix AU toll-free
-rw-r--r--FS/FS/cdr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index fce7a14ca..9859dfade 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -370,7 +370,7 @@ sub is_tollfree {
my $field = scalar(@_) ? shift : 'dst';
my $country = $conf->config('tollfree-country') || '';
if ( $country eq 'AU' ) {
- ( $self->$field() =~ /^(\+?61)?1800/ ) ? 1 : 0;
+ ( $self->$field() =~ /^(\+?61)?(1800|1300)/ ) ? 1 : 0;
} elsif ( $country eq 'NZ' ) {
( $self->$field() =~ /^(\+?64)?(800|508)/ ) ? 1 : 0;
} else { #NANPA (US/Canaada)