K
K
Krabs902021-09-01 21:53:48
Python
Krabs90, 2021-09-01 21:53:48

How to write a phone bot for discord?

Greetings! There was such a question, I want to write a discord bot that could call through the voip numbers of providers, moreover, it would be possible to communicate with a person directly from the discord. It is interesting exactly how it works, and specifically, the transfer of my voice from the discord to the called subscriber on the phone, and vice versa, the transfer of his voice and playback in the discord, I want to organize a full-fledged session, as with a normal call from phone to phone, but understanding how to do this on I don't have a python. I would like to ask just a few instructions in which direction to dig, and what to read. Thanks to.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Volodymyr Palamar, 2021-09-01
@Krabs90

Using api, for example, this is
https://github.com/discordjs/voice
You receive the sound of the ego via the SIP protocol , it sends it to a virtual PBX as an example of Zadarm and vice versa.
In words, it’s simple, but you will need to sweat over the implementation. You may have to do recoding or something else on your server side
** https://github.com/NeuroWhAI/dicovoice-bot/blob/ma...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question