That script isn't a plugin.  It's a standalone script intended to be
invoked by mgetty (which will monitor the modem port for you) whenever
a call is received.  Whenever the script is invoked, it uses the
Slimserver's CLI interface to send messages to your players with the
CID info.  It does this by contacting the server identified by the
$serverAddress and $serverPort variables in the script itself.  You'll
need to make sure those are set correctly.

You will want to run the script manually to make sure it's
communicating with Slimserver and there isn't something messed up in
the script.  It also wouldn't hurt to set the "$debug" variable to 1 to
get more output.

The error you're getting looks like you're getting some kind of HTTP
response mixed with the invocation data for the script, so you may also
want to recheck your mgetty configuration (that, or you're getting back
a forbidden response from your server and it's confusing cid.pl).

I played with this stuff a while back and ended up using a modified
version of the script with my own custom serial watcher script (I
didn't like using mgetty, and I didn't need a number database, since I
have Caller ID with name support).  However, I found that the
parameters in the invocation of cid.pl are positional, and any extra
spaces cause havoc, so all strings need to be properly escaped when
calling cid.pl (I learned this when adding caller name support).


-- 
AubreyCTurnerJr
------------------------------------------------------------------------
AubreyCTurnerJr's Profile: http://forums.slimdevices.com/member.php?userid=9795
View this thread: http://forums.slimdevices.com/showthread.php?t=36256

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to