From: ivan Date: Wed, 29 Sep 2010 19:38:00 +0000 (+0000) Subject: fix noskip_dst_length_accountcode_tollfree, RT#9683 X-Git-Tag: TORRUS_1_0_9~255 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=700eefaade6c281ef921965543e71534cd78a84d fix noskip_dst_length_accountcode_tollfree, RT#9683 --- diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 8294bed65..005009ae2 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -851,7 +851,7 @@ sub check_chargable { return "destination less than $dst_length digits" if $dst_length && length($cdr->dst) < $dst_length && ! ( $opt{'noskip_dst_length_accountcode_tollfree'} - && $cdr->is_tollfree + && $cdr->is_tollfree('accountcode') ); return "lastapp is $opt{'skip_lastapp'}"