<div dir="ltr">use the "<a href="http://installer.pl">installer.pl</a>" as instructed in the wiki page. It will do all things automatically, you don't need to do anything special<div><br></div><div>-giovanni</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 1:56 PM, Danny Iland <span dir="ltr"><<a href="mailto:iland@cs.ucsb.edu" target="_blank">iland@cs.ucsb.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>When I load mod_skypopen in freeswitch, after running ./start_skype_clients.sh, I get a message that 'No Skype client logged in as 'user' has been found'.</div>
<div><br></div><div>I followed the Wiki install on Ubuntu 12 x64, then launched per the wiki's instructions. I have connected to the Skype client as each user via ssh -X to give skypopen API permissions in Skype, following README.skypopen_auth. I would appreciate a bit of clarification with regards to where mod_skypopen looks for each user's Skype config files, and what needs to be where in the .Skype directory. It would be particularly nice to see a file tree of a multi-user skypopen install's .Skype directory.</div>
<div><br></div><div><div>I have checked all the obvious problems I could think of before coming to the list. Obviously I have set my own usernames and passwords in start_skype_clients.sh and usernames in skypopen.conf.xml</div>
<div><br></div><div>Below is a log of the behavior. The second is to show that Skype is running, along with Xvfb.</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thanks,</div><div>Danny Iland</div>
<div>Graduate Student Researcher, University of California Santa Barbara</div><div><a href="mailto:iland@cs.ucsb.edu" target="_blank">iland@cs.ucsb.edu</a></div><div><br></div><div><br></div><div><br></div><div>./start_skype_clients.sh</div>
</div><div>[snip]</div><div>freeswitch</div><div><br></div><div><div>freeswitch@g> log level 9</div><div><br></div><div>+OK</div><div><br></div><div>freeswitch@g> load mod_skypopen</div><div>2013-08-22 05:02:15.023031 [INFO] mod_enum.c:876 ENUM Reloaded</div>
<div>2013-08-22 05:02:15.023031 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions</div><div>2013-08-22 05:02:15.043058 [WARNING] mod_skypopen.c:1762 [543dc3c|22dd4bf] [WARNINGA 1762 ][skype101 ][IDLE,IDLE] STARTING interface_id=1</div>
<div>2013-08-22 05:02:15.243058 [NOTICE] mod_skypopen.c:1791 [543dc3c|22dd4bf] [NOTICA 1791 ][skype101 ][IDLE,IDLE] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1</div>
<div>2013-08-22 05:02:15.243058 [NOTICE] mod_skypopen.c:1800 [543dc3c|22dd4bf] [NOTICA 1800 ][skype101 ][IDLE,IDLE] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==user</div>
<div>2013-08-22 05:03:15.283035 [ERR] mod_skypopen.c:1841 [543dc3c|22dd4bf] [ERRORA 1841 ][skype101 ][IDLE,IDLE] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=user, interface_id=1 FAILED to start. No Skype client logged in as 'user' has been found. Please (re)launch a Skype client logged in as 'user'. Skypopen exiting now</div>
<div><br></div><div>+OK Reloading XML</div><div>-ERR [module load file routine returned an error]</div><div><br></div><div>2013-08-22 05:03:16.283037 [CRIT] switch_loadable_module.c:1383 Error Loading module /usr/lib/freeswitch/mod/mod_skypopen.so</div>
<div>**Module load routine returned an error**</div><div><br></div><div># ps -aAl | grep Xvfb</div><div>0 S 0 3264 1 0 80 0 - 40832 poll_s pts/4 00:00:00 Xvfb</div><div>0 S 0 3298 1 0 80 0 - 40833 poll_s pts/4 00:00:00 Xvfb</div>
<div>0 S 0 3330 1 0 80 0 - 40830 poll_s pts/4 00:00:00 Xvfb</div><div><br></div><div># ps -aAl | grep skype</div><div>4 S 0 3283 1 0 80 0 - 14469 poll_s ? 00:00:00 skype101</div><div>4 S 0 3317 1 0 80 0 - 14469 poll_s ? 00:00:00 skype102</div>
<div>4 S 0 3349 1 0 80 0 - 14451 poll_s ? 00:00:00 skype103</div><div><br></div><div><br></div><div><snip>kill them all</snip></div><div><br></div><div>root@g:~# ps -aAl | grep skype</div>
<div>
root@g:~# ps -aAl | grep Xvfb</div><div>root@g:~# ps -aAl | grep free</div><div>root@g:~# </div><div><br></div><div><br></div><div><br></div><div># ./start_skype_clients.sh</div><div># freeswitch</div><div><br></div><div>
freeswitch@g> log level 9</div><div><br></div><div>+OK</div><div>freeswitch@gnuradio08> load mod_skypopen</div><div>2013-08-22 05:12:15.803041 [INFO] mod_enum.c:876 ENUM Reloaded</div><div>2013-08-22 05:12:15.803041 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions</div>
<div>2013-08-22 05:12:15.823035 [WARNING] mod_skypopen.c:1762 [543dc3c|22dd4bf] [WARNINGA 1762 ][skype101 ][IDLE,IDLE] STARTING interface_id=1</div><div>2013-08-22 05:12:16.023032 [NOTICE] mod_skypopen.c:1791 [543dc3c|22dd4bf] [NOTICA 1791 ][skype101 ][IDLE,IDLE] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1</div>
<div>2013-08-22 05:12:16.023032 [NOTICE] mod_skypopen.c:1800 [543dc3c|22dd4bf] [NOTICA 1800 ][skype101 ][IDLE,IDLE] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==dannyiland</div>
<div>2013-08-22 05:13:16.063035 [ERR] mod_skypopen.c:1841 [543dc3c|22dd4bf] [ERRORA 1841 ][skype101 ][IDLE,IDLE] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=user, interface_id=1 FAILED to start. No Skype client logged in as 'user' has been found. Please (re)launch a Skype client logged in as 'user'. Skypopen exiting now</div>
<div><br></div><div>+OK Reloading XML</div><div>-ERR [module load file routine returned an error]</div><div><br></div><div>2013-08-22 05:13:17.063036 [CRIT] switch_loadable_module.c:1383 Error Loading module /usr/lib/freeswitch/mod/mod_skypopen.so</div>
<div>**Module load routine returned an error**</div><div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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"><div><br></div>-- <br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br>
</div>