OT: vonage Voicemail Waiting Indicator on mythtv
- From: Kevin Venkiteswaran <kkvenkit (at) gmail.com>
- Date: Sat, 18 Mar 2006 20:43:33 -0800
> This section can be added the to script right after the check for
> callerid. It does not do anything with the info yet, but will give you
> a
> starting point:
>
> my $vmail=$dataset;
> if ($vmail=~/NOTIFY sip:/){
> $vmail=$dataset;
> if ($vmail=~/Messages-Waiting: Yes/) {
> print("Voicemail Messages Waiting\n\n");
> }
> if ($dataset=~/Messages-Waiting: No/) {
> print("No Voicemail Messages Waiting\n\n");
> }
> }
> return;
> ___________
I played with your code and was successful grabbing the voicemail alert.
Thanks for the code!
Now a larger problem: what to do about notifying the user? Ideally I'd
like to have an alert that appears which requires the user to click
'ok'. This way a voicemail alert would show up and stay present even if
the user is not present (ie, I'm at work, I get a voicemail and I don't
get home for another 6 hours).
The other problem is having the alert appear regardless of the "screen"
the user is on. mythtvosd only displays its alerts if the user is
watching live tv or a recording. Any thoughts on how to have mythtvosd
(or any program) show alerts at any time?
I played with xosd (osd_cat specfically) and though it does display osd
on top of X, it isn't within the myth framework and thus isn't themed.
Ie, it's quite unattractive.
Kev
_______________________________________________
mythtv-users mailing list
mythtv-users (at) mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users