Library: UNKNOWN_and_probably_unsupported

A forum for Skype For Asterisk users to ask questions and get advice from other users

Moderators: twilson, pete engler

Library: UNKNOWN_and_probably_unsupported

Postby peteriskander » Thu Jul 30, 2009 1:18 pm

I have just installed SFA on my asterisk version v 1.4.24 and when I did skype show version I got:
Channel Driver: 1.4_0.9.10
Library: UNKNOWN_and_probably_unsupported

Furthermore, I can't seem to login or get any debugs

Could this be related to my asterisk version?
Any idea anyone?
peteriskander
Newsterisk
 
Posts: 1
Joined: Thu Jul 30, 2009 1:12 pm

Postby VladS » Thu Jul 30, 2009 1:25 pm

I get the same error on Asterisk 1.4.26 running on Centos 5.3. The log file shows the following errors:

[2009-07-30 15:15:11] DEBUG[31044] core.cpp: starting skyhost as: skypeforasterisk -z -f /var/spool/asterisk/skype/data
[2009-07-30 15:15:11] DEBUG[31044] core.cpp: skyhost environment is : HOME=/var/spool/asterisk/skype
[2009-07-30 15:15:11] DEBUG[31043] core.cpp: starting skypewatcher as: skypewatcher 31044
[2009-07-30 15:15:13] DEBUG[31042] core.cpp: got SkyHost Copyright (C) 2003-2008 Skype Technologies S.A.
[2009-07-30 15:15:13] DEBUG[31042] core.cpp: got Proprietary and confidential, do not share this application.
[2009-07-30 15:15:14] DEBUG[31042] core.cpp: pfd 0 had an error
[2009-07-30 15:15:14] DEBUG[31042] core.cpp: pfd 0 had an error
[2009-07-30 15:15:14] DEBUG[31042] core.cpp: pfd 0 had an error
[2009-07-30 15:15:14] WARNING[31042] core.cpp: sending SIGTERM to 31043 failed with No such process
[2009-07-30 15:15:21] ERROR[31028] core.cpp: Skype engine failed to start.
[2009-07-30 15:15:21] ERROR[31028] chan_skype.c: Unable to start Skype For Asterisk library.
VladS
Newsterisk
 
Posts: 3
Joined: Thu Jul 30, 2009 12:33 pm

Postby Docteh » Thu Jul 30, 2009 2:15 pm

UNKNOWN_and_probably_unsupported is reported by the binary blob part its version, so it will show up even when SFA works:

Code: Select all
Connected to Asterisk 1.4.26 currently running on prometheus (pid = 3102)
Core debug is at least 1
prometheus*CLI> skype show version
Skype For Asterisk Components:
        Channel Driver: 1.4_0.9.10
        Library: UNKNOWN_and_probably_unsupported
prometheus*CLI>
Docteh
Newsterisk
 
Posts: 47
Joined: Thu Jul 30, 2009 10:52 am

Postby paulo888 » Thu Jul 30, 2009 2:26 pm

Failing to start for me too...

