[asterisk-users] Surfing the web via Asterisk.

Matt Riddell (lists) lists at venturevoip.com
Mon Oct 17 09:22:02 CDT 2016


This is a really interesting project but I think it's going to be seriously hard. You're going to need to parse meaning from a site, and that's not an easy thing to do. 

If you're focused on a few of the bigger sites then it might be easier. 

You almost want a middle layer that can parse meaning from a site into xml or something. 

Then I'd work on creating objects out of each kind of tag. The problem is that navigation may not be the same as you'd see when visiting a site. You're not really going to be moving left and right. It would be more like tab works. Next item kinda thing. And items wouldn't necessarily be in the same order as you see. Pull right/left classes for bootstrap etc would make layout different. 

I would maybe check if there are any libraries that can parse HTML into objects first and if not then start building on yourself. The telephony side will be easy. You'd use agi or something to navigate the object you create and tts to describe current position. The hard part will be parsing the HTML even though most HTML is broken :-)

Kind regards,

Matt Riddell

> On Oct 17, 2016, at 9:00 AM, Jonathan H <lardconcepts at gmail.com> wrote:
> 
> Has anyone attempted making the web phone accessible? I can only find one company which operated between 1996 and 2000. 
> 
> I was thinking, install Chrome with Chromevox, headless, on a server, and use something like an AGI to send basic keyboard commands to navigate a page, as a screenreader user would, and pipe the audio back to a channel, to be streamed by Asterisk. 
> 
> (Bear with me here - it's a project for blind people involving a telephone and some lateral thinking!)
> 
> And yes, I mean more than just CURL a page, tts it and then read. I'm talking about using the keypad to navigate the headers and landmarks. There are just enough keys to make it viable.
> 
> Of particular interest is the very high quality of the Chromevox screenreader voice from Google.
> 
> Does such a framework exist? I'm aware of a project called Chromium Headless, but some of the links are broken and it doesn't seem to have the audio/extension part
> 
> Failing headless, what about running it on a vps in an x-window environment? Not sure how I'd pass the keyboard presses to it, without using a keyboard...
> 
> Any ideas, or is the whole idea complete madness? Thanks!
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
>      http://www.asterisk.org/community/astricon-user-conference
> 
> New to Asterisk? Start here:
>      https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161017/1374f397/attachment.html>


More information about the asterisk-users mailing list