PDA

View Full Version : Network Caller ID (NCID)


Pages : 1 [2]

jlc
11-28-2009, 03:30 PM
What logs should I be looking in to find clues?
When there are problems, first look at ncidd.log. If the server died, hopefully it will tell you why, if the server is hung it should still appear in the process table. If it seems hung, look at cidcall.log and see if it recorded the call. If it did the problem is with the client, if not the problem is either the server or the modem. If you created the ciddata.log file, it contains all the output from the modem. If a call is recorded here but not in the cidcall.log file, then the server is at fault. If you only see ring in the ciddata.log file then the modem is not set for Caller ID or maybe does not support it.

Soapm
11-28-2009, 05:41 PM
Thanks JLC, looks like all my logs along with my VAR partition were wiped when I did the file system fix. How do I create the cidcall.log and make sure it is running if this happens again?

jlc
11-28-2009, 08:35 PM
Thanks JLC, looks like all my logs along with my VAR partition were wiped when I did the file system fix. How do I create the cidcall.log and make sure it is running if this happens again?
The cidcall.log file is created by ncidd if it does not exist in NCID version 0.73 or later.

You can check if any NCID programs are running with:
ps ax | grep ncid

Soapm
11-28-2009, 09:39 PM
Looks like I am using v0.67. Do I have any reason to upgrade?

Soapm
11-29-2009, 12:00 AM
It stopped working again.

I see this when I do PS AX

2801 ? Z 0:00 [out2osd] <defunct>

Something is inconsistent comparing my cidcall.log to my ncidd.log. I see calls in one that is not in the other and visa versa.

What all do I have to upgrade to move to a later version?

jlc
11-29-2009, 10:30 AM
It stopped working again.

I see this when I do PS AX

2801 ? Z 0:00 [out2osd] <defunct>

Something is inconsistent comparing my cidcall.log to my ncidd.log. I see calls in one that is not in the other and visa versa.

