[freeside-commits] freeside/FS/FS/cdr taqua.pm,1.7,1.8
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Apr 9 15:51:37 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv31019
Modified Files:
taqua.pm
Log Message:
used BillingNumber and not CallingPartyNumber for non-toll-free calls
Index: taqua.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/taqua.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- taqua.pm 7 Apr 2009 20:45:14 -0000 1.7
+++ taqua.pm 9 Apr 2009 22:51:35 -0000 1.8
@@ -94,7 +94,11 @@
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
More information about the freeside-commits
mailing list