diff --git a/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/README b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/README new file mode 100644 index 0000000000..0b939bc3ca --- /dev/null +++ b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/README @@ -0,0 +1,6 @@ +# execute both of the files, they give you 10 interfaces each (look for the "exit 0" line) +# then use the skypiax.conf here to manage the 20 interfaces + +sh ./multi.sh +sh ./multi2.sh + diff --git a/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/multi.sh b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/multi.sh new file mode 100644 index 0000000000..6411744291 --- /dev/null +++ b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/multi.sh @@ -0,0 +1,145 @@ +# 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 + +# 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 +sleep 3 + +#start the fake X server on a given port + /usr/bin/Xvfb :101 -ac & +sleep 3 + +# 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 --dbpath=/root/multi/skypiax101 --pipelogin &" + + +sleep 7 + + + /usr/bin/Xvfb :102 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:102 /usr/bin/skype --dbpath=/root/multi/skypiax102 --pipelogin &" + +sleep 7 + + +################################################################# +# Following X server Skype client instances are commented out +################################################################# + /usr/bin/Xvfb :103 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:103 /usr/bin/skype --dbpath=/root/multi/skypiax103 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :104 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:104 /usr/bin/skype --dbpath=/root/multi/skypiax104 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :105 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:105 /usr/bin/skype --dbpath=/root/multi/skypiax105 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :106 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:106 /usr/bin/skype --dbpath=/root/multi/skypiax106 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :107 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:107 /usr/bin/skype --dbpath=/root/multi/skypiax107 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :108 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:108 /usr/bin/skype --dbpath=/root/multi/skypiax108 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :109 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:109 /usr/bin/skype --dbpath=/root/multi/skypiax109 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :110 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:110 /usr/bin/skype --dbpath=/root/multi/skypiax110 --pipelogin &" + +sleep 7 + +exit 0 + + /usr/bin/Xvfb :111 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:111 /usr/bin/skype --dbpath=/root/multi/skypiax111 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :112 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:112 /usr/bin/skype --dbpath=/root/multi/skypiax112 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :113 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:113 /usr/bin/skype --dbpath=/root/multi/skypiax113 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :114 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:114 /usr/bin/skype --dbpath=/root/multi/skypiax114 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :115 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:115 /usr/bin/skype --dbpath=/root/multi/skypiax115 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :116 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:116 /usr/bin/skype --dbpath=/root/multi/skypiax116 --pipelogin &" + +sleep 7 + + /usr/bin/Xvfb :117 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:117 /usr/bin/skype --dbpath=/root/multi/skypiax117 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :118 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:118 /usr/bin/skype --dbpath=/root/multi/skypiax118 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :119 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:119 /usr/bin/skype --dbpath=/root/multi/skypiax119 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :120 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax1 xxxx'| DISPLAY=:120 /usr/bin/skype --dbpath=/root/multi/skypiax120 --pipelogin &" + +sleep 7 + diff --git a/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/multi2.sh b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/multi2.sh new file mode 100644 index 0000000000..5db06d4d3f --- /dev/null +++ b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/multi2.sh @@ -0,0 +1,135 @@ + +#start the fake X server on a given port + /usr/bin/Xvfb :121 -ac & +sleep 3 + +# 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 skypiax2 the username +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:121 /usr/bin/skype --dbpath=/root/multi/skypiax121 --pipelogin &" + + +sleep 7 + + + /usr/bin/Xvfb :122 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:122 /usr/bin/skype --dbpath=/root/multi/skypiax122 --pipelogin &" + +sleep 7 + + +################################################################# +# Following X server Skype client instances are commented out +################################################################# + /usr/bin/Xvfb :123 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:123 /usr/bin/skype --dbpath=/root/multi/skypiax123 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :124 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:124 /usr/bin/skype --dbpath=/root/multi/skypiax124 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :125 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:125 /usr/bin/skype --dbpath=/root/multi/skypiax125 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :126 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:126 /usr/bin/skype --dbpath=/root/multi/skypiax126 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :127 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:127 /usr/bin/skype --dbpath=/root/multi/skypiax127 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :128 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:128 /usr/bin/skype --dbpath=/root/multi/skypiax128 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :129 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:129 /usr/bin/skype --dbpath=/root/multi/skypiax129 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :130 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:130 /usr/bin/skype --dbpath=/root/multi/skypiax130 --pipelogin &" + +sleep 7 + +exit 0 + + /usr/bin/Xvfb :131 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:131 /usr/bin/skype --dbpath=/root/multi/skypiax131 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :132 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:132 /usr/bin/skype --dbpath=/root/multi/skypiax132 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :133 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:133 /usr/bin/skype --dbpath=/root/multi/skypiax133 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :134 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:134 /usr/bin/skype --dbpath=/root/multi/skypiax134 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :135 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:135 /usr/bin/skype --dbpath=/root/multi/skypiax135 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :136 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:136 /usr/bin/skype --dbpath=/root/multi/skypiax136 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :137 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:137 /usr/bin/skype --dbpath=/root/multi/skypiax137 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :138 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:138 /usr/bin/skype --dbpath=/root/multi/skypiax138 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :139 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:139 /usr/bin/skype --dbpath=/root/multi/skypiax139 --pipelogin &" + +sleep 7 + /usr/bin/Xvfb :140 -ac & +sleep 3 + +su root -c "/bin/echo 'skypiax2 xxxx'| DISPLAY=:140 /usr/bin/skype --dbpath=/root/multi/skypiax140 --pipelogin &" + +sleep 7 + diff --git a/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/skypiax.conf.xml b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/skypiax.conf.xml new file mode 100644 index 0000000000..6f57f26bc0 --- /dev/null +++ b/src/mod/endpoints/mod_skypiax/configs/multiple-instance-same-skype-username/skypiax.conf.xml @@ -0,0 +1,418 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +