From: Bruce W. <br...@mi...> - 2003-06-17 04:30:08
|
> I've integrate my netcallerid and it works great. > Announces all the calls as they come in. > > First question: > Is there a preferred method for clearing the inbound > messages log file? I couldn't find anything obvious. > Should I simply delete the file in the data directory? Guess I hadn't thought about clearing the log before. I suppose for privacy issues you might want to. mh/code/common/phone_logs.pl is the code you would want to review. Should be able to prune or delete the current log file in data_dir/phone. > Second question: > What I would like to do is request the computer to > tell me about any new calls received since I last > asked, then request the computer to clear the new > call list. I didn't see anything callerid.pl that > might support this, nor anything in the lib directory > that was obvious. Am I missing something? Or, do I > just need to write the code? Nothing currently built in to the existing code. You could simply increment and clear a $Save{phone_calls} variable. Bruce |