Summary:ASTERISK-20853: compile error chan_skype 1.1.4 with asterisk >= rev. 378320 (asterisk 10) & >= rev. 378303 (asterisk 1.8)
Reporter:Holger Hornung (netview)Labels:
Date Opened:2013-01-02 17:50:06.000-0600Date Closed:2013-03-29 15:59:33
Versions:10.11.1 Frequency of
Environment:Linux alix 2.6.35-25-server #44-Ubuntu SMP Fri Jan 21 19:09:14 UTC 2011 x86_64 GNU/LinuxAttachments:( 0) chan_skype.c.patch
Description:since devicestate.h was changed in rev. 378320 chan_skype doesn't compile:

root@alix:skypeforasterisk-10.0_1.1.4-x86_64# make
gcc -march=native -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 ‘buddy_state_change’:
chan_skype.c:3271: error: incompatible type for argument 2 of ‘ast_devstate_changed’
/usr/include/asterisk/devicestate.h:150: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘char *’
Comments:By: Holger Hornung (netview) 2013-01-18 11:34:53.254-0600

The attached patch allows to compile chan_skype.c against the new devicestate.h

By: Holger Hornung (netview) 2013-01-23 02:15:26.358-0600

The same bug exists in asterisk 1.8 rev. >= 378303 since devicestate.h was changed

By: Matt Jordan (mjordan) 2013-03-29 15:59:27.053-0500

Thanks for the patch - a new version has been made available for Asterisk 1.8/10 at:


The new version is 1.1.5.

Please remember that SFA is, for all intents and purposes, on limited life support and will be discontinued completely July 26, 2013.