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


  • Comment on outbound call from perl -- best approach?

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! :)


        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.