| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | [ECS] ACE Playing Phone Messages -Reply Brad Chamberlain Thu, 27 Jan 2000 22:12:59 -0500 |
David, I've been using the following sendkey api commands to control ECS message playback from my ACE clients. Thes commands directly control the ecs message playback module. For example using the command: ACES:Sendkeys:speak,%(d) deletes message currently playing ACES:sendkeys:speak,%(p) Pauses playback ACES:sendkeys:speak,%(n) goes to next message ACES:sendkeys:speak,%(v) goes to previous message ACES:sendkeys:speak,%(c) cancels playback ACES:sendkeys:speak,%(r) rewinds ACES:sendkeys:speak,%(s) stops ACES:sendkeys:speak,%(F) fast forwards Also here is my ECS code logging my callerid and pushing it out to the ACE client. |Event: Caller-ID Called ?:No | BEGINIF CID-C Is Not Now None | Then CID-C Set Log | Then CID-C Set Display | Do cid-ace-scratch Set Re-Define Text | Do cid-ace-scratch Set A | Do cid-ace-scratch Set C | Do cid-ace-scratch Set E | Do cid-ace-scratch Set C | Do cid-ace-scratch Set : | Do cid-ace-scratch Set 0 | Do cid-ace-scratch Set : | Do cid-ace-scratch Set M | Do cid-ace-scratch Set S | Do cid-ace-scratch Set G | Do cid-ace-scratch Set 2 | Do cid-ace-scratch Set : | Do cid-ace-scratch Set 3 | Do cid-ace-scratch Set 0 | Do cid-ace-scratch Set , | Then cid-ace-scratch T1/A<-T1 CID-Name | Then cid-ace-scratch Set <Space> | Then cid-ace-scratch T1/A<-T1 CID-Number | Do cid-ace-scratch Set Send->ID:A | Then text scratch T1<-T1 CID-Name | Then text scratch Set <Space> | Then text scratch T1/A<-T1 CID-Number | Then text scratch Set <Space> | Then text scratch T1/A<-Stt Time | Then text scratch Set <Space> | Then text scratch T1/A<-Stt Day | Then Log_telephone Set text scratch | Then CID-C Set None | ENDIF | End Good Luck, Brad >>> "David Kindred" <david_kindred@iname.com> 01/27/00 09:56pm >>> Guys, I know this was touched on back in February, but don't know if one of you has done something clever. Can you use ACE to control the playback of phone messages? It seems that you can set the item "Speak-Messages" to a value of 20 (Play), but that's about it. Looks like all the messages then play, with no way to interrupt them from ACE. (Actually, I don't hear audio when I do this, but ECS is bringing up the WAV playing dialog.) The thought back in February was that ECS wouldn't process any new ACE commands until the first was done, has this changed? I can use a PLC console to Play/Interrupt Playback of messages. Should ACE control be any different? Michael, are you doing anything like this? --David