summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2009-04-09 22:51:35 +0000
committerjeff <jeff>2009-04-09 22:51:35 +0000
commit0946eacb6b3a00cc8ccfcbb2623f63b821ba5321 (patch)
tree0f6f257bc7963b7f7bf1045beb657ce5ddefb6e5
parent459732179018e21f4ff78cf334ad509050576835 (diff)
used BillingNumber and not CallingPartyNumber for non-toll-free calls
-rw-r--r--FS/FS/cdr/taqua.pm6
1 files changed, 5 insertions, 1 deletions
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