User Activity

  • Posted a comment on discussion Open Discussion on Network Caller ID

    I've pulled out the code and tested it by itself. While different from the other places where this is done, it is formatting the time correctly. The time that comes out is timezone shifted from UTC, and will be the same as if ncidd used the 'date' command. Try comparing the results from 'date' and 'date -u'. You can throw your own empty test calls into ncidd to check the time by connecting with netcat. e.g. I typed this ~~~ netcat localhost 3333 CALL: ###NMBR6137778888...NAMEtime test+++ GOODBYE...

  • Posted a comment on discussion Open Discussion on Network Caller ID

    Are the times in ncidd.log also incorrect, or would it just be wrong for that one call record? (The code that formats the CID line for the missing caller ID is a bit different fro the other time formatting.)

  • Posted a comment on discussion Open Discussion on Network Caller ID

    When the option gencid=1, which it appears to be here, a CID record will be produced on the second RING, since caller ID is expected to come before the second RING on a POTS call. The timestamp in the record comes from the system clock when ncidd calls gettimeofday(). The same code is used for the timestamps that appear in the ncidd.log file.

  • Posted a comment on discussion Open Discussion on Network Caller ID

    Yes, regex=0 is the default. It's not mentioned in the User Manual, but it is in the comments in the ncidd.conf file.

  • Posted a comment on discussion Open Discussion on Network Caller ID

    Yes, the quotes will work to allow you to put spaces in the expression text.

  • Posted a comment on discussion Open Discussion on Network Caller ID

    I have no idea why my reply has some words coloured green.

  • Posted a comment on discussion Open Discussion on Network Caller ID

    The documentation in the code says * store a black or white list expression for strmatch regex=0 * supports ^1?*expression*$ * the resulting abwstr struct stores precomputed flags for the * special matching characters ^ 1? * and $ plus a pointer to * the remaining substring to be matched * black, white lists are implicitly *expression* so that ^419 will match any call from the 419 area code

  • Posted a comment on discussion Open Discussion on Network Caller ID

    I don't see it there either, so apparently there isn't a package for arm7l. It's pretty easy to compile from the source code, instructions are here, the hardest part is in installing the dependencies. https://ncid.sourceforge.io/doc/NCID-UserManual.html#instl_deb_comp

View All

Personal Data

Username:
ed_attfield
Joined:
2006-10-24 23:14:14
Location:
Canada

Projects

This is a list of open source software projects that Ed Attfield is associated with:

Personal Tools