diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2014-08-28 12:19:36 -0400 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-08-28 12:19:36 -0400 |
commit | 38f381389a48a37a7ed6d6ea5e963166adb47318 (patch) | |
tree | ceb57fd353aeb836c639a75aa9823db59b3d6493 /FS | |
parent | 6816a23d70984027517d33d6eb0ccd49ddd57704 (diff) |
#30616 Fix AU toll-free
Diffstat (limited to 'FS')
-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 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) |