diff options
author | jeff <jeff> | 2009-04-09 22:51:35 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-04-09 22:51:35 +0000 |
commit | 0946eacb6b3a00cc8ccfcbb2623f63b821ba5321 (patch) | |
tree | 0f6f257bc7963b7f7bf1045beb657ce5ddefb6e5 | |
parent | 459732179018e21f4ff78cf334ad509050576835 (diff) |
used BillingNumber and not CallingPartyNumber for non-toll-free calls
-rw-r--r-- | FS/FS/cdr/taqua.pm | 6 |
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 |