This page details my experimentation with my voip telephone.
Using a Linksys SPA Voip Box I followed these instructions from Cisco to connect it to the syslog.
I needed to add "-x" to the startup of rsyslogd in Ubuntu. This disables DNS lookups by rsyslogd that caused a long delay for syslog entries to be saved in the syslog file.
I have written a script called phonechecker.sh.
This emits the action of the phone ringing to my Elvin Router.
The script instructs the LED Display to show the callerid of the incoming phone call and the synthesizer says "call from" followed by reading out loud the individual digits of the callerid.
Finally start phonechecker.sh on boot and don't forget to open the UDP port to allow the Voip phone to send syslog data.
I have written two Elvin producers to emit notifications from the /usr/local/bin/phonechecker.sh script.
I needed to compile the programs on Fedora Linux and copy the image to Ubuntu as there is a critical bug open regarding the C client library.
Firstly, tick.c compiled to /usr/local/sbin/tick.
Secondly, led.c compiled to /usr/local/sbin/led.
At the LED Display
I purchased a USB LED Display $87 off ebay and connected it to a Linux computer. The USB protocol was available so that it maybe controlled live from Linux.
I purchased a mono speaker $4 and usb audio adaptor $5 off ebay. This enables independent audio and volume control for the synthesised annoucements.
On the computer connected to my LED Display.
I modified the example C program that was supplied with the LED Display and added code to make it an Elvin consumer.
I needed to compile the program on Fedora Linux and copy the image to Ubuntu as there is a critical bug open regarding the C client library.
The ledtickertape.c file is compiled and installed to /usr/local/sbin/ledtickertape.
Here in the script that calls espeak to synthesize any messages that accompany the LED display output.
A curfew is programmed between 10pm and 8am.
Here in the script that starts the ledtickertape consumer.