1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Network Caller ID (NCID)

Discussion in 'TiVo Underground' started by jlc, May 21, 2003.

  1. Feb 1, 2007 #121 of 282
    headcase

    headcase New Member

    43
    0
    Jun 27, 2005
    Raleigh, NC
    Yeah - it was a network problem. Silly me didn't have all the units on the same subnet.

    Working great now - thx!
     
  2. Feb 1, 2007 #122 of 282
    cheer

    cheer Registered Offender

    1,406
    0
    Nov 13, 2005
    Gurnee, IL
    Depending on what kind of router you have dividing your subnets, you can make this work...at least on a Cisco router, a combination of ip helper-address/ip forward-protocol ought to do it.
     
  3. Feb 3, 2007 #123 of 282
    Bobblob

    Bobblob New Member

    8
    0
    Feb 3, 2007
    Somewhere...
    OK, so I've been looking at the whole ncidd can't find the lockfile thing on the HR10-250. I do see in /tmp there's a /tmp/tcphonehome directory (which is usually empty), and a /tmp/tcphonehome.lck file (which I'm thinking might have something to do with it), but when I edited the ncidd.conf file to point there as the lockfile, it didn't help anything. So far the only solution appears to be killing ncidd somehow before trying to make outbound calls, whether using the net or the modem.

    Don't know if that helps anything.
     
  4. Feb 7, 2007 #124 of 282
    sjmaye

    sjmaye Techie Wannabe

    153
    4
    Aug 28, 2003
    Hendersonvil...
    I installed callerID when I zippered my HR10-250. In late December 2006 I noticed that I was not getting an on-screen pop-up when a call came in.

    Not knowing what else to do I re-ran the enhancement script tweak.sh. This worked, but also reset other things such as losing hackman.

    Now about a month later I have the same problem. No on-screen pop-up.

    I would like to avoid re-running the script. Is there another option?
     
  5. Feb 7, 2007 #125 of 282
    jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    This sounds like either the server or client stopped. Look at /var/log/ncidd.log and see if you have a termination message for the server. The client does not leave one. You can either restart NCID or reboot the TiVo, whichever is easiest for you, and see if that fixes it. The version you are running is 0.65. The enhancement script will now install version 0.67. Maybe some of the fixes in the new release will help you.
     
  6. Feb 7, 2007 #126 of 282
    luder

    luder New Member

    245
    0
    Sep 7, 2006
    Chicago, IL
    Hey , sjmaye
    it is certainly posible to install scripts without re-running enhancement scripts from scratch I'm not familiar with the hr10-250 i'll try to take a crack at it.. try ftping to the unit and check and see if ncid_settings folder is in root the folder should consist with 6 files if yes check into your author file and see if ncid starts @ boot.

    Oof try Jlc recomendation :cool:
     
  7. Feb 7, 2007 #127 of 282
    luder

    luder New Member

    245
    0
    Sep 7, 2006
    Chicago, IL
    Hey chief i don't know if it's covered but, i've been looking thru conf files and not able to find the version i'm using is there a way i can find out
     
  8. Feb 7, 2007 #128 of 282
    jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    The version number is listed when the server starts and when the client starts. It is not given in the configuration files.

    Look at /var/log/ncidd.log for a line like: Server: ncidd 0.67

    You can also execute: ncidd -V in a terminal window. It will print the version number and then quit. It will not effect another instance of ncidd already running.
     
  9. Feb 7, 2007 #129 of 282
    sjmaye

    sjmaye Techie Wannabe

    153
    4
    Aug 28, 2003
    Hendersonvil...
    Yes I am running verion 0.65. I do not see any termination message. Here is the text from the ncidd.log

    Started: 02/05/2007 09:27
    Server: ncidd 0.65
    Processed config file: /var/hack/etc/ncid/ncidd.conf
    Configured to send 'cidlog' to clients.
    Configured to send 'cidinfo' to clients.
    Processed alias file: /var/hack/etc/ncid/ncidd.alias
    Verbose level: 1
    Modem initialized.
    Modem set for CallerID.
    TTY in use: releasing modem 02/07/2007 13:12
    TTY free: using modem again 02/07/2007 13:12
    Modem initialized.
    Modem set for CallerID.

    Since there is no termination message this means it was due to the client?


    I checked. The ncid_settings was in the root directory. There are 6 files in it. Here they are.

    ncid.conf
    ncidd.alias
    ncidd.conf
    ncidrotate.conf
    ncidscript.conf
    ncidsip.conf

    I do not know where the author file is located nor how to edit it. I have intentionally stayed away from it thinking I would screw it up and nothing would work.



    Strangely- I been checking for the last couple days and CID has not worked. Just to be sure before i replied to you guys I tried it again. NOW IT IS WORKING. Go figure!

    As mentioned earlier this has happened before, but that time I could reboot to my heart's galore and caller ID would not restart.

    Thank you both for the help. Even if it is working now I do know a bit more than I did before. Maybe I can handle it better next time it happens.

    Thanks!
     
  10. Feb 7, 2007 #130 of 282
    jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    Problem may not be server or client terminating. The server, almost all of the time leaves a termination message, so we can assume it was running. However, you have TTY in use and TTY free messages. Do you see a lot of them? If so that could be the problem. When the server issues a TTY in use message, it disconnects from the modem until you see the TTY free message. If you have more of the messages, how far apart in time are they?

    The client is hard to kill as it will go into a loop trying to restart once every minute, but you can miss calls if this happens.

    You can see if the server and the client are running:
    Code:
    ps auxw | grep ncid
    It could be a modem problem, maybe it was reset and Caller ID is turned off. Bump verbose up to 3 in /var/hack/etc/ncid/ncidd.conf to give more information on what is happening.

    This is a good indication it is either a modem problem or a TTY messages problem. NCID would not have restarted if either the server or client died. I recommend you upgrade to version 0.67 to get the benefit of some fixes in this area. I rather troubleshoot the current version.
     
  11. Feb 8, 2007 #131 of 282
    sjmaye

    sjmaye Techie Wannabe

    153
    4
    Aug 28, 2003
    Hendersonvil...
    Hi jlc,

    Thank you for all the troubleshooting information. Back when this first happened I posted my issues in the Zipper thread and got little info to work from. This is the thread I should have been looking for!

    I see now that NCID is just a module within the Zipper. Saying that, does that mean I can upgrade by simply getting the updated files from SourceForge?

    Thas again for your help.
     
  12. Feb 8, 2007 #132 of 282
    jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    Yes, you can get the current file from sourceforge and update. Be sure to save the /var/hack/etc/ncid folder first if you made any changes to the configuration files. They did change so it is best if you modify the current ones with your changes, if any. Be sure to read the INSTALL file for the TiVo to see how to unpack and install it.
     
  13. lloydjs

    lloydjs New Member

    99
    0
    Jul 15, 2003
    Sterling, CT
    Hi John,

    I just found this posting and I am much intrigued!

    I have a couple of questions which I hope you could answer, but first let me describe my configuration:
    I have a series1 SVR2000 running TivoWeb and Vonage for my phone service. The Tivo’s modem died a couple of years ago, but I am able to make the daily call using turbonet. I also recently installed TivoWeb using Steve Jenkins’ guide so my Tivo is hacked.

    Last week, I found a posting on TiVonage and was very excited until I found out that it doesn’t work with a series1.
    Then I found your posting on NCID and I am excited again.

    Basic question #1:
    Does the Tivo require a working modem for the Caller ID or can it use the turbonet? I am guessing (hoping) that I don’t need a modem.

    Question #2:
    What is the difference (high level for newbie like me) between TivoNCID and TivoCID? I did some reading on sourceforge.com but I still can’t tell which one to use. Maybe it doesn’t matter. What do you recommend?

    Thanks in advance,
    Lloyd
     
  14. lloydjs

    lloydjs New Member

    99
    0
    Jul 15, 2003
    Sterling, CT
  15. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    If you are using VOIP from Vonage or another company, NCID can get the Caller ID directly from SIP packets without using a modem. However, this is not plug and play. It requires Perl and some support libraries on the TiVo. It also requires you to make sure your network can receive SIP packets. Eventually I will provide a library package, but maybe someone else would like to do it.

    The difference between the two programs is that TiVoCID uses a program, you need to install, for the display, while TiVoNCID uses a TiVo supplied program for the display. The original program was TiVoCID, but it does not work everywhere and so TiVoNCID was produced as an alternative. You can use either program for the display. I would say to use the one you like best.
     
  16. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    There is interest in a yac2ncid listerner so NCID can get CID input from a YAC server. Hitchhiker wrote one which is now being tested. It will be released in the next version of NCID. See this post
     
  17. FMK2

    FMK2 Mostly Harmless...

    39
    0
    Dec 27, 2002
    San Jose, CA
    I sliced my HR10-250 to 6.3d a couple weeks ago, and since then NCID works initially after a reboot, but then stops displaying calls.

    I bumped verbose up to 3 in the ncidd.log file, and the latest reboot shows the following:
    It looks as if the server is still running; the ps command returns:
    When I test NCID right after a reboot by calling myself, the number displays on screen, but then at some point it simply stops displaying calls.

    Where should I be looking to try to debug this problem?
     
  18. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    The most likely problem is your modem. It probibly is not in Caller ID mode anymore.

    Wait until NCID stops displaying your calls, then do the following in a terminal window:
    Code:
    touch /var/tmp/modemlock
    sleep 1
    rm /var/tmp/modemlock
    
    Look at your log file and see if the above caused 2 entries. If it did, call yourself and see if NCID displays the call again. If it works, then put the above in a script and call it from cron every 2 hours or so. I seem to remember a posted script for this, but I do not remember where it is.
     
  19. FMK2

    FMK2 Mostly Harmless...

    39
    0
    Dec 27, 2002
    San Jose, CA
    Yup, that did it. Thanks for the help.

    Here's what was added to the log file:
    I'll add the script and set it to run every so often, but I didn't have this problem when I was on 3.1.5f. I wonder what changed?

    Is there some process I could kill that would keep the modem from being tied up?
     
  20. SteelersFan

    SteelersFan "On Welfare"

    819
    0
    Sep 6, 2004
    Saugus, CA
    Here's a thread I started that may help. jlc, as you'll see, was very helpful. Good luck.
     

Share This Page