You assumption is correct. This is the Whole file for 1:
<recording_info>
<recording_tag>All Record</recording_tag>
<recorded_call_id>36327</reco
<recorder_cid />
<recorded_cid>Kimberly Miles <109></recorded_cid>
<recorder_account_id />
<recorded_account_id>1107</re
<from_account_id>1107</from_a
<from_caller_id>Kimberly Miles <109></from_caller_id>
<to_account_id>-1</to_account
<to_caller_id>95475425</to_ca
<duration>160</duration>
<date_created_ts>2009-09-08 09:18:34.037292</date_creat
<date_created_secs>125242671
</recording_info>
I would prefer batch only because the machine that this will be ran on does not have awk installed... but i can if needed, just looking for a quick easy solution that i can run using the built in scheduler for windows, then once the file is created i can have MySQL take over the DB update part.
Main Topics
Browse All Topics





by: billprewPosted on 2009-09-10 at 18:17:12ID: 25306018
For your example, can you attach a smaple of the 3 files that you started with? I'm assuming they contained everything but the <file_name> tag, but not sure if I'm assuming too much.
Does this need to be a DOS batch file, or could something like AWK be leveraged?
~bp