[Freeswitch-users] Mod_skypopen ' No Skype client logged in as 'user' has been found'

Danny Iland iland at cs.ucsb.edu
Thu Aug 22 15:56:53 MSD 2013


Hi,

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'.

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.

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

Below is a log of the behavior. The second is to show that Skype is
running, along with Xvfb.

Any help is appreciated.

Thanks,
Danny Iland
Graduate Student Researcher, University of California Santa Barbara
iland at cs.ucsb.edu



./start_skype_clients.sh
[snip]
freeswitch

freeswitch at g> log level 9

+OK

freeswitch at g> load mod_skypopen
2013-08-22 05:02:15.023031 [INFO] mod_enum.c:876 ENUM Reloaded
2013-08-22 05:02:15.023031 [INFO] switch_time.c:1191 Timezone reloaded 530
definitions
2013-08-22 05:02:15.043058 [WARNING] mod_skypopen.c:1762
[543dc3c|22dd4bf] [WARNINGA     1762 ][skype101       ][IDLE,IDLE] STARTING
interface_id=1
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
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
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

+OK Reloading XML
-ERR [module load file routine returned an error]

2013-08-22 05:03:16.283037 [CRIT] switch_loadable_module.c:1383 Error
Loading module /usr/lib/freeswitch/mod/mod_skypopen.so
**Module load routine returned an error**

# ps -aAl | grep Xvfb
0 S     0  3264     1  0  80   0 - 40832 poll_s pts/4    00:00:00 Xvfb
0 S     0  3298     1  0  80   0 - 40833 poll_s pts/4    00:00:00 Xvfb
0 S     0  3330     1  0  80   0 - 40830 poll_s pts/4    00:00:00 Xvfb

# ps -aAl | grep skype
4 S     0  3283     1  0  80   0 - 14469 poll_s ?        00:00:00 skype101
4 S     0  3317     1  0  80   0 - 14469 poll_s ?        00:00:00 skype102
4 S     0  3349     1  0  80   0 - 14451 poll_s ?        00:00:00 skype103


<snip>kill them all</snip>

root at g:~# ps -aAl | grep skype
root at g:~# ps -aAl | grep Xvfb
root at g:~# ps -aAl | grep free
root at g:~#



# ./start_skype_clients.sh
# freeswitch

freeswitch at g> log level 9

+OK
freeswitch at gnuradio08> load mod_skypopen
2013-08-22 05:12:15.803041 [INFO] mod_enum.c:876 ENUM Reloaded
2013-08-22 05:12:15.803041 [INFO] switch_time.c:1191 Timezone reloaded 530
definitions
2013-08-22 05:12:15.823035 [WARNING] mod_skypopen.c:1762
[543dc3c|22dd4bf] [WARNINGA     1762 ][skype101       ][IDLE,IDLE] STARTING
interface_id=1
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
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
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

+OK Reloading XML
-ERR [module load file routine returned an error]

2013-08-22 05:13:17.063036 [CRIT] switch_loadable_module.c:1383 Error
Loading module /usr/lib/freeswitch/mod/mod_skypopen.so
**Module load routine returned an error**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130822/069b62c8/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list