Difference between revisions of "Skype troubleshooting"

From Kolmisoft Wiki
Jump to navigationJump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 41: Line 41:




==I just created an account to manage my Business Control Panel and I can't get that account to log in via SFA==
==I just created an account to manage my Business Control Panel and I can't get that account to log in via SFA (Skype For Asterisk).==
Only Skype accounts that are actually created from inside the Skype
Only Skype accounts that are actually created from inside the Skype
Business Control Panel can be used. The account that was created to admin
Business Control Panel can be used. The account that was created to admin
the BCP was not created from inside the BCP, so it will not work with
the BCP was not created from inside the BCP, so it will not work with
SFA. Inside the BCP, go to Add Members and click "Create a Business
SFA. Inside the BCP, go to Add Members and click "Create a Business
account" to create an account that can be used with SFA (Skype For Asterisk).
account" to create an account that can be used with SFA.




It is very important that you would NOT REGISTER Skype accounts from Skype manager panel. ONLY ACCOUNTS CREATED FROM SKYPE ITSELF (the program you have in your computer) are able to call through asterisk-skype channel.
To create Skype accounts please follow [[Skype_channel_installation_guide#Create_Skype_accounts_for_calling|this guide]].

Latest revision as of 12:32, 4 May 2011

Skype troubleshooting

Skype For Asterisk does not compile successfully

[root@ns356744 skypeforasterisk-1.4_1.1.2-x86_64]# make
gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
chan_skype.c: In function 'indicate':
chan_skype.c:457: error: 'AST_CONTROL_SRCUPDATE' undeclared (first use in this function)
chan_skype.c:457: error: (Each undeclared identifier is reported only once
chan_skype.c:457: error: for each function it appears in.)
make: *** [chan_skype.o] Error 1

Your Asterisk version is too old. Please contact Kolmisoft to upgrade it to 1.4.37 or later

I cannot load channel

ns356744*CLI> load chan_skype.so
[2011-03-10 11:21:53] WARNING[27423]: loader.c:434 load_dynamic_module: Error loading module 'chan_skype.so': /usr/lib/asterisk/modules/chan_skype.so: undefined symbol: sfa_license_iterator_destroy
[2011-03-10 11:21:53] WARNING[27423]: loader.c:777 load_resource: Module 'chan_skype.so' could not be loaded.

Do not load channel, just restart asterisk

When chan_skype.so attempts to load, I get an error

When chan_skype.so attempts to load, I get an error similar to:

ERROR[1702]: core.cpp:1553 sfa_startup: Skype engine failed to start.
The skyhost binary (which shows up in the process list as skypeforasterisk)
failed to start.

This could be because a previous instance of this binary is running and was not properly shut down. Since any new instances try to bind to the same port, they fail. If 'ps aux|grep skypeforasterisk' returns any skypeforasterisk processes when Asterisk is not running, kill them and restart asterisk.

Another reason for failure could be that disable_tcpauto is set to no (the default) and can not bind to ports 80 and 443 due to asterisk running as a non-root user or other services being bound to those ports.

Failure can also occur if the engine_directory is set to a directory which is mounted with the 'noexec' flag or to a directory where the user does not have execute permission.


cannot restore segment prot after reloc: Permission denied

cannot restore segment prot after reloc: Permission denied”

You have to disable Selinux


I just created an account to manage my Business Control Panel and I can't get that account to log in via SFA (Skype For Asterisk).

Only Skype accounts that are actually created from inside the Skype Business Control Panel can be used. The account that was created to admin the BCP was not created from inside the BCP, so it will not work with SFA. Inside the BCP, go to Add Members and click "Create a Business account" to create an account that can be used with SFA.


To create Skype accounts please follow this guide.