<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][14338] </title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=14338">14338</a></dd>
<dt>Author</dt> <dd>gmaruzz</dd>
<dt>Date</dt> <dd>2009-07-24 08:31:19 -0500 (Fri, 24 Jul 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>skypiax: updated config files and skype clients starting script</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchtrunksrcmodendpointsmod_skypiaxconfigsclientc">freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/client.c</a></li>
<li><a href="#freeswitchtrunksrcmodendpointsmod_skypiaxconfigsstartskypesh">freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/startskype.sh</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchtrunksrcmodendpointsmod_skypiaxconfigsclientc"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/client.c (14337 => 14338)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/client.c        2009-07-24 13:22:43 UTC (rev 14337)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/client.c        2009-07-24 13:31:19 UTC (rev 14338)
</span><span class="lines">@@ -1,14 +1,11 @@
</span><span class="cx"> //gcc -Wall -ggdb client.c -o client -lX11 -lpthread
</span><span class="cx"> /*
</span><del>-USAGE:
</del><ins>+   
+   Interactive client for the Skype API 
</ins><span class="cx"> 
</span><del>-on skype_client_machine:
-# mknod /tmp/backpipe_103 p
-# ./client :103  0&lt;/tmp/backpipe_103 | nc -l -p 123456 | tee 1&gt;/tmp/backpipe_103
</del><ins>+USAGE: client [Xserver instance]
</ins><span class="cx"> 
</span><del>-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&lt;/tmp/backpipe_103 | nc 1.124.232.41 123456 | tee 1&gt;/tmp/backpipe_103
</del><ins>+# ./client :103 
</ins><span class="cx"> 
</span><span class="cx"> */
</span><span class="cx"> 
</span></span></pre></div>
<a id="freeswitchtrunksrcmodendpointsmod_skypiaxconfigsstartskypesh"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/startskype.sh (14337 => 14338)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/startskype.sh        2009-07-24 13:22:43 UTC (rev 14337)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/configs/startskype.sh        2009-07-24 13:31:19 UTC (rev 14338)
</span><span class="lines">@@ -1,136 +1,140 @@
</span><span class="cx"> # remember to add here the removing of all the installed snd-* modules, so you're sure only the snd-dummy driver will be around
</span><span class="cx"> rmmod snd_hda_intel
</span><ins>+rmmod snd-dummy 
</ins><span class="cx"> 
</span><del>-# you need three dummy soundcard for 20 Skype client instances, because each dummy soundcard can handle a max of 8 Skype instances
</del><ins>+# if you DO NOT USE the custom ALSA device we provide, you need three &quot;standard&quot; dummy soundcard for 20 Skype client instances, because each &quot;standard&quot; dummy soundcard can handle a max of 8 Skype instances
</ins><span class="cx"> # the enable= module parameter tells how many cards to start. For each additional card, add a comma and a 1
</span><span class="cx"> # 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)
</span><del>-modprobe snd-dummy enable=1,1,1
</del><ins>+modprobe snd-dummy # enable=1,1,1
</ins><span class="cx"> sleep 3
</span><span class="cx"> 
</span><span class="cx"> #start the fake X server on a given port
</span><del>-/usr/bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
</del><ins>+ /usr/bin/Xvfb :101 -ac &amp;
</ins><span class="cx"> sleep 3
</span><span class="cx"> 
</span><del>-# as user &quot;unixusername&quot;, 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 &quot;.Skypiax&quot; directory containing the Skype clients configurations MUST be in the home directory of the &quot;unixusername&quot; user.
-su unixusername -c &quot;/bin/echo 'skypiax1 xxx'| DISPLAY=:101 /usr/bin/skype --pipelogin &amp;&quot;
</del><ins>+# 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 &quot;/bin/echo 'skypiax1 xxxx'| DISPLAY=:101  /usr/bin/skype --pipelogin &amp;&quot;
</ins><span class="cx"> 
</span><ins>+
</ins><span class="cx"> sleep 7
</span><del>-/usr/bin/Xvfb :102 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
</del><ins>+
+
+ /usr/bin/Xvfb :102 -ac &amp; 
</ins><span class="cx"> sleep 3
</span><span class="cx"> 
</span><del>-su unixusername -c &quot;/bin/echo 'skypiax2 xxx'| DISPLAY=:102 /usr/bin/skype --pipelogin &amp;&quot;
</del><ins>+su root -c &quot;/bin/echo 'skypiax2 xxxx'| DISPLAY=:102  /usr/bin/skype --pipelogin &amp;&quot;
</ins><span class="cx"> 
</span><span class="cx"> sleep 7
</span><span class="cx"> 
</span><span class="cx"> #################################################################
</span><span class="cx"> # Following X server Skype client instances are commented out
</span><span class="cx"> #################################################################
</span><del>-###/usr/bin/Xvfb :103 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax3 xxx'| DISPLAY=:103 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :104 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax4 xxx'| DISPLAY=:104 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :105 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax5 xxx'| DISPLAY=:105 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :106 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax6 xxx'| DISPLAY=:106 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :107 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax7 xxx'| DISPLAY=:107 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :108 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax8 xxx'| DISPLAY=:108 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :109 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax9 xxx'| DISPLAY=:109 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :110 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax10 xxx'| DISPLAY=:110 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :111 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax11 xxx'| DISPLAY=:111 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :112 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax12 xxx'| DISPLAY=:112 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :113 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax13 xxx'| DISPLAY=:113 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :114 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax14 xxx'| DISPLAY=:114 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :115 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax15 xxx'| DISPLAY=:115 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :116 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax16 xxx'| DISPLAY=:116 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :117 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax17 xxx'| DISPLAY=:117 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :118 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax18 xxx'| DISPLAY=:118 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :119 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax19 xxx'| DISPLAY=:119 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###/usr/bin/Xvfb :120 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &amp;
-###sleep 3
-###
-###su unixusername -c &quot;/bin/echo 'skypiax20 xxx'| DISPLAY=:120 /usr/bin/skype --pipelogin &amp;&quot;
-###
-###sleep 7
-###
</del><ins>+ /usr/bin/Xvfb :103 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax3 xxxx'| DISPLAY=:103  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :104 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax4 xxxx'| DISPLAY=:104  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :105 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax5 xxxx'| DISPLAY=:105  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :106 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax6 xxxx'| DISPLAY=:106  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :107 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax7 xxxx'| DISPLAY=:107  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :108 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax8 xxxx'| DISPLAY=:108  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :109 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax9 xxxx'| DISPLAY=:109  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :110 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax10 xxxx'| DISPLAY=:110  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :111 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax11 xxxx'| DISPLAY=:111  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :112 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax12 xxxx'| DISPLAY=:112  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :113 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax13 xxxx'| DISPLAY=:113  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :114 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax14 xxxx'| DISPLAY=:114  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :115 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax15 xxxx'| DISPLAY=:115  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :116 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax16 xxxx'| DISPLAY=:116  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :117 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax17 xxxx'| DISPLAY=:117  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :118 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax18 xxxx'| DISPLAY=:118  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :119 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax19 xxxx'| DISPLAY=:119  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+ /usr/bin/Xvfb :120 -ac &amp; 
+sleep 3
+
+su root -c &quot;/bin/echo 'skypiax20 xxxx'| DISPLAY=:120  /usr/bin/skype --pipelogin &amp;&quot;
+
+sleep 7
+
</ins></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>

</body>
</html>