ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Programming and Phone Question
Scott Danks
Wed, 01 Mar 2000 09:19:51 -0600

 Wed, 01 Mar 2000 09:19:51 -0600
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. . . . 

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


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?



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




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.