I don't think you can start more then one Skype instance of same Skype ID from a single machine. You can either login with same Skype ID on two (or more different machines) or use two (or more) different Skype IDs on same machine.<br>
<br>Thank you.<br><br><br><div class="gmail_quote">On Mon, Jun 15, 2009 at 8:29 AM, Jingwei Yang <span dir="ltr"><<a href="mailto:jingwei.yang@gmail.com">jingwei.yang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Team,<br><br>As the subject indicates, is there a possible way to do that?<br><br>I've tried setting up two different skype instances with the same id in /usr/src/freeswitch/src/mod/endpoints/mod_skypiax/configs/2startskype.sh<br>
<br> /usr/bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &<br> su root -c "/bin/echo '<b><span style="color: rgb(153, 0, 0);">userAAA</span></b> aaa'| DISPLAY=:101 /usr/bin/skype --pipelogin &"<br>
<br> /usr/bin/Xvfb :102 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &<br> su root -c "/bin/echo '<b style="color: rgb(153, 0, 0);">userAAA </b>aaa'| DISPLAY=:102 /usr/bin/skype --pipelogin &"<br>
<br>The script can be run without any error and when I executed the ps command, I noticed there's only one skype process up. This is strange since normally there will be two (with two different ids)<br><br> 3782 pts/1 00:00:00 Xvfb<br>
3793 pts/1 00:00:00 dbus-launch<br> 3800 pts/1 00:00:04 Xvfb<br> 3805 pts/1 00:00:03 <b><span style="color: rgb(153, 0, 0);">skype</span></b><br> 3811 pts/1 00:00:00 dbus-launch<br><br>Then I started freeswitch and hit an error when loading mod_skypiax:<br>
<br><div style="margin-left: 40px;"><i>freeswitch@localhost.localdomain> load mod_skypiax<br>2009-06-15 10:00:52 [WARNING] mod_skypiax.c:950 load_config() rev 13600[(nil)|37 ][WARNINGA 950 ][skypiax1 ][-1, 0, 0] STARTING interface_id=1<br>
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37 ][ERRORA 1184 ][none ][-1,-1,-1] Received error code 3 from X Server<br><br>2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37 ][ERRORA 1251 ][none ][-1,-1,-1] Sending message failed with status 3<br>
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37 ][ERRORA 1184 ][none ][-1,-1,-1] Received error code 3 from X Server<br><br>2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37 ][ERRORA 1251 ][none ][-1,-1,-1] Sending message failed with status 3<br>
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:976 load_config() rev 13600[(nil)|37 ][NOTICA 976 ][skypiax1 ][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1<br>
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:986 load_config() rev 13600[(nil)|37 ][NOTICA 986 ][skypiax1 ][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==userAAA<br>
API CALL [load(mod_skypiax)] output:<br>-ERR [module load file routine returned an error]<br><br>2009-06-15 10:00:53 [ERR] mod_skypiax.c:1010 load_config() rev 13600[(nil)|37 ][ERRORA 1010 ][skypiax1 ][-1, 0, 0] <span style="color: rgb(153, 0, 0);">The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=userAAA</span>, interface_id=1 FAILED to start. <span style="color: rgb(153, 0, 0);">No Skype client logged in as 'userAAA' has been found</span>. Please (re)launch a Skype client logged in as 'userAAA'. Skypiax exiting now<br>
2009-06-15 10:00:53 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_skypiax.so<br>**Module load routine returned an error**<br><br></i></div>Please enlighten whether it's possible to start multiple skype instances with the same skype id. If possible, what are the correct configs?<br>
<br>Thanks,<br><font color="#888888">-Jingwei<br> <br>
</font><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>CISCO Certified Network Associate (CCNA)<br>Cell: +92 334 422 40 88<br>
MSN: <a href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>