views:

284

answers:

3

I'm writting a small python program to send voice file to other telephone. The phone is connected to pc over usb. How to make phone calls using Python?

+1  A: 

Micromedia Jericho is a commercial product running on Ms Windows which has this capability. It manages several types of modems and make possible to send wav file over a phone call. It also support "Text to speech" converting a text to a wave file.

It has a C API that can be accessed by Python thanks to ctypes.

I don't know if it can be a solution for you.

I hope it helps

luc
A: 

You could probably use the pyusb library.

codeape
+1  A: 

I think the smart way is to leave it a professional Voice/IP app such as ribbit or Twilio. I would personally recommend twilio which has Python libraries

ramdaz