When a call comes in NCIDpop automatically updates the caller log.
Is there a way to update the caller log from the server using the command line?
Reason why I am asking: as my ncidd.log file grows (i.e. over 1000 lines), every time I update and alias using NCIDpop my raspi chugs away for several minutes doing a regex find replace. I've added a bash profile script on my server that lets me instantly add an alias and update the ncidd.log file without having to wait for NCIDpop to update the alias. Currently I have to go to NCIDpop after I run my script to select "refresh" to update the lists on my client.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure I understand the central part of your request, so I'll start with this and you can correct me.
Most of the clients, including NCIDpop, establish a connection to the ncidd server and ask it to read the cidcall.log file for them. The client caches this and displays it. The clients do not get any notification when changes are made to the file.
When NCIDpop is used to add an alias (right mouse, Add Alias), the ncidutil script adds a line to the ncidd.alias file, and then NCIDpop asks the ncidd server to reload the alias, black and white files. Aliases can be added with very low overhead.
NCIDpop then gives a pop-up menu to offer a choice of applying the alias to No Logs, All Logs, or Just Current Log. Choosing No Logs does nothing more.
Choosing All Logs or Just Current Log causes ncidd to run cidupdate to apply the current alias file to one or more of the cidcall.log files. You are asked to accept the changes, and then NCIDpop then fetches the new cidcall.log file.
If you have a truly huge ncidd.alias file, modifying an existing alias with ncidutil might be slow but I'm not seeing it.
The call to cidupdate has been very slow in the past, but is much faster in the latest 1.11 release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I took the plunge and upgraded my server from 1.7 (working perfectly but really slow alias updates/changes) to 1.11 (alias updates/changes are now FAST but I am having a lot of trouble getting NCIDD working properly).
Consider my previous question closed as it pertained to the older version of NCIDD.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When a call comes in NCIDpop automatically updates the caller log.
Is there a way to update the caller log from the server using the command line?
Reason why I am asking: as my ncidd.log file grows (i.e. over 1000 lines), every time I update and alias using NCIDpop my raspi chugs away for several minutes doing a regex find replace. I've added a bash profile script on my server that lets me instantly add an alias and update the ncidd.log file without having to wait for NCIDpop to update the alias. Currently I have to go to NCIDpop after I run my script to select "refresh" to update the lists on my client.
I'm not sure I understand the central part of your request, so I'll start with this and you can correct me.
Most of the clients, including NCIDpop, establish a connection to the ncidd server and ask it to read the cidcall.log file for them. The client caches this and displays it. The clients do not get any notification when changes are made to the file.
When NCIDpop is used to add an alias (right mouse, Add Alias), the ncidutil script adds a line to the ncidd.alias file, and then NCIDpop asks the ncidd server to reload the alias, black and white files. Aliases can be added with very low overhead.
NCIDpop then gives a pop-up menu to offer a choice of applying the alias to No Logs, All Logs, or Just Current Log. Choosing No Logs does nothing more.
Choosing All Logs or Just Current Log causes ncidd to run cidupdate to apply the current alias file to one or more of the cidcall.log files. You are asked to accept the changes, and then NCIDpop then fetches the new cidcall.log file.
If you have a truly huge ncidd.alias file, modifying an existing alias with ncidutil might be slow but I'm not seeing it.
The call to cidupdate has been very slow in the past, but is much faster in the latest 1.11 release.
To answer the question implied in the title, look at "man ncidutil" and "man cidupdate" for information on how to use the tools that modify the lists.
These tools will not trigger a refresh of what the clients are showing.
I took the plunge and upgraded my server from 1.7 (working perfectly but really slow alias updates/changes) to 1.11 (alias updates/changes are now FAST but I am having a lot of trouble getting NCIDD working properly).
Consider my previous question closed as it pertained to the older version of NCIDD.