Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

outbound call from perl -- best approach?

by water (Deacon)
on Oct 07, 2005 at 02:24 UTC ( #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 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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-12-01 01:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls