After a couple of days of playing with a few different programs I have a caller id program working in knoppmyth. I have a modem attached to another computer (US Robotics External Voice Faxmodem Pro Model# 0525). xyac is the client that is installed on knoppmyth box and elseed runs on my mandrake desktop. There are also also notes below on running the server on win2000/XP. Elseed answers the phone, finds the callerid information and sends it to the client, xyac.
Only glitch is that I had to remove the formatting in elseed.c before compile. The formatting totally screws up the number. Maybe there is a C programmer out there that can post a fix? It was originally writtern for Tivo, so I made a few minor modifications. The following are my notes:

XYAC is the client to run on a linux box (mythbox)
www.bah.org/~greg/tivoxyac-0.1.tar.gz to /home/mythtv
tar zxvf xyac-0.1.tar.gz
cd xyac*
su
apt-get install libxosd2
apt-get install libxosd-dev
make
make install (installs xyac to /usr/local/bin)
edit /home/mythtv/.fluxbox/apps and add after [startup] {xset...} line:
[startup] {xyac -p middle -A center -p GRAY -s 1 -f lucidasanstypewriter-bold-24 &}
(Note can also use lucidasanstypewriter-bold-18 if 24 is too big)
(Note: the command xlsfonts will show a list of fonts avail to you)
(Make sure it is all ONE line in the apps file or it wont start)
Restart x

ELSEED is the Server (for linux) originally written for a Tivo.
(same link as xyac)
(If want to run this from a win2000 or XP box, go to www.sunflowerhead.com/software/yac(Windows server is very simple to setup).

(On linux box that modem is connected to)
tar zxvf elseed-0.6.0.tar.gz
cd elseed*
-First step is to take out tivo stuff and readjust for regular mandrake
edit elseed.h
change MODEMDEVICE_DEFAULT to modem port "/dev/ttyS0"
change MODEMINIT_DEFAULT to Init string: "ATE1 S0=0 V1Q0#CID=1"
save
edit elseed.c
remark out the lines that tries to format the phone number (it kept messing it up on mine)
// at front of lines 350-356.
save
edit Makefile
change cc to correct directory: CC=/usr/bin/gcc
comment out line 20 "LFLAGS=" by putting a # at front of it.
save
make

Run test from there as root
./elseed (should save Initialzing modem... Then Modem OK.)
Call your number from a cell of different #
It should show the caller ID after a couple of rings
cp elseed.conf.sample to /etc/elseed.conf
edit /etc/elseed.conf
Change the IP#'s from the defaults to the IP#'s where the clients are running.
(Note, haven't tried to use a computer, name but docs say it must be IP#, not name)
save
make sure client is running (can also do ps -A to see if xyac is loaded on client)
start elseed and test. If should pop-up and display after first or second ring.

You can then move elseed to /usr/local/bin and then put it in your startup scripts.

If I was to set callerid up on my 1 frontend/backend mythbox. At what point in this howto should I start. would I follow this howto word for word except do it all on the one box? I was reading the howto at mythtv.info and the methods seem very different.

I am not familiar with that how-to. For mine, all you have to do is install xyac on the same box. Then in your elseed.conf just put in the IP address of the same box. You will want to create a startup script to start xyac along with elseed on that same box.

Followed these instructions for using a YAC server running on Windows box sending to my knoppmyth box.

Few things I ran into.

-Windoze Modem driver didn't support callerID, had to download updated driver from US Robotics, good site for fixing bad modem drivers that skip callerID. http://www.talkingcallerid.com/ModemDriver.htm-Had to run apt-get update prior to libxosd order was

You might try mythtvosd. I guess it works with the pvr-350 tv output but I haven't tried. It has support for showing caller id info. The --help output isn't very helpful has it omits options for the various templates. For caller id the command line is something like this:

The trick is to get each bit of data (name, number, etc) so you can call the command with all the options. If you can't get the separate data then you could try the more general alert (--template=alert --alert_text="your text here") or scroller (--template=scroller scroll_text="your message") templates.

edit elseed.c remark out the lines that tries to format the phone number (it kept messing it up on mine) // at front of lines 350-356. save

I was just playing with this on R5.5 and noticed that it works properly if instead of remarking out any lines, one replaces the memcpy() calls with memmove(). It results in a nicely formatted phone number, as intended.

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum