develooper Front page | perl.beginners | Postings from February 2002

Re: making phone calls using a perl module

Thread Previous
From:
Papo Napolitano
Date:
February 28, 2002 06:40
Subject:
Re: making phone calls using a perl module
Message ID:
03fc01c1c065$eaf63b40$fe00000a@exodo
I'm making a guess here... But I think voice modems use the (standart) AT
commands even for the voice commands.
So if you know what to send, just use something like Device::SerialPort to
dial via the modem and for the mp3 play, you could "inject" the audio signal
coming from your soundcard to the pone line via a small transformer (I did
it in the old bluebox times... Ooooops... I didn't say that!)
The entire process would be something like this:

open commport
send ATZ
send ATDT5559988
send AT+VOICE (beware, this isn't the real command)
output mp3 to soundcard
send ATH1 (or the hang up command)
close commport

HTH.-

>It is not phone spam. Is for a proyect.
>--- "Brett W. McCoy" <bmccoy@chapelperilous.net>
>wrote:
>
>>On Wed, 27 Feb 2002, Joe Echavarria wrote:
>>
>>>   I am looking for a perl module that can be used to
>>>
>>to
>>
>>>make phone calls using a voice modem so when the
>>>
>>phone
>>
>>>is picked up the user can hear a recorded message
>>>(mp3 file). Any idea where i can find that module.
>>>
>>Oh, boy, phone spam.
>>
>>-- Brett



Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About