From: Jeremy Davis Date: Thu, 28 Aug 2014 16:19:36 +0000 (-0400) Subject: #30616 Fix AU toll-free X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=38f381389a48a37a7ed6d6ea5e963166adb47318 #30616 Fix AU toll-free --- 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)