[Tutor] A Telephony Question

Lloyd Kvam pythontutor@venix.com
Mon Jul 14 10:13:03 2003


I can't address using TAPI.  If you are using a simple pager service
where the pager message is numbers typed using touch tones, then this
approach may be OK (I used it years ago with a Perl script).

The modem is a comm (serial) device.  Open the COM port and send
ATDT<phone number>,,,,,,<each comma forces a pause><number for message>
then send
ATH0<hang up>

Most modems support a command stream along these lines.

Paul Tremblay wrote:

> I've been using python for a while and love it.. I've seen it and used
> it with IBM's (now Apache's) BSF and done numerous console programs...
> 
> The problem is this, I can't seem to find a telepohony example
> anywhere. I need to dial someone and page them if an Internet
> connection goes down and maybe I'm being an idiot, but if someone
> could point me in the right direction that would be great. This would
> be a windoze system, so maybe a python and TAPI example would be
> huge (btw, I'm not a windowz programmer, but this has to be done on
> one).
> 
> Thanks,
> 
> Andrew
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:	603-443-6155
fax:	801-459-9582