Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

outbound call from perl -- best approach?

by water (Deacon)
on Oct 07, 2005 at 02:24 UTC ( [id://498107]=perlquestion: print w/replies, xml ) Need Help??

water has asked for the wisdom of the Perl Monks concerning the following question:

Hi --

I'm trying to have a perl script make a phone call and play a reminder message.

I have a working voice modem (a US Robotics sportser). I've spent some hours muddling through the vgetty docs, as well as http://www.webreference.com/perl/tutorial/14/. No success.

The fact all these vgetty / mgetty docs are dated 1998 gives me some pause, too.

Is vgetty the right way to go about this?

Should I be looking at something else -- is there a way to use VoiceXML or something else to place a call?

Trying to keep costs low, but the call will be a rare event, so the per-call cost (if any) isn't a big deal.

Thanks for ideas

water

Replies are listed 'Best First'.
Re: outbound call from perl -- best approach?
by zentara (Archbishop) on Oct 07, 2005 at 09:07 UTC
    Just some brainstorming here, but is vgetty the right way to go for making outgoing calls? It would seem to me to be alot simpler, to use Device::Modem to take the modem offhook, dial the number, then wait for an answer. When an answer is detected( probably the hardest part of this ) , just use any audio app, like aplay, to play your message. You send the audio through a patch cord from the line out of your soundcard, to the line-in on the modem.

    But I've never actually tried it.


    I'm not really a human, but I play one on earth. flash japh
Re: outbound call from perl -- best approach?
by Anonymous Monk on Oct 07, 2005 at 03:47 UTC
    In Auckland the local library would make an automated voice phone call to inform that a library book was overdue.

    Receiving this call was annoying and problematic.. what if you weren't the intended recipient of the call, someone else in the house answered it? Or a voice mail system answered it? etc etc

    I'm not fond of automated voice dialers.. what is your purpose for creating one?

      "Cat ran out of food", "basement flooded", etc. Warnings from my house to me, not a telemarketing scheme! :)

      water

        Wouldn't text (SMS) messages to your mobile be quicker, easier and cheaper?


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
        "Science is about questioning the status quo. Questioning authority".
        The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://498107]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found