The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: xPL OCX and Website Update


[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 &amp; "?p0=display&amp;p1=Incoming
Call&amp;p2=" &amp; callerName &amp;
"&amp;p3=5",8192)

' Announce the caller's number to any text-to-speech
applications on the network
call
xpl.SendMsg("","","tts.basic","speech="
&amp; callerName)

' Display the caller details on any on-screen displays, e.g.
Tivo
call
xpl.SendMsg("","","osd.basic","text="
&amp; 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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.