From: jeff Date: Thu, 9 Apr 2009 22:51:35 +0000 (+0000) Subject: used BillingNumber and not CallingPartyNumber for non-toll-free calls X-Git-Tag: root_of_svc_elec_features~1289 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0946eacb6b3a00cc8ccfcbb2623f63b821ba5321 used BillingNumber and not CallingPartyNumber for non-toll-free calls --- diff --git a/FS/FS/cdr/taqua.pm b/FS/FS/cdr/taqua.pm index 3e9840074..26c0bda62 100644 --- a/FS/FS/cdr/taqua.pm +++ b/FS/FS/cdr/taqua.pm @@ -94,7 +94,11 @@ use FS::cdr qw(_cdr_date_parser_maker); return; } } - ''; + if ( $cdr->is_tollfree ) { # thankfully this is already available + $cdr->charged_party($cdr->dst); # and this + } else { + $cdr->charged_party($field); + } }, sub { my($cdr, $field) = @_; }, #SubscriberNumber