Navigation
The Interconnect-Bot created by dafoxia is based on Mumble-Ruby and uses the new ability to receive sound, see here.
This howto was created using a Debian 7 “Wheezy”.
We want to connect two channels of two different Mumble servers with the Interconnect-Bot. The bot works both on servers using the CELT and Opus.
The sound in this video was recorded on server2.
https://files.natenom.com/nidx/shv/mumble/2014-08_demo_interconnectbot-dafoxia.mp4
apt-get install curl libyaml-dev git libopus-dev build-essential zlib1g zlib1g-dev
adduser interconnect
su - interconnect
All following commands are executed as the user interconnect.
cd curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm autolibs disable rvm install 2.1.1 rvm --create use @interconnect
cd git clone https://github.com/dafoxia/opus-ruby.git cd opus-ruby/ rvm use @interconnect gem build opus-ruby.gemspec rvm @interconnect do gem install opus-ruby-*.gem cd ..
One must use the repository from dafoxia because the original repository doesn't have a decoder.
cd git clone https://github.com/dafoxia/celt-ruby.git cd celt-ruby/ rvm use @interconnect gem build celt-ruby.gemspec rvm @interconnect do gem install celt-ruby-*.gem cd ..
One must use the repository from dafoxia…
cd git clone https://github.com/dafoxia/mumble-ruby.git cd mumble-ruby rvm use @interconnect gem build mumble-ruby.gemspec rvm @interconnect do gem install mumble-ruby-*.gem cd ..
This collection contains Interconnect-Bot that we need.
cd git clone https://github.com/dafoxia/rumble-bots.git cd rumble-bots rvm use @interconnect
Edit the file Interconnect.rb in the directory ~/rumble-bots.
At the end of the file you find the settings, which you can change as following to interconnect dafoxia´s and Natenoms server.
#---------------------------------------------------------- # connection configuation #---------------------------------------------------------- @server1_name = "soa.chickenkiller.com" @server1_port = 64739 @server1_bitrate = 72000 @server1_channel = "Interconnect Room" @server1_awaychan = "Interconnect Away" @server1_time2away = 20 @server1_time2disconnect = 50 @server1_BotName = "IC_Server1" @server2_name = "mumble.natenom.com" @server2_port = 64738 @server2_bitrate = 72000 @server2_channel = "Interconnect Room" @server2_awaychan = "Interconnect Away" @server2_time2away = 20 @server2_time2disconnect = 50 @server2_BotName = "IC_Server2" #---------------------------------------------------------- # ensure that all names are allowed on the server and # all channels exists! # otherwise the bot will stutter or stop to work! #----------------------------------------------------------
cd cd rumble-bots rvm use @interconnect ruby Interconnect.rb
After the next login one must run the first line again in order to establish the neccessary environment for the bot.
Here you can find an alternative setup for two normal Mumble clients which is much more complicated :P