[freeside-commits] freeside/FS/FS/cdr taqua.pm,1.2,1.3
Ivan,,,
ivan at wavetail.420.am
Mon Sep 8 19:24:34 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv17473/FS/FS/cdr
Modified Files:
taqua.pm
Log Message:
additional QIS/Taqua-specific CDR handling details, RT#3838
Index: taqua.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/taqua.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- taqua.pm 2 Aug 2008 23:51:48 -0000 1.2
+++ taqua.pm 9 Sep 2008 02:24:31 -0000 1.3
@@ -11,9 +11,9 @@
'weight' => 130,
'header' => 1,
'import_fields' => [ #some of these are kind arbitrary...
- sub { my($cdr, $field) = @_; }, #XXX interesting RecordType
- # easy to fix: Can't find cdr.cdrtypenum 1 in cdr_type.cdrtypenum
+ #0
+ 'cdrtypenum', #RecordType
sub { my($cdr, $field) = @_; }, #all10#RecordVersion
sub { my($cdr, $field) = @_; }, #OrigShelfNumber
sub { my($cdr, $field) = @_; }, #OrigCardNumber
@@ -23,6 +23,8 @@
'accountcode', #SessionNumber
'src', #CallingPartyNumber
'dst', #CalledPartyNumber
+
+ #10
_cdr_date_parser_maker('startdate'), #CallArrivalTime
_cdr_date_parser_maker('enddate'), #CallCompletionTime
@@ -53,9 +55,11 @@
sub { my($cdr, $field) = @_; }, #TermShelfNumber
sub { my($cdr, $field) = @_; }, #TermCardNumber
+
+ #20
sub { my($cdr, $field) = @_; }, #TermCircuit
sub { my($cdr, $field) = @_; }, #TermCircuitType
- sub { my($cdr, $field) = @_; }, #OutboundCarrierId
+ 'carrierid', #OutboundCarrierId
'charged_party', #BillingNumber
sub { my($cdr, $field) = @_; }, #SubscriberNumber
'lastapp', #ServiceName
@@ -63,10 +67,15 @@
'lastdata', #ServiceInformation
sub { my($cdr, $field) = @_; }, #FacilityInfo
sub { my($cdr, $field) = @_; }, #all 1900-01-01 0#CallTraceTime
+
+ #30
sub { my($cdr, $field) = @_; }, #all-1#UniqueIndicator
sub { my($cdr, $field) = @_; }, #all-1#PresentationIndicator
sub { my($cdr, $field) = @_; }, #empty#Pin
- sub { my($cdr, $field) = @_; }, #CallType
+ 'calltypenum', #CallType
+
+ #nothing below is used by QIS...
+
sub { my($cdr, $field) = @_; }, #Balt/empty #OrigRateCenter
sub { my($cdr, $field) = @_; }, #Balt/empty #TermRateCenter
@@ -78,6 +87,8 @@
'userfield', #empty#UserDefined
sub { my($cdr, $field) = @_; }, #empty#PseudoDestinationNumber
sub { my($cdr, $field) = @_; }, #all-1#PseudoCarrierCode
+
+ #40
sub { my($cdr, $field) = @_; }, #empty#PseudoANI
sub { my($cdr, $field) = @_; }, #all-1#PseudoFacilityInfo
sub { my($cdr, $field) = @_; }, #OrigDialedDigits
@@ -88,6 +99,8 @@
sub { my($cdr, $field) = @_; }, #huh?#InsertTime
sub { my($cdr, $field) = @_; }, #key
sub { my($cdr, $field) = @_; }, #empty#AMALineNumber
+
+ #50
sub { my($cdr, $field) = @_; }, #empty#AMAslpID
sub { my($cdr, $field) = @_; }, #empty#AMADigitsDialedWC
sub { my($cdr, $field) = @_; }, #OpxOffHook
More information about the freeside-commits
mailing list