I have made the following updates to Max Spicer's excellent program that
displays Caller ID information on your Squeezebox:
* Option to format incoming or contacts.csv numbers in the US style by
adding dashes - example 555-5555 or 1-555-555-5555 or 555-555-5555
* Added a URL escape function - mainly purloined from the Internet.
* Use MODEM Caller Id Name when the number is not in contacts.csv
Note: there is a bug in version 1.1.35 of mgetty that prevents the
caller name from being send to cid.pl. I corrected this for my MODEM.
The mgetty diff is as follows:
mgetty-1.1.35 $ diff ring.c ring.c.orig
326c326
< if ( strncmp( buf, "NAME", 4 ) == 0 && drox_count == 0 ) {
break; }
---
> if ( strncmp( buf, "NMBR", 4 ) == 0 && drox_count == 0 ) {
break; }
Please note that this is the first time I ever did anything in PERL.
Therefore, the updates may be ugly. Max, Please feel free to publish
these
updates if you wish. I use Perl version v5.6.1 and slimserver 6.0.2.
Your mileage my vary.
Please visit Max's web site for more info on cid.pl
http://www.thespicers.net/cid.html
Windows users can probably use this program as well by installing
Cygwin.
Cygwin details can be found at http://www.cygwin.com/.
+-------------------------------------------------------------------+
|Filename: cid.pl.gz |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=1026|
+-------------------------------------------------------------------+
--
vernon
------------------------------------------------------------------------
vernon's Profile: http://forums.slimdevices.com/member.php?userid=4512
View this thread: http://forums.slimdevices.com/showthread.php?t=22054
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins