Not a biggie but the call timestamp is an hour off.
I've checked and rechecked my timezone and it's correct.
thanks for your help....great application!
My hard drive failed so I've upgraded to the latest version:
Started: 08/12/2019 10:45:53
Server: ncidd (NCID) 1.10.1
API: 1.8 Feature Set 1 2 3 4 5
Sysname: Linux
Nodename: ncid
Machine: x86_64
Release: 5.0.0-23-generic
Version: #24-Ubuntu SMP Mon Jul 29 15:36:44 UTC 2019
RING
CIDINFO: LINEPOTSRING1TIME10:59:43*
DATE = 0812
TIME = 1159
NMBR = 9016516787
NAME = DOE JOHN
calltype=CID hangup=3 hupmode=0 cidline=POTS lineid=POTS
cidline == lineid: check whitelist
Checked Whitelist for match flag=0 ret=1 nmbrmatch=2
Whitelist Match #08: 9016516787 number: 9016516787 name: DOE JOHN
Name or number on the whitelist: skip hangup check
CID: DATE08122019TIME1159LINEPOTSNMBR9016516787MESGNONENAMEDOE JOHN*
Anonymous
I'm not sure, from what you've written, which time is correct for your location.
The lines you've shown
DATE = 0812
TIME = 1159
come from the phone company with the caller ID NMBR and NAME.
The other times that you are seeing are coming from your computer. Its clock runs in UTC and a time zone offset is applied before it is displayed.
You can check the current time and default time zone on your computer with timedatectl. The timedatectl command is not affected by the TZ variable, while the date command and ncidd are.
e.g. I'm in EDT but I'm using TZ=PDT to change the displayed time zone
ncidd does not have an option for shifting the time that comes from your phone company.
CIDINFO: LINEPOTSRING1TIME10:59:43 has the correct time. This reflects my timezone.
yet, when it's written to cidcall.log, an hour is added to the time.
CID: DATE08122019TIME1159LINEPOTSNMBR9016516787MESGNONENAMEDOE JOHN
My guess is the application is using two different methods for the current time.
The date/time you see in
CID: DATE08122019TIME1159is taken directly from the DATE/TIME from the modem which comes from the phone company. The modem does not report a date/time on each ring soCIDINFOis in real time based on the computer's clock.Do you have any caller-id devices connected that are capable of showing the date/time? If so, their date/time should match the modem.
ok! thanks for the help, yes the modem time is off. I'll call the telephone service.
Could you let us know what the telephone service says or does? I'm just curious.
The Caller ID time sent by the modem is not correct.