[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: caller id (Again)
- Subject: Re: caller id (Again)
- From: frostie2001uk
- Date: Thu, 11 Dec 2003 20:16:00 +0000
Installed that, get the watcher open.... but get no messages...
Double checked everything... still nothing tho.
I've got a red light on the meteor so I'm assuming that is working...
but nothing else... the script I've got for the meteor is:
<script>
Sub JOHNB_METEOR_CALLERID_trigger(XplMsg)
const SLIMP3_URL = "<a href="http://192.168.1.4:9000/">http://192.168.1.4:9000/</a>"
Dim CallerName
callerName = ""
Select Case ucase(xpl.GetParam(XplMsg,"calltype",True))
Case "INBOUND"
If xpl.GetParam(XplMsg,"ccs",True) = "cid" Then
CallerName = xpl.GetParam(XplMsg,"phone",True)
Elseif xpl.GetParam(XplMsg,"ccs",True) = "nocid" Then
' Caller ID info not available
if xpl.GetParam(XplMsg,"rnn",True) = "withheld" Then
callerName = "Number Withheld"
Else
callerName = "Number Unavailable"
End If
End If
If Not callerName = "" Then
' Display the caller's name/number on the SliMP3
call sys.GetHTTP(SLIMP3_URL & "?p0=display&p1=Incoming
Call&p2=" & callerName &
"&p3=5",8192)
' Announce the caller's number to any text-to-speech
applications on the network
call
xpl.SendMsg("","","tts.basic","speech="
& callerName)
' Display the caller details on any on-screen displays, e.g.
Tivo
call
xpl.SendMsg("","","osd.basic","text="
& callerName)
End If
End Select
End Sub
</script>
I copied that diectly from xplproject website.
I'm assuming that should show the xpl message in the watcher...
I appreciate any help with this...
Thanks
Neil
>Take a look at this post from 14th October
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|