OBi110 Syslog messages: Report status of Message-Waiting-Indicator (MWI)?
Telex:
No, I only have SP1 configured for voip.ms and nothing else and yes. this will drive me to distraction!
I'm collaborating with another forum member (etc6849) to develop an Obihai driver for a Home Automation (HA) program we both use (Premise Home Control). The driver is done and I now have a log of inbound and outbound calls that I can view on my kitchen's touchscreen.
I want to add one more feature and that is to indicate if there are new voicemail messages. Upon arriving at home, I want my HA system to inform me (via voice announcement) if there's new voicemail. The "+++ mwi state 1" message, that you revealed to me, is the ideal candidate. However, the accompanying 'subs failed' messages (that only I seem to get) suggests I may have misconfigured my OBi110 in some way.
I've asked etc6849 to set his OBi110 to display MWI syslog messages and report if he also gets 'subs failed' messages. If anyone else is willing to carry out the test and report their results, I'd appreciate it.
Telex:
I've arrived at a solution that provides me with the information I was seeking.
Configuration settings:
X_SipDebugOption set to "Log All Except REGISTER Messages"
X_MWISubscribe is disabled (default)
The X_SipDebugOption causes my OBi110 to display a periodic (~ 30 sec) NOTIFY message (see a sample, about 5 posts above) that contains the following key-value pair: "Voice-Message: 0/0".
I've discovered that the first digit represents the number of new voicemail messages. I do not know what the second digit represents. If anyone knows, please enlighten us!
My SIP provider is voip.ms. My colleague, etc6849, uses Google Voice and he reports that his Obi110 is not generating the NOTIFY message. It generates debug messages specifically for the Google Voice service and one of them clearly reports the number of new voicemail messages. I'll hazard a guess that the NOTIFY message is generated if you are connected to a 'standard' SIP provider.
So if you are using Google Voice, voicemail status is readily available from the debug log. For other SIP providers, set X_SipDebugOption as indicated and parse the resulting NOTIFY message.
PS
Be advised that etc6849 is currently experiencing a few issues with Google Voice's polling frequency (see
http://www.obitalk.com/forum/index.php?topic=2070.0)
ProfTech:
The second number should indicate the number of saved messages.
Navigation
[0] Message Index
[*] Previous page