[freeside-commits] freeside/FS/FS/cdr taqua.pm,1.4,1.5
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Apr 6 11:31:13 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv23914
Modified Files:
taqua.pm
Log Message:
calltype 6 is international
Index: taqua.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/taqua.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- taqua.pm 12 Jan 2009 23:51:34 -0000 1.4
+++ taqua.pm 6 Apr 2009 18:31:11 -0000 1.5
@@ -22,7 +22,16 @@
'uniqueid', #SequenceNumber
'accountcode', #SessionNumber
'src', #CallingPartyNumber
- 'dst', #CalledPartyNumber
+ #'dst', #CalledPartyNumber
+ #CalledPartyNumber
+ sub {
+ my( $cdr, $field, $conf ) = @_;
+ if ( $cdr->calltypenum == 6 && $cdr->cdrtypenum == 0 ) {
+ $cdr->dst("+$field");
+ } else {
+ $cdr->dst($field);
+ }
+ },
#10
_cdr_date_parser_maker('startdate'), #CallArrivalTime
More information about the freeside-commits
mailing list