Saving Caller ID Info to a test file.
davegrov
Posts: 114
I currently us the AXB+ DTMF to capture caller ID info and send it to my Modero Panels. As a former Landmark user used to the file I it saved on the connected PC. Is the way to save the file using Netlinx studio to create/open/append/save the caller ID info to a text file. In other words to create an incoming call log.
Thanks
Thanks
0
Comments
VOLATILE CHAR sCALL_LOG[NUMBER_CALLS_TO_SAVE][13]
VOLATILE INTEGER nCALL_LOG_PTR = 1
this variable could hold phone numbers in the format (123)456-7890
You also create an integer that points to the current insertion point for the next incoming phone number. You will have to put a little thought into how you want to display the info so you know how to traverse the array to populate your list in the correct order, but this should be faster and more desirable than writing an ever growing file to the disk.
If you want the call log to be saved even if the processor looses power, you can change the word VOLATILE to PERSISTENT in both cases.
Hope this helps,
Jeff