|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] Programming and Phone Question Don Stephens Wed, 1 Mar 2000 07:29:39 -0800 |
Hi Scott:
I can try to give you directions on some of your questions...see below
Don
----- Original Message -----
From: "Scott Danks" <sdanks@ci.tulsa.ok.us>
To: <ecs-list@netbloc.com>
Sent: Wednesday, March 01, 2000 7:19 AM
Subject: Re: [ECS] Programming and Phone Question
I have had a few hours to get enthrawled in the ECS events lately, and I
have some questions for you guru's.
Question 1:
Is there a built in way to play a specialized greeting based on caller Id.?
I am operating under the assumption that I have to write my own but the
toolsa re there. So, I got it to work by patching the "phone service"
event, and playing a different wav file based on the callerid. The problem
is I have to patch the event everytime I have a new callerid to setup. SO,
I thought I would make an event that reads a text file and parses it for the
callerid lookup and associated wav file (or .RPC) file to play and if it
does not find one, play the normal greeting. . . .
I created text items to correspond to my CID list. Cumbersome but it works
I then associate the text name with the CID # and build a greeting from
that.
Question 2:
Has anyone already done this? I may be making it harder than it is (Mark
probably has this done already and it may be internal to ecs)
Question 3:
Mine is ALMOST working. BUT, I can't figure out how to set a text variable
to nothing to clear it. I tried copying a <NUL> to the variable and that
did not work, the text variable I build looks like this when trace is turned
on: "<NUL>918-835-xxxx". When setting it to a value it just seems to
append on the text line. I should probably learn how to do this even if one
of you has a routine I can use so I will know how to do this in later
events.
BTW, the way I set it to <NUL> is:
text-char set <NUL>
text-string t1/a<-stt
Is Text-char a text item? If so then set it to Re-define
I'm unclear on your second line
Question 4:
Could it be that my remote phone stuff is not working because I'm using an
"answer/w"? Does that stop it from figuring out what macros, etc. are
coming in?
I don't know
Any ideas whould be helpful. If I can make this work and no one is using
one I will be happy to share the events, as usual.
Scott Danks
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects