I am trying to find out if there are any modules that have been built that handle input via telephone touch tones.

I have written a script that grabs info from various places across the net and throws it all into an html document for me to display. Weather, national and local news, things like that. I also am working on modifying some code I found for controlling X-10 devices.

My brainstorm this morning (while waiting for programs to install on various machines here at the office on a Saturday) is to have a script monitor a phone line at home that is only used for dial out. If away from my house I would like to dial in and have the script answer and just wait for a passcode input via touch tones. I could then enter (using touchtones again) certain codes that would allow me to access my X-10 scripts, maybe grab one of my weather forecast grabs and read it back to me, etc.

Two things I look for help on:

1. Any pointers to info about perl answering an incoming call and parsing touch tones?

2. Any information about getting one of the voice modules to 'speak' out through the phone line instead of the standard audio out?

Also, my current stuff runs on a windows machine. Modules / script that works there would be easiest. If needed though I can move it to a Mandrake box. I just have not done any serial in/out coding on linux at all.

Thanks in advance!


In reply to Parsing touch tone input? by TacoVendor

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.