What all do I have to upgrade to move to a later version?
You need to upgrade from your old version to the current version to get fixes specific to the TiVo. See INSTALL-TiVo.txt (http://ncid.sourceforge.net/ncid/INSTALL-TiVo.txt) to help you install it. Before you do, save a copy of all the configuration files in /var/hack/etc/ncid. After you install the new package modify the new configuration files with any changes you made in the old ones. Chances are you did not need to make any changes or you only modified ncidd.conf. Do not replace the new configuration files with old ones, keep the ncidd.conf verbose level at 1.

If there is a newer version of out2osd, install it also.

Soapm
11-29-2009, 02:17 PM
This is what I got trying to start it up. Any thoughts?

4629 ttyp0 R 0:02 tivosh /var/hack/bin/ncid --no-gui --tivo --mess
4630 ttyp0 S 0:00 tivosh /var/hack/bin/ncid --no-gui --tivo --mess
4631 ttyp0 S 0:00 tivosh /var/hack/bin/ncid --no-gui --tivo --mess
4632 ttyp0 S 0:00 tivosh /var/hack/bin/ncid --no-gui --tivo --mess
4633 ttyp0 R+ 0:00 ps ax
[3]- Exit 151 ./ncidd (wd: /var/hack/sbin)
(wd now: /var/hack/bin)
bash# 127.0.0.1:3333 - error reading "sock13": connection refused

Here are the commands I used.

# starting NCID CallerID
touch /var/log/cidcall.log &
cd /var/hack/sbin; ./ncidd &
cd /var/hack/bin; ./tivocid &

Soapm
11-29-2009, 03:48 PM
It seems to be ok now after a couple of reboots. Thanks

jlc
11-29-2009, 08:36 PM
Here are the commands I used.

# starting NCID CallerID
touch /var/log/cidcall.log &
cd /var/hack/sbin; ./ncidd &
cd /var/hack/bin; ./tivocid &
It looks like you tried to start NCID multiple times. When you have multiple client processes you need to either kill them or reboot.

Starting with NCID-0.72 a startup script is provided called "startncid". It will start ncidd and tivocid. It can be configured to start tivoncid in place of tivocid and to start sip2ncid, yac2ncid, ncid-yac, or ncid-page. The local timezone can also be set so when using the gateways, the local time is displayed for the call. It can be called from rc.sysinit.author or manually (/var/hack/bin/startncid).

Soapm
11-29-2009, 10:35 PM
Do I still need the

touch /var/log/cidcall.log &

command or can I just use

/var/hack/bin/startncid rmpid

and it will start the whole shebang...

jlc
11-29-2009, 11:10 PM
Do I still need the

touch /var/log/cidcall.log &

command or can I just use

/var/hack/bin/startncid rmpid

and it will start the whole shebang...
The touch command line is not needed in the current version of NCID. The rmpid option is also not needed. Just use:/var/hack/bin/startncid

jlc
02-14-2010, 03:02 PM
This release has improvements and fixes for the server, gateway, and client. See the NCID (http://ncid.sourceforge.net) homepage for more details.

OOOOPS!
03-08-2010, 06:15 AM
whats the recommended version and by that I mean incredibly stable, tivocid or tivoncid and setup using OUT2OSD or text2osd on a hr10-250 running 6.4A using the dtivo's modem and broadcasting to other tivos and pcs?

Thanks,
OOOOPS

jlc
03-10-2010, 03:08 PM
whats the recommended version and by that I mean incredibly stable, tivocid or tivoncid and setup using OUT2OSD or text2osd on a hr10-250 running 6.4A using the dtivo's modem and broadcasting to other tivos and pcs?

The latest version of NCID is stable and each new version has fixes and improvements from earlier versions. The NCID (http://ncid.sourceforge.net) website has a section called Known Problems (http://ncid.sourceforge.net/KnownProblems.txt) so you can view problem areas for each release.

If out2osd works on your system then you should use it and tivocid, otherwise use text2osd and tivoncid.

jlc
04-17-2010, 06:39 PM
This NCID (Network Caller ID) release continues with fixes, improvements, a new server feature, and a new client output module.

One problem is solved in this release is ncidd not responding to calls after some period of time on some TiVo's. This is caused by the modem dropping out of Caller ID mode and usually requires ncidd to either restart or re-initialize the modem. The solution is a new server feature.

The new feature for NCID is the ability to work with modems or systems that do not support Caller ID. This feature depends on the modem providing ring indication. NCID will indicate calls, but if no Caller ID is received, it will indicate "RING" for the number and "No Caller ID" for the name. This feature allows NCID to function as a call indicator without using Caller ID. If the modem drops out of the Caller ID mode, NCID will will flag a new call as "No Caller ID". The complete list of features is at http://ncid.sourceforge.net/ncid/ncid.html

The new ncid-initmodem client module will signal ncidd to reinitialize the modem if the server indicates a call with no Caller ID. This module should only be used for modems that drop out of the Caller ID mode. Please note that you will miss Caller ID on one call, but the modem will be fixed for the next call. A list and short decscription of all client output modules is at http://ncid.sourceforge.net/cgi-bin/man2html/man?ncidmodules.1


The startncid script was improved and should be used to start the NCID programs. The default is to start the server and client. You can modify it start the gateways and to start the ncid-initmodem and ncid-yac client modules. If you use the SIP gateway to obtain the Caller ID, you also need to set your local time zone. All time zones for the US are included.

A new script called initmodem is also included. It can be run from cron to have ncidd re-initialize the modem at specific times, or it can be run manually.

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.77/ReleaseNotes.txt/view

The project home page is at http://ncid.sourceforge.net

jlc
05-17-2010, 11:51 AM
This NCID (Network Caller ID) release contains fixes and improvements.

The server feature of responding to ring 2, from a modem not sending Caller ID, was modified to work with telephone systems that send the Caller ID before ring 1. The complete list of features is at http://ncid.sourceforge.net/ncid/ncid.html

The client was also improved and does not display a "line label" inside <> any more. The ncid-page client and ncid-tivo client were modified to properly support messages. A list and short description of all client output modules is at http://ncid.sourceforge.net/cgi-bin/man2html/man?ncidmodules.1

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.78/ReleaseNotes.txt/view

The project home page is at http://ncid.sourceforge.net

djl25
08-28-2010, 10:27 AM
ncid-fly is a new module for ncid to give better caller-id output when running on Series 3 units. It uses the venerable 'fly' program to generate a .png file which is then shown on screen by osdwriter. In this way, truetype fonts can be used as well as graphics. (See below for example)

I posted it over at the 'other' forum.
http://www.dealdata base.com/forum/showthread.php?p=308346#post308346

http://members.cox.net/djlauria/software/caller-id.png

jlc
09-09-2010, 04:48 PM
The startncid script was modified to use pgrep. A pgrep mips binary is distributed with this release. If you have a series 1 and cannot locate pgrep let me know and I will try to produce a ppc binary. The script also has support for starting djl25's ncid-fly output module, but it requires the installation of the supporting program, font, and libraries.

A new option was added to the server to turn off call support without Caller ID. The server was also modified to work with the modem phone number output from Canada telcos.

A new gateway was added, called ncid2ncid, that collects input from one or more servers, called sending servers, to another server, called a receiving server. This permits all NCID clients using the receiving server to receive data from multiple NCID servers.

The client was modified to work with the Vodafone ARC_ncidd 0.01 server. The "--call-prog" option is being depreciated and is not required any more when calling output modules.

A list and short description of all client output modules is at http://ncid.sourceforge.net/cgi-bin/man2html/man?ncidmodules.1

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.78/ReleaseNotes.txt/view

The project home page is at http://ncid.sourceforge.net

jlc
09-13-2010, 04:54 PM
The TiVo ppc distribution of NCID included the mips version of pgrep by mistake. The TiVo ppc distribution on sourceforge was updated to include the ppc version of pgrep.

The ppc and mips binaries for pgrep are in a tar file attached to this post. This eliminates the need for the next version of NCID to distribute pgrep. The attached tar file also includes a README that indicates where source can be obtained.

jlc
12-18-2010, 01:58 PM
This NCID (Network Caller ID) release adds more client telephone number display options, a new feature, and some fixes.

Outgoing calls are now handled by the server if the information is sent to it by a gateway. The server will always log outgoing calls in the call file, but will not send them to the client unless it is configured to do so. This change does not require a new client unless it is desired to display outgoing calls.

The VoIP Gateway was enhanced to send both incoming and outgoing calls to the NCID server if the SIP connection provides outgoing call information.

More telephone display options were added to the client. The current country display codes include the United States, Sweden, United Kingdom, Germany and none. None leaves the telephone number unformatted.

The client will also display outgoing calls if configured to do so, and if the server sends it the outgoing call information.

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.80/README.txt/view

The project home page is at http://ncid.sourceforge.net

jlc
02-28-2011, 05:59 PM
This NCID (Network Caller ID) release adds 2 server options and fixes a problem with sip2ncid when a PC goes to sleep. It also makes a change to the outgoing call message sent to clients. This makes it incompatible with clients using the outgoing call feature introduced in the previous release (version 0.80). The previous release of NCID should be replaced with this one because of the outgoing call message change.

A hangup option was added to the server to terminate a call if it appears in the blacklist file. A terminated call is labeled as "HUP:" in the call logfile.

A ignore1 configuration option was also added to the server so a leading 1 is never used in an alias definition. A leading 1 in a US telephone number depends on the telco.

The call logfile now labels an outgoing call as "OUT:" instead of "CIDOUT:".

The ncid-applet 0.6 Gnome applet displays NCID 0.80 type output calls. The Mercurial repository was updated to display NCID 0.81 type output calls.

The cidcall command line tool was updated and improved, man ncidtools.1 for documentation.

The client was updated to work with the new outgoing call label in the call logfile.

The client hangup output module was removed because it was too slow and to allow hangups to be included in the call file. The new server hangup option replaces it. The hangup now happens before the second ring, and the hangup is included in the call logfile. There is no longer a separate logfile for hangups.

The VoIP Gateway was changed so it terminates instead of hanging when a PC wakes up from sleeping.

There are now separate man pages for each tool listed in ncidtools.1 and for each output module listed in ncidmodules.1.

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.81/README.txt/view

The project home page is at http://ncid.sourceforge.net

jlc
05-07-2011, 07:38 PM
This NCID (Network Caller ID) release fixes a major problem that prevents it reading modem output using OSX. The system poll function in OSX appears broken. Polling the modem causes it to disconnect with a error code. A local poll function is now used in place of the OSX system poll.

The server now sends all outgoing and call hangups to the clients.

A fix is provided to terminate the server when a unrecoverable error code is received from the system poll. The server was hanging on the error.

A fix is provided to keep the server from initializing a modem at startup when a gateway is used in place of a modem and the hangup option is used.

Improvements were made in the server code handling the modem and hangup. Some minor bugs were fixed.

IMPORTANT: The new configuration file must replace the old one or the server may abort because the server no longer recognizes "send outcall" in the configuration file.

The client history window now displays previous messages when reconnected to the server. All call types (incoming, outgoing, and hangup) are shown with a label if the --all-calls|-A option is set. The --out-call|-C option was removed.

IMPORTANT: The new configuration file must replace the old one because the client --out-calls option was replaced with the --all-calls option.

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.82/README.txt/view

The project home page is at http://ncid.sourceforge.net

Soapm
07-16-2011, 12:39 AM
I'm still running the last version you helped me get running. What do I need to upgrade? Can I just copy these newer files over the existing ones?

jlc
07-16-2011, 10:49 AM
You need to save the configuration files in /var/hack/etc/ncid and /var/hack/bin/startncid first, then untar the current distribution so it replaces the previous distribution files. Next you need to make your local modifications to the configuration files using the old ones as a guide. Most should not need any changes.

jlc
09-27-2011, 10:17 AM
This NCID (Network Caller ID) release adds some fixes, a major enhancement, and some changed client options.

The ncidd server has a fix that outputs the current phone line identification associated with the modem instead of the default for the first call after startup.

A new option was added to the sip2ncid.conf file called "rmdups. This will eliminate duplicate INVITE packets generated by "Phone Power" for each call. This option is experimental and probably needs improvement.

The ncid client program was enhanced to send the type of call to its output module. This allows the output module to determine if the call is incoming, outgoing, a blacklisted hangup, or a message. The client GUI was also changed to display all calls and the type of call by default. A new client option, --classic-display was added so the GUI would only display incoming calls and ignore all others. This was the previous default. The --all-calls option was changed to work with the --classic-display option, but will be removed in the future.

IMPORTANT: The new client configuration file should replace the old one because of the option changes. The old configuration file will still work for this release, but it will not be compatible with a future NCID release.

All output modules were updated for the current client changes.

IMPORTANT: The ncidd.conf file changed with the NCID 0.82 release. If your configuration file is older than that, you need to update it.

The release notes are at: http://sourceforge.net/projects/ncid/files/ncid/0.83/README.txt/view

The project home page is at http://ncid.sourceforge.net