Remotely Monitor Off-Hook Status?

(1/3) > >>

PhiDeck:
Use Case: Early Alzheimer's live-alone patient forgetting to hang up the phone.

Can OBi1x0 and/or OBi20x be used to remotely monitor whether its connected phone is off-hook?
If so, by what push or pull mechanisms?:
- Browser
- IOS App
- E-mail
- SMS Text
- SSH
- Other?

zorlac:
I know that you can check the "onhook" status through the obi web portal in expert mode but I doubt there's a way to have it assert that status automatically.

PhiDeck:
Quote from: zorlac on January 16, 2015, 07:00:09 pm

I know that you can check the "onhook" status through the obi web portal in expert mode but I doubt there's a way to have it assert that status automatically.


Thanks, I will explore that avenue.  Using a scripted browser to obtain that datum is probably the least desirable means of doing so, compared to an API or a rule-based server initiated trigger, but one works with what one has.

Is there a way to explore the web portal prior to buying a unit?

infin8loop:
If you are up to running a syslog, Off-Hook and On-Hook messages are written to the syslog.

I posted a perl syslog sample that could be modified to look for the Off-Hook and On-Hook message
here http://www.obitalk.com/forum/index.php?topic=185.msg9107#msg9107

The mechanics of what would be done with the messages makes my head hurt a bit. I'd probably take a low-tech approach and maintain a hook-status.txt file with a single line containing the last know status and date/time (updated from the syslog message).  Then I'd have another process running continuously that contained a timer loop that popped, say, every 10 minutes to track the status contained in the hook-status.txt file. If it was in Off-Hook too long, one might assume someone forgot to hang up the phone and send out an email to a caregiver. You could probably get fancy and monitor call termination messages in the syslog as well.

I run a free papertrailapp.com syslog on my one of my obi110's and it contains:

Jan 17 16:14:28 obi1 logger: [SLIC]:Slic#0 OFF HOOK   
Jan 17 16:14:53 obi1 logger: [SLIC]:Slic#0 ONHOOK

from a test call I made.

Best wishes as you help someone deal with the insidious disease of Alzheimer's.
 
 

infin8loop:
Hook status of an Obi110 can be retrieved on the local page:

http://local-ip-address-of-obi/PI_FXS_1_Stats.xml

The above address could be posted by a script and the results retrieved and parsed by the script.

This might be a good use for a Raspberry Pi. 

 

Navigation

[0] Message Index

[#] Next page