Page 1 of 1
Caller ID Email
Posted: Mon Jul 10, 2006 8:57 pm
OK, I have setup HB so it can grab the caller ID information and (seperatley) can send an email from HB. I need the step in the middle which is a task that recognizes the new call and sends the caller ID information by email.
Can someone please help me here? I am not fluent at all with scripts.
Thanks for the help.
Posted: Tue Jul 11, 2006 9:18 am
by ScottBot
The most basic way would be to create a Task and add a single condition (Add Item/Add Condition). For the condition, select the Phone Line Status Device Caller ID Info Received property and test if it is equal to Yes. Then add actions (Add Item/Add Action) that do the same things you are doing now to send the message (set message subject, message text, and Send Message (Yes)).
You can also add another condition to the Task to NOT send the email if it is your number received by simply adding an And condition to the Task that tests to make sure the Phone Line Status Device.Last Phone Number isn't equal to your number. That way you don't get messages when you call the House yourself.
I have a similar Task that is part of an 'Away' mode that I set when leaving the house. This way it will only send the messages if I'm away from the house (it sends to an email->SMS gateway to my cell phone).
Posted: Fri Jul 14, 2006 8:12 pm
Thanks Scottbot.
OK, I got it all to work, mostly. When the phone rings, HB can send me an email.
How do I get the Last Caller and Last Phone Number info into the Email Sender>Message field so it will actually send the info via email?
Thanks.
Posted: Fri Jul 14, 2006 10:05 pm
Never mind, found the help and got it to work. Thanks!