The question is in addition to my other post: Capture File that is written every minute withou missing anything.
I have the program working correctly except when creating a new file at the end of the day. I have included my script below. Basically it continues to write to the previous days...
Actually I did some research on previous posts andfound one where the user was getting 00 hex character in the line which would terminate the rget abnormally. I tried both solutions in the post. The first solution was to use the translation table but that did not work for me. The second option...
Here is your code modified it does not does not output all the data.
string fname ;first part of file name
string datefilename ;this is the date part of file name
string datahold
proc main
dial data "PBX"
set aspect rgetchar 13
fname = "syrpbx " ;put the first...
so with the rget command I can trigger it after a character is recieved or after a specific period of time? correct?
Here s a sample of my data:
N 099 00 3463 T001046 06/07 11:42 00:00:18 A 710115552534253
& 0000 0000
N 100 00 T001006 2273 06/07 11:42...
Yes they are needed for semi-real time analysis. I would actually like to have real time analysis, but thought that would be harder. And yes the data is scrolling.
Yes ther is I am sorry for my wording. I need to capture all the data on the screen every 5 minutes if I use the capture on and off with a clear screen I run the risk of missing some data. I could get data every second. What I was asking is if there was another way to write the data to a file...
I am logging all calls comming from my PBX what I need to do is record all calls every couple minutes to a file that can be imported into SQL for furture use. I would also like to have one file from the entire day for archiving purposes.
Thanks
Mark
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.