T
T
TomasHuk2016-02-09 12:53:31
Python
TomasHuk, 2016-02-09 12:53:31

How to call a phone using python?

What ways do you know to call (just dial, without speaking) a phone number?
Perhaps through the API of some service?
Ideally, reduce everything to a function:
call_phone('+3809511122233')
Will run on a machine with Win7, python 3.3.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Ashot Ogoltsov, 2016-02-09
@Prenom

I didn’t meet any services, I implemented a modem with a SIM card with the help (my need was in SMS).

A
Alexander Mustafin, 2016-02-09
@sashker

It is important to understand here, are you interested in such an opportunity "in a vacuum" or do you need to send a real call?
I recommend not to bother with sending a call from "pure" python - there are utilities such as sipp and sipsak - they allow you to send a call from the command line, you can write a python binding for them if you like.
If you need to send a real call, then it's easier to use the click-to-call services of operators that work via http, as a rule. Accordingly, python can also be used for them.

A
Andrey K, 2016-02-09
@mututunus

https://www.twilio.com/
https://www.nexmo.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question