[2009-07-30 17:33:19] VERBOSE[3069] logger.c: Loading Skype For Asterisk engine
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: Skype For Asterisk module, Copyright (C) 2008-2009 Digium, Inc.
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: This module is supplied under a commercial license granted by Digium, Inc.
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: Please see the full license text supplied by the accompanying
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: "register" utility, or ask for a copy from Digium.
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: This product includes software developed by the OpenSSL Project
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: for use in the OpenSSL Toolkit. (http://www.openssl.org/)
[2009-07-30 17:33:19] NOTICE[3069] res_skypeforasterisk.c: Copyright (C) 1998-2008 The OpenSSL Project
[2009-07-30 17:33:19] VERBOSE[3069] logger.c: res_skypeforasterisk.so => (Skype For Asterisk Engine)
[2009-07-30 17:33:20] VERBOSE[3069] logger.c: == Parsing '/etc/asterisk/chan_skype.conf': [2009-07-30 17:33:20] VERBOSE[3069] logger.c: Found
[2009-07-30 17:33:20] NOTICE[3069] core.cpp: Skype For Asterisk Host-ID: xx:xx:xx:xx:xx:xx:xx:xx:xx
[2009-07-30 17:33:20] NOTICE[3069] core.cpp: Found a total of 10 Skype For Asterisk licenses
[2009-07-30 17:33:20] DEBUG[6518] core.cpp: starting skyhost as: skypeforasterisk -z -f /var/spool/asterisk/skype/data -d /var/spool/asterisk/skype/skyhost-debug
[2009-07-30 17:33:20] DEBUG[6518] core.cpp: skyhost environment is : HOME=/var/spool/asterisk/skype
[2009-07-30 17:33:20] DEBUG[6517] core.cpp: starting skypewatcher as: skypewatcher 6518
[2009-07-30 17:33:23] DEBUG[6516] core.cpp: got SkyHost Copyright (C) 2003-2008 Skype Technologies S.A.
[2009-07-30 17:33:30] ERROR[3069] core.cpp: Skype engine failed to start.
[2009-07-30 17:33:30] ERROR[3069] chan_skype.c: Unable to start Skype For Asterisk library.
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeBuddies
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeBuddy
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeAccountProperty
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeAddBuddy
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeRemoveBuddy
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeLicenseStatus
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Manager registered action SkypeLicenseList
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Registered custom function SKYPE_CALL_PROPERTY
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Registered custom function SKYPE_ACCOUNT_PROPERTY
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Registered custom function SKYPE_BUDDIES
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: == Registered custom function SKYPE_BUDDY_FETCH
[2009-07-30 17:33:30] VERBOSE[3069] logger.c: chan_skype.so => (Skype For Asterisk Channel Driver)
paulo888
Newsterisk
 
Posts: 6
Joined: Thu Jul 30, 2009 2:12 pm

Postby Docteh » Thu Jul 30, 2009 2:35 pm

is your /tmp directory mounted noexec? are you running selinux?
Docteh
Newsterisk
 
Posts: 47
Joined: Thu Jul 30, 2009 10:52 am

Postby VladS » Thu Jul 30, 2009 2:44 pm

no selinux or exec restrictions on /tmp
VladS
Newsterisk
 
Posts: 3
Joined: Thu Jul 30, 2009 12:33 pm

Postby VladS » Thu Jul 30, 2009 3:09 pm

I managed to get it working by hardcoding the bind address in the general section of chan_skype.conf

[general]
bind_address=10.202.1.129
bind_port=0
VladS
Newsterisk
 
Posts: 3
Joined: Thu Jul 30, 2009 12:33 pm

The same error

Postby hmayer » Thu Jul 30, 2009 3:38 pm

Failing with me too, but in * 1.6.1 release.
No fail messages in debug

Code: Select all
Jul 30 18:28:01] VERBOSE[29956] loader.c: .[Jul 30 18:28:01] VERBOSE[29956] loader.c: .[Jul 30 18:28:01] VERBOSE[29956] res_skypeforasterisk.c:  Loading Skype For Asterisk engine
[Jul 30 18:28:01] VERBOSE[29956] loader.c: .[Jul 30 18:28:01] VERBOSE[29956] loader.c: .[Jul 30 18:28:01] VERBOSE[29956] chan_sip.c: SIP channel loading...
[Jul 30 18:28:01] VERBOSE[29956] loader.c: .[Jul 30 18:28:03] VERBOSE[29956] loader.c: .[Jul 30 18:28:03] VERBOSE[29956] asterisk.c:  ]
[Jul 30 18:28:03] VERBOSE[29956] asterisk.c: Asterisk Ready.
[Jul 30 18:28:03] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:03] DEBUG[29978] chan_skype.c: User 'henrique_mayer' status changed to 3
[Jul 30 18:28:03] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:03] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:03] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:06] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:06] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:06] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:06] DEBUG[29978] chan_skype.c: User 'henrique_mayer' status changed to 4
[Jul 30 18:28:06] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: User 'henrique_mayer' status changed to 5
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: User 'henrique_mayer' status changed to 8
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: User 'henrique_mayer' status changed to 1
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: entering poll for 2 fds
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: poll returned 1
[Jul 30 18:28:07] DEBUG[29978] chan_skype.c: entering poll for 2 fds


Code: Select all
*CLI> skype show version
Skype For Asterisk Components:
        Channel Driver: 1.6.1_0.9.10
        Library: UNKNOWN_and_probably_unsupported
*CLI> skype show settings
Skype For Asterisk Settings:
        engine_directory: /tmp
        data_directory: /var/spool/asterisk/skype
        defaultuser: henrique_mayer
        bind_address: 192.168.5.8
        bind_port: 0
        rtp_address: 127.0.0.1
        https_proxy:
        https_proxy_user:
        https_proxy_password:
        socks5_proxy:
        socks5_proxy_user:
        socks5_proxy_password:
        disable_tcpauto: no
        disable_udp: no
        debug: yes
*CLI>


No /tmp exec restrictions or selinux, I tried hardcoding the bind_address and port arguments like VladS without success.
hmayer
Newsterisk
 
Posts: 1
Joined: Thu Jul 30, 2009 2:15 pm
Location: Brasil

Postby twilson » Fri Jul 31, 2009 9:03 am

A couple of issues. 1) It sounds like the skypeforasterisk process has gotten hung and didn't get cleaned up when Asterisk stopped. So, when Asterisk starts again, it tries to bind to the same ports and fails. The fix is to do 'ps aux|grep skype' and kill (possibly -9) the skypeforasterisk process. You will have to actually kill the process by process id. killall won't find it. If there are multiple processes to be killed you can do:

ps aux|grep skypeforasterisk|awk '{print $2}'|xargs kill -9

(or sudo xargs kill -9 if you aren't logged in as root)

2) 1.6.1 releases prior to 1.6.1.2 (which isn't released) have a crash bug that SFA exposes. Until 1.6.1.2 is released, running from the subversion branch is the workaround. svn co http://svn.digium.com/svn/asterisk/branches/1.6.1
twilson
Oldsterisk
 
Posts: 87
Joined: Mon Jun 01, 2009 9:35 am


Return to Skype For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest