Open GoogleCodeExporter opened 9 years ago
Seems the record definition for record type 1 is not quite correct.
Can you post the complete record output from bafprp and bafview for this record?
If I can fix the record description the module should show up.
Also, are you using the latest code from the source tree or the compiled
version downloaded here?
Original comment by charless...@gmail.com
on 11 Jul 2013 at 4:15
Thanks for your answer!!! :)
I'm using the compiled version downloaded here.
The output records from bafprp is :
Record 1: Toll call or non-US
--------------------------------------------------------------------------
Length of record: 73, CRC32: 2603248605
--------------------------------------------------------------------------
File: BAF_2013-07-05_18h00_23_UTC.scd
--------------------------------------------------------------------------
Position: 156
--------------------------------------------------------------------------
Structure Code: structurecode: Modules Attached : 0001
Call Type: calltype: 006
Sensor Type: sensortype: 166
Sensor Identification: sensorid: Default : 000000
Record Office Type: recordofficetype: 166
Record Office Identification: recordofficeid: Default : 000000
Date: date: 2013-07-05
Timing Indicator: timingindicator: Default : Default : Default : Default :
Default
Study Indicator: studyindicator: Default : Default : Default : Default :
Default : Default : Default
Called Party Answer Indicator: calledpartyanswerindicator: Called Party Answer
Detected
Service-Observed/Traffic-Sampled Indicator: servicetrafficind: Default
Operator Action: operatoraction: Automatically Identified, Customer Dialed
Service Feature Code: servicefeaturecode: 000
Originating NPA: originatingnpa: 299
Originating Number: originatingnumber: 487-2006
Overseas Indicator: overseasindicator: Non-North American Numbering Plan
Terminating Number
Terminating NPA: terminatingnpa:
Terminating Number: terminatingnumber: 000-0000
Time: time: 07:52:2C
Elapsed Time: elapsedtime: 0:04:09.1
Module Code: modulecode: 4C2
Module Code: modulecode: 000
The output records from bafview "-v" is :
Toll call or non-US
-------------------------------------------
Length of record 78
-------------------------------------------
Modules appended to this record
Structure type: 1
Call type: 6
Sensor : Type = 166
Sensor : ID = 000000 : Default
Recording Office : Type = 166
Recording Office : ID = 000000 : Default
Date: 5 July 2013
Timing indicator : Default : Default : Default
Study indicator : Default : Default
Called party off-hook : Called party off-hook detected
Service observed / Traffic sampled : Default
Operator action : Automatically identified, customer dialed
Service feature code: None
Calling number: 299-487-2006
Overseas indicator : Non-NANP number dialed (non-international)
Called number: 000-000-0000
Time: 15:07:52.2
Length of call: 0:04.9
|| Appended module 164
Module code : E.164 / X.121 number
Number identity : Terminating
Country code : E.164 number for undeterminable country code length : 0000
Significant digits in next field : 012
Number : 000111531960367
|| Appended module 0
Module code : Final module
End of record
I need to take the field Number (000111531960367) but in the bafprp output this
field doesn't exists
I attach the file BAF
Original comment by natalia....@gmail.com
on 11 Jul 2013 at 5:06
Attachments:
Sorry for the delay - here is an update
I looked into this record type and it appears that bafprp's record definition
for record 1 is not correct. Which is causing the issue you are seeing.
It's not going to be a quick fix because from what I see in bafview the field
needs to be dealt with specially. I will look deeper into this and submit a
fix soon
Thanks
Original comment by charless...@gmail.com
on 17 Jul 2013 at 7:39
Thank you very much for your answer!
We hope your fix because this is of huge importance for us, your help is very
important to us. We´ll wait your answer. Thank you very much in advance.
Best Regards
Original comment by natalia....@gmail.com
on 22 Jul 2013 at 6:34
Hi Natalia -
Please try using this version of bafprp to see if it properly formats your baf
files.
I tested your sample file and it seems to work OK.
Original comment by charless...@gmail.com
on 11 Sep 2013 at 1:53
Attachments:
Hi Charles,
Thank you very much for the assistence!!
I have another question, now the "largedits" field has the terminating number
correctly, but in the details for output from SQL Server the "largedits" field
is null.
How can we resolve this issue?
We´ll wait your answer.
Thank you for your help!
Best Regards
Original comment by natalia....@gmail.com
on 13 Sep 2013 at 3:02
The full field name for largedigits would be 'm164.largedigits'
Try naming your database column that
Original comment by charless...@gmail.com
on 13 Sep 2013 at 4:48
Thanks, Thanks for your help.
This version of bafprp is working ok. Now we are using this version.
Thank you for all your excellent work!!!
Regards,
Natalia (Argentina)
Original comment by natalia....@gmail.com
on 17 Sep 2013 at 12:08
Original issue reported on code.google.com by
natalia....@gmail.com
on 11 Jul 2013 at 2:03