Caller ID displayed on your LinHES screen

Version 13 (jzigmyth, 06/13/2010 03:28 pm) → Version 14/19 (jzigmyth, 06/13/2010 03:28 pm)

h1. Caller ID displayed on you LinHES screen

h3. This wiki entry is in progress. I'll delete this line when it's done. Thanks for waiting.

In order to get your TV to display caller ID info while watching MythTV, you need to install NCID (network caller ID). NCID consists of the ncid server daemon (ncidd) and the ncid client program (ncid). The modem connects to the server and it makes the caller ID info available to all the clients on the network.

h3. Requirements:

*1) Caller ID capable modem.* This can be an external serial modem, external USB modem or internal modem, but it must have caller ID capabilities. USB and internal modems may need other drivers installed to work. NCID can also get Caller ID info from a voip system or a YAC server.

*2) NCID (network caller ID) package* consisting of the ncid server daemon (ncidd) and the ncid client program (ncid)

This article will focus on installing the server and the client on your stand alone LinHES 6.02 box using an external serial modem.

h3. General outline:

* install make (didn't come with R6.02)
* get NCID. Latest version as of 4-3-10 is 0.76
* make package
* make package-install
* edit the configuration files for ncidd and ncid
* install ncidd as a service
* install ncid as a service
* in that order

h3. Detailed outline:

At the time of this writing, LinHES does not have the make utilty installed by default, so we start by installing make.

* All as root:
<pre>
pacman -S make
</pre>

* Next get the NCID source:
<pre>
cd /root
mkdir ncidsrc
cd ncidsrc
wget http://sourceforge.net/projects/ncid/files/ncid/0.76/ncid-0.76-src.tar.gz/download
tar xvzf ncid-0.76-src.tar.gz
</pre>

* Next make and install NCID:
<pre>
cd ncid
make package
make package-install
</pre>

* Next edit the ncidd daemon config file to tell ncidd where your modem lives. Mine is connected to ttyS1 (COM2) because I have a serial port IR receiver connected to to ttyS0 (COM1).
Edit /etc/ncid/ncidd.conf and change this part:
<pre>
#####################
# TTY Configuration #
#####################

# The default tty port: /dev/modem
# set ttyport = /dev/cu.modem # Macintosh OS X
# set ttyport = /dev/ttyS0
set ttyport = /dev/ttyS1
</pre>

* Next edit /etc/ncid/ncid.conf. Change the default helper script from ncid-speak to ncid-mythtv.
FROM:
<pre>
# default helper script
set EXTPROG ncid-speak
</pre>
TO:
<pre>
# default helper script
set EXTPROG ncid-mythtv
</pre>

h3. Optional:

You can also edit the /etc/ncid/ncidd.alias file to change what name is diplayed with a given phone number, so you can have your friends nicknames displayed instead of the name that comes over the caller ID info from the phone company. Directions are in the file.

*
...
* ...
* ...

h3. This isn't finished yet. More instructions coming...