| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | Re: [ECS] Final CID questions Mark Gilmore Mon, 24 Aug 1998 08:11:32 -0700 |
Ingo, I will need a copy of your caller-id item def &
your caller-id file.
Ingo Dean wrote:
>
> I believe you misunderstand my situation:
>
> I shouldn't even be getting a "?" for caller-id-name since I have a name
> defined for the number in a CID file referenced by a CID item.
>
> In other words (I'll try to be clearer), I have a CID item called "CID:
> File" which is set to "@CID_LIST.txt". So, if I had the Caller-ID service
> without names, the names would be looked up in this file, correct?
>
> I have Extended Caller-ID (something like that), which sends the names when
> the phone company knows 'em. And when they don't, they seem to send that
> "O" for the name, but send the number correctly.
>
> Well, ECS now correctly keeps the number when the name is unknown, and sets
> the name to "?".
>
> Then it *should* look up the number in my CID_LIST.txt file to see if I've
> given that number a name.
>
> That *sorta* works: it *does* set the Caller-ID-C item properly, but
> doesn't properly set the Caller-ID-Name item. It should use the same name
> out of the CID_LIST.txt file to overwrite the "?".
>
> This is what my LOG output shows that I had included.
>
> > -----Original Message-----
> > From: Mark Gilmore [mailto:markgilmore@cococo.net]
> > Sent: Sunday, August 23, 1998 11:39 AM
> > To: ecs-list@vancouver.ml.org
> > Subject: Re: [ECS] Final CID questions
> >
> >
> > Just check for "?" in the caller-id-name
> > AND caller-id-number Item.
> >
> > Ingo Dean (Outlook Express) wrote:
> > >
> > > Mark,
> > >
> > > There's still something I can't quite get to work on my
> > caller-ID routines:
> > >
> > > When a call comes in from an Unknown Name ("?") with valid
> > number which I've
> > > defined a name for in my Caller-ID file, setting the
> > Caller-ID-C item to LOG
> > > or SPEAK works properly. But the Caller-ID-Name item continues
> > to be "?",
> > > breaking what I'm trying to do: only announce the number if the name is
> > > totally unknown (from phone company, and from my CID file).
> > >
> > > Am I still doing this wrong?
> > >
> > > LOG OUTPUT:
> > > -----------
> > > O 08/22 9:33 PM:Call from My ISDN Line at 626-5410
> > > O 08/22 9:33 PM:Call from 626-5410
> > >
> > > Program snippet:
> > > ----------------
> > > | BEGINIF Caller-ID-C Is Not Now None
> > > | Do Text-A T1<-T1 MSG:Call From
> > > | Do Text-A Set <Space>
> > > |
> > > | For debugging only:
> > > | Do Caller-ID-C Set Log
> > > |
> > > | If Caller-ID-Name Is Question Mark
> > > | Then Text-A T1/A<-T1 Caller-ID-Number
> > > | Else Text-A T1/A<-T1 Caller-ID-Name
> > > |
> > > | Announce it:
> > > | Do Text-A Set
> > Display/Log/Speak
> > > | ENDIF
> >
> > --
> > Mark Gilmore
> > Omnipotence
> > Voice:423-745-0026
> > FAX :423-745-1714
> > http://members.a2zsol.com/omnipotence.html
> >
--
Mark Gilmore
Omnipotence
Voice:423-745-0026
FAX :423-745-1714
http://members.a2zsol.com/omnipotence.html