| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | [Fwd: CID Works!] Mark Gilmore Sat, 15 Aug 1998 06:42:36 -0700 |
| Subject: From: Date: | CID Works! Ingo Dean (Outlook Express) Fri, 14 Aug 1998 22:53:47 -0400 |
Great! The Out-of-Area CID stuff works! Now, one question... It looks like you set Caller-ID-Name to "?" when the number is valid, but the name is not. How do I check that? I can't set a text item to "?" for comparison, since that's the HELP button... Ultimately, I want my CID announcements to announce names only when they're available, but if just the number is available, I want the number announced. | Do Local Phone Session Set Local-Phone-Button| Do Remote Phone Sess. Set Remote-Phone-Button| | BEGINIF Caller-ID-C Is Not Now None| Do Text-A T1<-T1 MSG:Call From| Do Text-A Set <Space>| Do Text-A T1/A<-T1 Caller-ID-Name| | If Caller-ID-Number Is GT CID:Out-Of-Area| Then Text-A Set <Space>| Then Text-A Set a| Then Text-A Set t| Then Text-A Set <Space>| Then Text-A T1/A<-T1 Caller-ID-Number| | Announce it:| Do Text-A Set Display/Log/Speak| ENDIF
| Do Local Phone Session Set Local-Phone-Button
| Do Remote Phone Sess. Set Remote-Phone-Button
|
| BEGINIF Caller-ID-C Is Not Now None
| Do Text-A T1<-T1 MSG:Call From
| Do Text-A Set <Space>
| Do Text-A T1/A<-T1 Caller-ID-Name
|
| If Caller-ID-Number Is GT CID:Out-Of-Area
| Then Text-A Set <Space>
| Then Text-A Set a
| Then Text-A Set t
| Then Text-A Set <Space>
| Then Text-A T1/A<-T1 Caller-ID-Number
|
| Announce it:
| Do Text-A Set Display/Log/Speak
| ENDIF