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

Re: making phone calls using a perl module

Thread Previous | Thread Next
From:
Papo Napolitano
Date:
February 28, 2002 07:09
Subject:
Re: making phone calls using a perl module
Message ID:
044001c1c069$acef0850$fe00000a@exodo
Yes, I think you're wrong.
Try this from a DOS box

echo ATDT1111111111111111111111111111111111 > com1

If you have your modem in com1 of course... ;)

----- Original Message -----
From: Tor Hildrum
To: Papo Napolitano
Sent: Thursday, February 28, 2002 11:53
Subject: Re: making phone calls using a perl module


On 28/2/02 15:40, "Papo Napolitano" <papo@dosalcubo.com> wrote:

> 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

The "AT" commands are just strings.
I don't think you could just send those to a modem.
You need some kind of interface between the AT-commands and the modem.
When you use a command line terminal to communicate with your modem, I don't
think it sends your AT-commands as "strings".
I may, of course, be wrong.
This information is available on the www, so anyone wanting to start with
the project could look it up.
Another way would be to have your perl script interface directly with some
kind of commercial "phone-caller" software, but that's maybe not the best
way to solve this.

--
T.


Thread Previous | Thread Next


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