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

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    I was able to replicate this on my tivo.

    Attached is a fix. Replace the yac2ncid file with one contained in the zip file.

    Let me know how this works out.

    NOTE: This version is meant to replace one found in 0.68.1 release of the files and will be removed as soon as next version of NCID is released. Do not apply this over any other NCID distribution.
     

    Attached Files:

  2. RandCfilm

    RandCfilm New Member

    112
    0
    Dec 19, 2005
    Indianapolis
    Nice work and FAST! And best of all the screens on HME are not messed up.
     
  3. 100Tbps

    100Tbps New Member

    63
    0
    May 12, 2006
    Does NCID / NCIDD mess with HME screens? I'm looking into HME and trying to figure out where to start. I finally just got NCID / NCIDD posting caller-id (seemed to work fine with 6.3b, 6.3c things were messed up again).

    Not to drift too far off-topic, but can you start a new thread or place a link here to another one describing if you went with JavaHMO or were able to get Galleon working?
     
  4. whitepelican

    whitepelican New Member

    672
    0
    Feb 14, 2005
    Ditto. Seems to be running perfectly now. Thanks for all your work on this, Hichhiker and JLC.
     
  5. Aug 9, 2007 #165 of 282
    headcase

    headcase New Member

    43
    0
    Jun 27, 2005
    Raleigh, NC
    OK, I'm stuck and need some help.

    I've successfully set up the latest version of ncid and tivoncid to run on my primary zippered Series 2, and I can also successfully run tivoncid on my second zippered Series 2 box, pointing back to the first box.

    But when I try to run tivoncid on my PTVnet (non-zippered) HR-250 w/6.3d, it gives me the following:

    bash-2.02# ls
    cidalias cidcall cidupdate ncid tivocid tivoncid yac2ncid
    bash-2.02# tivoncid 192.168.15.163 &
    bash: tivoncid: command not found
    [1] 1014
    bash-2.02#
     
  6. Aug 9, 2007 #166 of 282
    Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    most likely your current directory is not in the path. Your choices are:

    1 - add current directory to the path (i.e. export PATH=%PATH:/path/to/binary/ - should be done somewhere where it is done on every boot - i.e. rc.sysinit.author file or similar)

    2 - move binaries to a directory in the path

    3 - call the binary by absolute name (i.e. /path/to/binary/tivoncid)

    4 - call the binary by relative name (i.e. ./tivoncid inside the right directory)

    Alternatively your tivoncid may not be executable, make it so (chmod +x tivoncid)

    Good luck.

    -HH
     
  7. kkluba

    kkluba New Member

    235
    0
    Oct 18, 2002
    JLC and Hitch and anyone else that contributed..

    Thanks!

    I've used YAC on my home network for quite a while and always liked the simplicity of setup and use. Even my wife can use it.

    I've had NCID working on my HDTivo before but that damn modem causes stability issues (at least for me it did). The feature set of NCID has always been impressive.

    And now you guys have married the two and voila, CID works like a charm and is stable. After a few tweaks of the out2osd.conf I have both my HDTivo's dialed in displaying CID perfectly. Thanks, thanks, thanks. While it may seem like a trivial add-on once you get used to it there is no going back. We watch tv and movies mostly in our home theater where it is dark and the phone doesn't display easily what is coming in. Hell just remembering to bring the phone is a miracle.

    The only thing I can recommend is putting ncidd, out2osd, tivocid, tivoncid, yac2ncid and basically anything and everything people might want to run this in one tarball and instruct them to copy it /var and tar it off. Also I'd just have all the executables extract to /var/hack/bin but maybe that's just me. i only suggest these things to ease the simple support questions that always come your way. Hell since I didn't read and docs maybe I better check the instuctions before blabbing. :)

    Thanks again guys, very nice.
     
  8. Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    John is working on something that will blow the doors off of that idea and may even completely change Tivo hacking as we know it... but I probably said too much ;-)

    -HH
     
  9. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Note to self... Lock doors.
     
  10. kkluba

    kkluba New Member

    235
    0
    Oct 18, 2002
    Ok the cats out of the bag. Now you have to pony up. Whatdoya have? Come on let us know..
     
  11. djl25

    djl25 C64 hacker

    95
    0
    May 26, 2005
    Providence, RI
    If anyone running 6.2 wants easy access to their caller-id history, they can use my cidrss module for TivoWebPlus. It reads the NCID log (or elseed, if you're using that) and outputs it as a feed which can be sent to any computer, or back to your tivo via JavaHMO. There's now a link for it on the NCID page, or go directly to my software page here.

     
  12. Nov 2, 2007 #172 of 282
    OOOOPS!

    OOOOPS! New Member

    25
    0
    Aug 7, 2003
    Greetings,
    I'm trying to run yac2ncid on S1S1 from /hack instead of /var/hack. Ithing i've'edited the all the needed files, but when I start yac2ncid I receive the error:
    PHP:
    # /hack/bin/./yac2ncid -v
    /hack/bin/./yac2ncidbasenamecommand not found
    /hack/bin/./yac2nciddirnamecommand not found
    Enabling verbose mode due to command line option
    Auto-detecting the netcat type
    Detected *Hobbitversion of netcat
    Using Hobbit settings...
    Listening for new connections
    /tivo-bin/ncerror in loading shared libraries
    undefined symbolgetservbyport
    /hack/bin/./yac2ncidkill: (410) - No such pid
    I cannot find basename or dirname for a S1, and have no idea what
    PHP:
    /tivo-bin/ncerror in loading shared libraries
    undefined symbolgetservbyport
    means.
    Thanks
    OOOOPS!
     
  13. Nov 2, 2007 #173 of 282
    Hichhiker

    Hichhiker Just me.

    480
    0
    Apr 21, 2002
    It looks like many basic utilities are missing - which is normal for stock tivos - and the netcat version you have is not fully functional. No worries though - your best bet is to install busybox for S1 tivo and make sure it is in the path before you start yac2ncid. Busybox will include its own netcat as well.

    -HH
     
  14. Nov 2, 2007 #174 of 282
    OOOOPS!

    OOOOPS! New Member

    25
    0
    Aug 7, 2003
    the latest busybox I've been able to find for an s1 is busybox-1.00-tivo-s1.tar.gz at http://marc-abramowitz.com/download/tivo/
    anyone know of a more recent version like AW all in one for the S2's
    Thanks
     
  15. Nov 6, 2007 #175 of 282
    jlc

    jlc New Member

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

    It includes a new SIP gateway, sip2ncid, to replace ncidsip so Perl is no longer required. VoIP support for the TiVo is available when the package is installed. Check out the Release Notes for other improvements and fixes. This is the first release of sip2ncid in the wild, so there may be some problems.

    You should look at the Setup-sip2ncid file on the ncid page, not the home page, to see how to configure sip2ncid and ncidd. The FAQ should also help. The hardest part is that you may have to configure your network and check a couple of SIP Invite ports.

    On my home LAN, SIP packets were on port 6051, but are now on port 10000. This is for Vonage using a Linksys RT31P2 router. The computer running sip2ncid had to be in the DMZ zone, in order to receive the SIP packets. Port forwarding did not work.

    You need to be very careful if you put a TiVo in a router DMZ zone. Make sure your telnet and ftp is password protected, better yet use ssh.

    If anyone uses SIP on the TiVo, please provide feedback giving the VoIP company name, the SIP port, the phone hardware, and the network setup.

    I should soon release a package of NCID that uses a package manager to install and update it. It will also contain ssh and other Linux utilities. Adding, removing, and updating packages should be very easy.
     
  16. Nov 9, 2007 #176 of 282
    Markman07

    Markman07 Active Member

    2,209
    0
    Jul 18, 2001
    Minnesota
    I have been using Packet8 (VOIP) for a few years so I didn't even think about trying to get this or anything else like it to work with my DirectvTivos (A few Directv Series 2 and one HR10-250). I got my first HR20-100/700 receiver this last summer. Knowing that the HR20 by default has Caller ID I decided to try it. It worked! CAller ID on the screen when using the HR20 and Packet8 Voip.

    Yesterday I started looking to spread the fun to my HR10-250. I have all my units hacked with the Zipper. I scanned over this thread. I uninstalled the script included with the Zipper and reran the install to include the NCID installation. I tried it and WHOAAA Caller ID on my HR10-250 with no really no thinking on my part! ;-) You can't ask for more!

    I installed the NCIDPOP (CLIENT) on a few of my Windows XP and Windows Vista PCs. It works on there too!

    Of course I have one problem and a question.

    Looking at the CIDCALL.log file via Tivowebplus shows no history of calls and a file size of zero.

    I installed the Tivowebplus add-on (post 171 above). When I click on the Caller-ID link there it comes back with an error -

    "INTERNAL SERVER ERROR
    --cut here--
    action_cidrss '' 'set "view" "web";'
    invalid command name "bodytext"
    while executing
    "bodytext "Caller-ID History""
    (procedure "MOD::action_cidrss" line 85)
    invoked from within
    "$cmd $p1 $p2 $p3"
    (procedure "do_action" line 19)
    invoked from within
    "do_action $action $chan $part $env 1"
    --cut here--
    -------------

    Anyone have any ideas on my two issues? Configuration issue? My issue?

    Thanks. Otherwise this is such an awesome add-on for my HR10-250 and my PC's!
     
  17. Nov 9, 2007 #177 of 282
    jlc

    jlc New Member

    149
    0
    Jun 18, 2002
    near...
    The ncidd server will not create a log file, if one does not exist. You indicated the name was CIDCALL.log when the name should be cidcall.log (all lowercase). Maybe
    that is the problem. If not, check ncidd.conf and make sure the name or location of the cidcall.log file did not change.

    The tcl script error message you posted seems to indicate a problem with the module. Hopefully djl25 can help you with it.
     
  18. Nov 9, 2007 #178 of 282
    BTUx9

    BTUx9 back?

    1,596
    0
    Nov 13, 2003
    Rockport, MA
    actually, it looks like you're not running TWP2... the module only works on TWP2
    (TWP2 released since 8/07, to be more precise)
     
  19. Nov 9, 2007 #179 of 282
    Markman07

    Markman07 Active Member

    2,209
    0
    Jul 18, 2001
    Minnesota
    Sorry I was just using all caps for emphasis..sorry forget Linux/Unix is case sensitive. Yes it is all lowercase. I let it install using Rbautch's script and it worked right away with no further action needed on the HR10-250.

    Yes I am running TWP2 (from the latest Zipper / Rbautch Script) V2.0.0.

    The Zipper or Script appears to have created a folder ncid_settings in the root directory. In that I have a handful of files..

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

    Here is contents of my NCIDD.conf file:

    Code:
    # NCID - Network CallerID Server Config File
    
    ################################
    # Definitions and Line formats #
    ################################
    
    # lines can be blank, or start with the words: send, set #
    #
    # A line is divided into words, separated by spaces
    #
    # A word is either a string of non-blank characters, everything
    # between double quotes, or an equal sign.
    #
    # SEND LINE FORMAT:
    #   send DATATYPE [DATATYPE] ...
    #        where DATATYPE = cidlog, cidinfo
    #
    # SET LINE FORMAT:
    #   set ITEM = VALUE [ITEM = VALUE] ...
    #       where ITEM = cidalias, cidlog, datalog, initcid, initstr,
    #                    lockfile, port, ttyclocal, ttyport, ttyspeed,
    #                    nomodem, noserial, verbose
    
    ##########################
    # Log file verbose level #
    ##########################
    
    # Set the verbose level
    # The default value is 1, the range is 1-9
    # set verbose = 3
    
    ############################
    # Log and Info for Clients #
    ############################
    
    # Send the call log to a client when connected
    # The default is not to send the call log file
    send cidlog
    
    # Send call info (LINE and RING) to a client at each ring
    # The default is not to send the call info line
    send cidinfo
    
    ############################
    # NCID Communications Port #
    ############################
    
    # The default TCP/IP port is 3333
    # set port = 3333
    
    #######################
    # Alias and Log Files #
    #######################
    
    # The default CID alias file: /etc/ncid/ncidd.alias
    # set cidalias = /etc/ncid/ncidd.alias
    
    # The default CID call log file: /var/log/cidcall.log
    # the log file must exist, ncidd will not create it
    # (also make the change in /etc/logrotate.d/ncidd
    #  and also /etc/ncid/ncidrotate.conf)
     set cidlog = /var/log/cidcall.log
    
    # The default tty data log file: /var/log/ciddata.log
    # the log file must exist, ncidd will not create it
    #  (also make the change in /etc/logrotate.d/ncidd
    #   and also /etc/ncid/ncidrotate.conf)
    # set datalog = /var/log/ciddata.log
    
    #####################
    # TTY Configuration #
    #####################
    
    # The default tty port: /dev/modem
    # set ttyport = /dev/cu.modem # Macintosh OS X
    # set ttyport = /dev/ttyS0
    
    # The default tty port speed: 19200
    # The tty speed can be one of: 38400, 19200, 9600, 4800
    # set ttyspeed = 4800 # NetCallerID port speed
    
    # Ignore tty control signals for internal modems and 3 wire serial cables
    #   Disable tty control signals: ttyclocal = 1
    #   Enable tty control signals: ttyclocal = 0 (default)
    # set ttyclocal = 1
    
    # The lockfile name is generated automatically
    # If tty port is /dev/modem, lockfile is: /var/lock/LCK..modem
    # set lockfile = /var/lock/LCK..ttyS0
    
    #######################
    # Serial or No Serial #
    #######################
    
    # Require a serial device for startup.  This is useful if you are
    # using a network based plugin
    #  network: noserial = 1 (do not try to initialize a serial port)
    #  serial: noserial = 0 (default - Look for a serial port)
    # set noserial = 1
    
    #####################
    # Modem or No Modem #
    #####################
    
    # Obtain CallerID from a CID device or a modem
    #  device: nomodem = 1 (do not send AT commands)
    #  modem: nomodem = 0 (default - send AT commands)
    # set nomodem = 1
    
    ########################
    # Modem Initialization #
    ########################
    
    # The default modem initialization is: "AT Z S0=0 E1 V1 Q0"
    # set initstr = "ATE1V1Q0"
    #
    # Alternate modem initialization string
    # set initstr = "AT&FE1V1Q0+VIP"
    
    # The U.S.Robotics USR5631 56K Faxmodem has a +GCI command to set the
    # country code to adjust parameters for a particular telephone network
    # (perhaps other modems do also).  See the following on how to set +GCI
    #   http://www.usr.com/support/5631/5631-ug/generic.htm
    #   doc/Modem-init (has a copy of the information needed to set +GCI)
    
    # Addon strings to set modem for Distinctive Ring:
    #   http://www.modemsite.com/56k/dring.asp
    #
    # 3Com/USR/TI chipset: ATS41=1
    #   Reported Ring Codes: RING A, RING B, RING C
    # Rockwell/Conexant chipset: AT-SDR=7
    #   Reported Ring Codes: RING 1, RING 2, RING 3
    # Lucent/Agere chipset: AT+VDR=1,0
    #   Reported DROF/DRON messages: DRON=5 DROF=11, DRON=5 DROF=34
    #
    # Example adds 3Com DR to the default modem initialization
    # set initstr = "ATE1V1Q0S41=1"
    
    # The default for ncidd is to try two CID strings to setup
    # CallerID: "AT+VCID=1" and if that fails: "AT#CID=1".
    # set initcid = "AT#CID=1"
    #
    # Alternate CID strings to try if default does not work:
    # set initcid = "AT+FCLASS=8;+VCID=1"
    # set initcid = "AT-STE=1;+VCID=1"
    # set initcid = "AT-STE=1;#CID=1"
    
    #################
    # TiVo Settings #
    #################
    set ttyclocal = 1 # TiVo requires CLOCAL
    set ttyport = /dev/ttyS1 # TiVo Modem Port
    set lockfile = /var/tmp/modemlock # needed for TiVo Modem Port
    #
    # To use a modem on the TiVo serial port
    #   Tivo (stereo mini jack) ->
    #   -> (stereo mini plug) TiVo serial cable (9-pin male) ->
    #   -> (9-pin Female) PC modem cable (25-pin Male ->
    #   -> (25-pin Female) Modem
    # if the modem has switches, disable DTR
    # Use this string to set the modem before attaching it to the TiVo:
    #   AT&F0&D0&B1&W
    #
    # set ttyport = /dev/ttyS3 # TiVo Serial Port
    #
    # End TiVo Settings
    I did notice the line set cidlog = /var/log/cidcall.log had a # in front of it and removed the #. Maybe the file will be created now? I am not a pro with this stuff so I hope the real brains here can help! :)
     
  20. Nov 9, 2007 #180 of 282
    BTUx9

    BTUx9 back?

    1,596
    0
    Nov 13, 2003
    Rockport, MA
    there's a fair chance that the zipper you used has an older bundle...
    try to update to the latest TWP2 bundle (you should be able to use the Update module from within TWP)
     

Share This Page