I found out how at: http://www.thespicers.net/cid.html
That must be were you got it and made it better. Here are all the commands I did to get it to work. You can see the error with yours. So I renamed it with a ~ at the end and used a wget to get the other cid.pl [EMAIL PROTECTED]:~# find / -name cid.pl /usr/share/slimserver/Plugins/CallerID/cid.pl [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# chmod u+x /usr/share/slimserver/Plugins/CallerID/cid.pl [EMAIL PROTECTED]:~# perl -e 'use Text::CSV_XS' Can't locate Text/CSV_XS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. [EMAIL PROTECTED]:~# apt-get install libtext-csv-perl Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libtext-csv-perl 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 24.5kB of archives. After unpacking 127kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com feisty/universe libtext-csv-perl 0.23-8 [24.5kB] Fetched 24.5kB in 0s (37.0kB/s) Selecting previously deselected package libtext-csv-perl. (Reading database ... 57800 files and directories currently installed.) Unpacking libtext-csv-perl (from .../libtext-csv-perl_0.23-8_i386.deb) ... Setting up libtext-csv-perl (0.23-8) ... [EMAIL PROTECTED]:~# perl -e 'use Text::CSV_XS' [EMAIL PROTECTED]:~# mgetty The program 'mgetty' is currently not installed. You can install it by typing: apt-get install mgetty Make sure you have the 'universe' component enabled -bash: mgetty: command not found [EMAIL PROTECTED]:~# apt-get install mgetty Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: mgetty-fax The following NEW packages will be installed: mgetty 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 173kB of archives. After unpacking 401kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com feisty/universe mgetty 1.1.35-3ubuntu1 [173kB] Fetched 173kB in 1s (148kB/s) Selecting previously deselected package mgetty. (Reading database ... 57813 files and directories currently installed.) Unpacking mgetty (from .../mgetty_1.1.35-3ubuntu1_i386.deb) ... Setting up mgetty (1.1.35-3ubuntu1) ... [EMAIL PROTECTED]:~# cd /usr/local/sbin [EMAIL PROTECTED]:/usr/local/sbin# ls cid.pl [EMAIL PROTECTED]:/usr/local/sbin# chmod u+x cid.pl [EMAIL PROTECTED]:/usr/local/sbin# ls cid.pl [EMAIL PROTECTED]:/usr/local/sbin# ./cid.pl a 01234567890 Can't locate Net/LDAP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ./cid.pl line 23. BEGIN failed--compilation aborted at ./cid.pl line 23. [EMAIL PROTECTED]:/usr/local/sbin# ls cid.pl [EMAIL PROTECTED]:/usr/local/sbin# mv cid.pl cid.pl~ [EMAIL PROTECTED]:/usr/local/sbin# wget http://www.thespicers.net/cid.pl --21:17:34-- http://www.thespicers.net/cid.pl => `cid.pl' Resolving www.thespicers.net... 212.159.9.131 Connecting to www.thespicers.net|212.159.9.131|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 6,068 (5.9K) [text/x-perl] 100%[====================================>] 6,068 --.--K/s 21:17:34 (49.22 KB/s) - `cid.pl' saved [6068/6068] [EMAIL PROTECTED]:/usr/local/sbin# ls cid.pl cid.pl~ [EMAIL PROTECTED]:/usr/local/sbin# chmod u+x cid.pl [EMAIL PROTECTED]:/usr/local/sbin# ls cid.pl cid.pl~ [EMAIL PROTECTED]:/usr/local/sbin# ./cid.pl a 01234567890 Couldn't open number file: /home/max/contacts.csv at ./cid.pl line 67. [EMAIL PROTECTED]:/usr/local/sbin# locate contacts.csv /home/part2/raymond/contacts.csv [EMAIL PROTECTED]: vi /usr/local/sbin/cid.pl [EMAIL PROTECTED]:/usr/local/sbin# ./cid.pl a 01234567890 [EMAIL PROTECTED]:/usr/local/sbin# It worked doing the ./cid.pl a 01234567890 displayed on my Slimp3 box and SoftSqueeze! But I called my self using skype out. It did not work. I guess I have to link the Port /dev/ttyACM0 some were? -Raymond Day -- Raymond Day ------------------------------------------------------------------------ Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332 View this thread: http://forums.slimdevices.com/showthread.php?t=41653 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
