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. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    Thank You. I remembered the thread but could not find it to reference it.
     
  2. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    NCID version 0.68 has been released.

    Improvements were made in SIP client, modules and server.

    The maximum call log file size can be specified on a command line or in the configuration file.

    A YAC gateway and client module were added. NCID can now optain Caller ID information from a YAC server, and NCID can send Caller ID information to YAC listeners.

    Documentation was again improved, but needs more work.

    A special thanks to Hitchhiker for writing and contributing the YAC Gateway and the YAC client module.
     
  3. SteelersFan

    SteelersFan "On Welfare"

    819
    0
    Sep 6, 2004
    Saugus, CA
    Any time.
     
  4. RandCfilm

    RandCfilm New Member

    112
    0
    Dec 19, 2005
    Indianapolis
    Unless I overlooked something, which is quit possible. I do not fine the yac2ncid program or config file.
     
  5. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    You did not overlook something. My build script for the TiVo missed the files. I have updated the TiVo packages at sourceforge. The names are now ncid-0.68-1-tivo-mips.tgz and ncid-0.68-1-tivo-ppc.tgz. Please download the current package.

    The mips package is for a series2 and a series3. The ppc package is just for a series1.
     
  6. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    Okay, then. So, if I have a YAC server running on my network, what exactly do I need to do to get this running? I have a Windows box with the YAC server running, and I'm running the YAC client on my 3 SD DirecTivos. All is working fine. But I want to run NCID on my HR10-250 (YAC screws up HME apps). Do I need to run both ncidd & yac2ncid on the HR10-250? Do I also need to run ncid? And which conf files do I need to modify? I don't see much to configure in either yac2ncid.conf or ncidd.conf.

    I apologize for the stupid questions, but I've always had a heckuva time trying to get NCID up and running on its own, so much so that I gave up on having a caller ID prog on my HR10-250. But since you've gone through the trouble of creating this yac2ncid program, I thought I'd give it another go.
     
  7. Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    You are right - you will need to install and configure NCIDD server. If you don't want to deal with the tivo modem, you can choose to install it without talking to modem (see installation instructions for VoIP based CallerID info)

    Once NCIDD server (and client) are running, you can then run yac2ncid program - you will probably not need any config changes, but that depends on your Tivo hacking level. yac2ncid needs a supported version of 'nc' binary and most known versions are supported and should work without config changes. In a rare case, you may need to deal with nc binary/ (Zipper installs busybox which includes a compatible nc, btw)

    Once yac2ncid is up and running, add the tivo's IP to the YAC server like any other YAC client - you should be good to go after that.

    HTH

    -HH
     
  8. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    Thanks, Hichhiker. Just to be clear, then: I need to run all three of ncidd, ncid, and yac2ncid?
     
  9. jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    Here are some comments to Hitchhiker's, since you asked about configuration and what programs to run on the HR10-250.

    You need to install NCID and OUT2OSD. For your setup, you need to modify one line in ncidd.conf. Uncomment the set noserial line so you have:
    Code:
    set noserial = 1
    In your startup script, you need the following lines:
    Code:
    # start CallerID (NCID) and YAC Gateway
    /var/hack/bin/ncidd
    /var/hack/bin/tivocid &
    /var/hack/bin/yac2ncid &
    
    You should run the above commands in a terminal window first, and test it, before you add it to the TiVo startup.
     
  10. RandCfilm

    RandCfilm New Member

    112
    0
    Dec 19, 2005
    Indianapolis
    Two things -
    1. When I try to run yac2ncid I get "segmentation fault"

    2. Following VoIP setup when I try to run ncidsip I get
    Code:
    Porta's HDTiVo /# /var/hack/sbin/ncidsip --test
    bash: /var/hack/sbin/ncidsip: No such file or directory
    Porta's HDTiVo /#
    Telnet display shows ncidd starting and tivoncid connecting.
    Code:
    Porta's HDTiVo /var# /var/hack/sbin/ncidd -Dv5
    Started: 06/26/2007 20:42
    Server: ncidd 0.68
    ncidd logfile: /var/log/ncidd.log
    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: 5
    CID logfile: /var/log/cidcall.log
    CID logfile maximum size: 110000 bytes
    Data logfile: /var/log/ciddata.log
    CallerID from CID client(s) only
    polld[0].revents: 0x1, fd: 4
    Client connected, sd: 5, Sent call log: /var/log/cidcall.log
     
  11. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    Thanks for the help, JLC. I guess I wasn't expecting it to be so easy to configure. Unfortunately, I'm also getting the "Segmentation Fault" when I try to run yac2ncid.
     
  12. Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002

    Yes, basically the data flow is:

    YAC Server --> YAC2NCID -->NCIDD Server --> NCID client(s)

    It sounds like you may have a bad NC executable in the path (perhaps S1 version)

    Please type following commands on tivo command line:
    Code:
    which nc
    
    find / -name nc
    
    nc
    
    and post the results here

    NOTE: you may need to hit crtl-c to get out of the last one (nc)

    Most likely you might have more than once NC installed and the one found by default is not compatible with your tivo. your best bet is the one that came with the busybox installation. yac2ncid.conf file has a place to hardcode the nc binary you want to use.



    I am sorry if I misled you here, but the only thing you want from VoIP setup is how to disable modem (see John's post above) - You do not need ncidsip unless you are actually using it. The reason I brought it up is because it is another configuration that is not using the modem.


    -HH
     
  13. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    Since I am also experiencing the segmentation fault, I tried your ideas above regarding nc. I found that I only have the busybox version installed and it is located in /tivo-bin (which is in my path). Just for fun, I hardcoded the NETCAT and NETCAT_TYPE in yac2ncid.conf to point to the correct path and busybox version. That didn't seem to help, either, as I'm still getting the segmentation fault when I run yac2ncid. Any other ideas?
     
  14. Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    Do you get segmentation fault when you are running nc directly?

    -HH
     
  15. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    You've got me there. I have no idea who or what nc is, or how to use nc directly, so I'm not sure. If I just type "nc" with no options, it just gives me the usage.
     
  16. RandCfilm

    RandCfilm New Member

    112
    0
    Dec 19, 2005
    Indianapolis
     
  17. Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    RandCfilm or whitepelican,

    Can you do me a favor,
    Add "set -x" to second line (one bellow #!/bin/bash) of yac2ncid and run it manually, PM me the output. You can undo the change afterwards

    Unfortunately I do not have a HD Tivo so I will need to rely on your help to troubleshoot it

    Thanks

    -HH
     
  18. RandCfilm

    RandCfilm New Member

    112
    0
    Dec 19, 2005
    Indianapolis
    I downloaded the zipper file and pulled the busybox.tar and extracted that on the TiVo, I find no nc and 'find / -name nc' still only shows /tivo-bin/nc.
     
  19. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    Mine looks pretty much like RandCfilm's.

    Code:
    <HR10-250>/var/hack/bin: /var/hack/bin/yac2ncid
    ++ basename /var/hack/bin/yac2ncid
    + ME=yac2ncid
    + ME=yac2ncid
    +++ dirname /var/hack/bin/yac2ncid
    ++ cd /var/hack/bin
    ++ pwd -P
    + MYDIR=/var/hack/bin
    + PIDFILE=/var/run/yac2ncid.7679.ncpid
    + trap dienice INT TERM EXIT
    Segmentation fault
    <HR10-250>/var/hack/bin:
     
  20. Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    You can stop worrying about nc, looks like its a bash issue. Let me look into it and post a fix.
     

Share This Page