skypiax: updated config files and skype clients starting script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14338 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
21a2cd5b41
commit
c039086b5b
|
@ -1,14 +1,11 @@
|
|||
//gcc -Wall -ggdb client.c -o client -lX11 -lpthread
|
||||
/*
|
||||
USAGE:
|
||||
|
||||
Interactive client for the Skype API
|
||||
|
||||
on skype_client_machine:
|
||||
# mknod /tmp/backpipe_103 p
|
||||
# ./client :103 0</tmp/backpipe_103 | nc -l -p 123456 | tee 1>/tmp/backpipe_103
|
||||
USAGE: client [Xserver instance]
|
||||
|
||||
on skypiax server machine (please compile skypiax_protocol.c with FARMING #defined):
|
||||
# mknod /tmp/backpipe_103 p
|
||||
# /usr/local/freeswitch/bin/freeswitch -nf -nc 0</tmp/backpipe_103 | nc 1.124.232.41 123456 | tee 1>/tmp/backpipe_103
|
||||
# ./client :103
|
||||
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,136 +1,140 @@
|
|||
# remember to add here the removing of all the installed snd-* modules, so you're sure only the snd-dummy driver will be around
|
||||
rmmod snd_hda_intel
|
||||
rmmod snd-dummy
|
||||
|
||||
# you need three dummy soundcard for 20 Skype client instances, because each dummy soundcard can handle a max of 8 Skype instances
|
||||
# if you DO NOT USE the custom ALSA device we provide, you need three "standard" dummy soundcard for 20 Skype client instances, because each "standard" dummy soundcard can handle a max of 8 Skype instances
|
||||
# the enable= module parameter tells how many cards to start. For each additional card, add a comma and a 1
|
||||
# manually configure the first 8 Skype client instances to use the hw:Dummy_0, the next 8 instances to use hw:Dummy_1, etc for all three devices (Play, Capture, Ring)
|
||||
modprobe snd-dummy enable=1,1,1
|
||||
modprobe snd-dummy # enable=1,1,1
|
||||
sleep 3
|
||||
|
||||
#start the fake X server on a given port
|
||||
/usr/bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
/usr/bin/Xvfb :101 -ac &
|
||||
sleep 3
|
||||
|
||||
# as user "unixusername", start a Skype client instance that will connect to the X server above, and will login to the Skype network using the 'username password' you send to it on stdin. Here xxx would be the Skype password and skypiax1 the Skype username. Please note that the ".Skypiax" directory containing the Skype clients configurations MUST be in the home directory of the "unixusername" user.
|
||||
su unixusername -c "/bin/echo 'skypiax1 xxx'| DISPLAY=:101 /usr/bin/skype --pipelogin &"
|
||||
# start a Skype client instance that will connect to the X server above, and will login to the Skype network using the 'username password' you send to it on stdin. Here xxxx would be the password and skypiax1 the username
|
||||
su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:101 /usr/bin/skype --pipelogin &"
|
||||
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :102 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
|
||||
|
||||
/usr/bin/Xvfb :102 -ac &
|
||||
sleep 3
|
||||
|
||||
su unixusername -c "/bin/echo 'skypiax2 xxx'| DISPLAY=:102 /usr/bin/skype --pipelogin &"
|
||||
su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:102 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
|
||||
#################################################################
|
||||
# Following X server Skype client instances are commented out
|
||||
#################################################################
|
||||
###/usr/bin/Xvfb :103 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax3 xxx'| DISPLAY=:103 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :104 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax4 xxx'| DISPLAY=:104 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :105 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax5 xxx'| DISPLAY=:105 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :106 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax6 xxx'| DISPLAY=:106 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :107 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax7 xxx'| DISPLAY=:107 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :108 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax8 xxx'| DISPLAY=:108 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :109 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax9 xxx'| DISPLAY=:109 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :110 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax10 xxx'| DISPLAY=:110 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :111 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax11 xxx'| DISPLAY=:111 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :112 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax12 xxx'| DISPLAY=:112 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :113 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax13 xxx'| DISPLAY=:113 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :114 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax14 xxx'| DISPLAY=:114 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :115 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax15 xxx'| DISPLAY=:115 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :116 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax16 xxx'| DISPLAY=:116 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :117 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax17 xxx'| DISPLAY=:117 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :118 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax18 xxx'| DISPLAY=:118 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :119 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax19 xxx'| DISPLAY=:119 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###/usr/bin/Xvfb :120 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
|
||||
###sleep 3
|
||||
###
|
||||
###su unixusername -c "/bin/echo 'skypiax20 xxx'| DISPLAY=:120 /usr/bin/skype --pipelogin &"
|
||||
###
|
||||
###sleep 7
|
||||
###
|
||||
/usr/bin/Xvfb :103 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax3 xxxx'| DISPLAY=:103 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :104 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax4 xxxx'| DISPLAY=:104 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :105 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax5 xxxx'| DISPLAY=:105 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :106 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax6 xxxx'| DISPLAY=:106 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :107 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax7 xxxx'| DISPLAY=:107 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :108 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax8 xxxx'| DISPLAY=:108 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :109 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax9 xxxx'| DISPLAY=:109 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :110 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax10 xxxx'| DISPLAY=:110 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :111 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax11 xxxx'| DISPLAY=:111 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :112 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax12 xxxx'| DISPLAY=:112 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :113 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax13 xxxx'| DISPLAY=:113 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :114 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax14 xxxx'| DISPLAY=:114 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :115 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax15 xxxx'| DISPLAY=:115 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :116 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax16 xxxx'| DISPLAY=:116 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :117 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax17 xxxx'| DISPLAY=:117 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :118 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax18 xxxx'| DISPLAY=:118 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :119 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax19 xxxx'| DISPLAY=:119 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
/usr/bin/Xvfb :120 -ac &
|
||||
sleep 3
|
||||
|
||||
su root -c "/bin/echo 'skypiax20 xxxx'| DISPLAY=:120 /usr/bin/skype --pipelogin &"
|
||||
|
||||
sleep 7
|
||||
|
||||
|
|
Loading…
Reference in New Issue