Skype bot for voice conferencing

Probably, some remember the Skype Casts service - public voice conferences, where everyone could create a conference that was announced on skype.com. In 2008, the service was closed.
Today, the only way to host a conference is to keep the Skype client running.
This is not convenient, because the person who "holds" the conference call cannot accept the incoming call, otherwise the conference will be put on hold and no one will be able to communicate in it. If the host has problems with the Internet, the connection goes bad for everyone.
In addition, hosting a call in which 10-15 participants significantly loads the computer.
We tried to solve this problem by keeping Skype running on a Windows server. To prevent the call from breaking when all the participants hang up, they had to launch two copies of the client and keep the second one as a conference participant.
But such a scheme is not very stable, after 3-5 days one of the clients crashes and the call ends. Each had to manually lift it.
And finally, it was possible to find a stable and simple solution based on skypekit that allows you to:
Keep a call constantly using one copy of skypekit.
If all conference participants hang up, the call restarts as / golive Host a
bot on a Linux server without Xs .
The desktop client requires an X server to run. Skypekit can be run without it, even on VPS.
Available for all Windows / Linux / Mac platforms.
Manage the bot through chat commands. The
bot can differentiate access rights, distinguish between commands sent from the main chat of the conference and other chats.
If desired, you can write an analog irc-shny eggdrop.
1) Download skypekit
developer.skype.com
It costs $ 5. If you feel sorry for the money, I can share mine.
We compile stubs for video and sound. this is a little non-obvious process, so you can ask along the way).
2) Take skypebot.py from here github.com/zhovner/skypebot
and put it in {skypekit_dir} / examples / python / tutorial /
3) Edit skypebot.py It is
assumed that you already have a conference created in which the bot will be added.
It is impossible for the bot account to be the creator of the conference. The / get creator command entered in the conference chat will return the creator login.
On line 38, you must insert the conference ID. To get it you need to enter / get name in the conference chat.
The command returns the following string name = # skypename1 / $ skypename2; c7cddqc19522bab3
In the script, the string must be added in the following form:
conferenceID = '#skypename1/$skypename2;c7cddqc19522bab3'
In the Admins list (line 43), you can list the logins of those who can control the bot.
4) Run the whole structure
# заглушка видео (в моем случае)
{skypekit_dir}/skypekit/reference/videortphost-loopback/build/videortphost-loopback
# сам skypekit
{skypekit_dir}/bin/linux-x86/linux-x86-skypekit-videortp
# бот (логин пароль от аккаунта передается через аргументы при запуске)
{skypekit_dir}/examples/python/tutorial/skypebot.py botskypename password
Now the bot will keep the call constantly.
Chat commands:!
Down - stop holding the call
! Up - resume the call
Attention!
The young guy will urgently meet with a more experienced Python programmer for a serious relationship in the context of improving the bot, because my skills are clearly not enough. In the future, you can make a full-fledged analogue of the eggdrop bot or an analogue of the SkypeCast service.




