[Freeswitch-dev] NEW skypopen installer and easy Skype client download, Skype calls on FreeSWITCH in one minute
Anton VG
anton.vazir at gmail.com
Fri May 6 23:35:14 MSD 2011
Hi Daniel!
Have you been able to compile the module for 2.6.38?
2011/4/30 Daniel Neubert <daniel.neubert at solomo.de>:
> Looks like the issue is located in building the skypopen.ko module:
>
> make -C /lib/modules/2.6.38-8-generic/build
> M=/usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss
> LDDINC=/usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss/../include
> modules
> make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.38-8-generic'
> CC [M] /usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss/main.o
> /usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss/main.c:315:2:
> error: unknown field ‘ioctl’ specified in initializer
> /usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss/main.c:315:2:
> warning: initialization from incompatible pointer type
> make[2]: ***
> [/usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss/main.o]
> Fehler 1
> make[1]: ***
> [_module_/usr/local/src/freeswitch/src/mod/endpoints/mod_skypopen/oss]
> Fehler 2
> make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.38-8-generic'
> make: *** [modules] Fehler 2
>
> I guess using kernel 2.6.38-8 is not supported?
>
> 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686
> i386 GNU/Linux
>
> Best regards / Mit freundlichen Grüßen,
> Daniel Neubert
>
>
>
> On 30.04.2011 14:28, Daniel Neubert wrote:
>> Thanks for your great work! I've been playing around with skypopen in my
>> spare time for a few days now.
>>
>> Every time I send a call to the skypopen endpoint, it fails with
>>
>> 2011-04-30 14:15:53.532923 [DEBUG] switch_core_state_machine.c:364
>> (skypopen/skype101/MySkypeUser) State ROUTING going to sleep
>> 2011-04-30 14:15:53.532923 [DEBUG] switch_core_state_machine.c:325
>> (skypopen/skype101/MySkypeUser) Running State Change CS_CONSUME_MEDIA
>> 2011-04-30 14:15:53.532923 [DEBUG] switch_core_state_machine.c:383
>> (skypopen/skype101/MySkypeUser) State CONSUME_MEDIA
>> 2011-04-30 14:15:53.532923 [DEBUG] mod_skypopen.c:747
>> [32b8f10|9350fb9] [DEBUG_SKYPE 747 ][skype101 ][IDLE,IDLE]
>> skype101 CHANNEL CONSUME_MEDIA
>> 2011-04-30 14:15:53.532923 [DEBUG] switch_core_state_machine.c:383
>> (skypopen/skype101/MySkypeUser) State CONSUME_MEDIA going to sleep
>> 2011-04-30 14:15:53.532923 [DEBUG] skypopen_protocol.c:173
>> [32b8f10|9350fb9] [DEBUG_SKYPE 173 ][skype101 ][IDLE,IDLE]
>> READING: |||CALL 39 STATUS UNPLACED|||
>> 2011-04-30 14:15:53.532923 [DEBUG] skypopen_protocol.c:714
>> [32b8f10|9350fb9] [DEBUG_SKYPE 714 ][skype101 ][DIALING,UNPLACD]
>> skype_call: 39 is now UNPLACED
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:173
>> [32b8f10|9350fb9] [DEBUG_SKYPE 173 ][skype101 ][DIALING,UNPLACD]
>> READING: |||CALL 39 STATUS ROUTING|||
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:709
>> [32b8f10|9350fb9] [DEBUG_SKYPE 709 ][skype101 ][DIALING,ROUTING]
>> skype_call: 39 is now ROUTING
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:173
>> [32b8f10|9350fb9] [DEBUG_SKYPE 173 ][skype101 ][DIALING,ROUTING]
>> READING: |||CALL 39 FAILUREREASON 7|||
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:540
>> [32b8f10|9350fb9] [DEBUG_SKYPE 540 ][skype101 ][DIALING,ROUTING]
>> Skype FAILED on skype_call 39. Let's wait for the FAILED message.
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:173
>> [32b8f10|9350fb9] [DEBUG_SKYPE 173 ][skype101 ][DIALING,ROUTING]
>> READING: |||CALL 39 VAA_INPUT_STATUS FALSE|||
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:173
>> [32b8f10|9350fb9] [DEBUG_SKYPE 173 ][skype101 ][DIALING,ROUTING]
>> READING: |||CALL 39 STATUS FAILED|||
>> 2011-04-30 14:15:53.612936 [DEBUG] skypopen_protocol.c:683
>> [32b8f10|9350fb9] [DEBUG_SKYPE 683 ][skype101 ][DIALING,FAILED]
>> we tried to call Skype on skype_call 39 and Skype has now FAILED
>> 2011-04-30 14:15:53.612936 [DEBUG] mod_skypopen.c:1413
>> [32b8f10|9350fb9] [DEBUG_SKYPE 1413 ][skype101 ][DOWN,FAILED]
>> skype call ended
>> 2011-04-30 14:15:53.612936 [DEBUG] switch_channel.c:2572
>> (skypopen/skype101/MySkypeUser) Callstate Change RINGING -> HANGUP
>>
>> I assume that FAILUREREASON 7 indicates an issue regarding the audio
>> interface, correct?
>>
>> I've tried to modify these values (tried 0,1 and 2 (which was default) )
>> - but did not change anything.
>>
>> <CaptureDevice>2</CaptureDevice>
>> <RingDevice>2</RingDevice>
>> <SoundDevice>2</SoundDevice>
>>
>> Could you give me a hint?
>>
>> Best regards / Mit freundlichen Grüßen,
>> Daniel Neubert
>>
>> On 30.04.2011 10:31, Giovanni Maruzzelli wrote:
>>> Dear FreeSWITCHers,
>>>
>>> after a fair amount of effort, I ended up with a new way to install
>>> and use mod_skypopen on Linux.
>>>
>>> No more looking around the internet for the lost 2.0.0.72 Skype client for ALSA.
>>>
>>> First, we can use the readily available Skype client for OSS.
>>>
>>> (added benefit: no more need for ALSA driver. I wrote skypopen.ko OSS
>>> driver, that's very easy to compile and install, and do not need to
>>> mess with the operating system installation.)
>>>
>>> Second, I wrote an installer that automatically do all the tedious
>>> work for you: download and install the skype client, create the config
>>> directory for Skype clients, create the config file for mod_skypopen,
>>> create the script that launches the Skype clients.
>>>
>>> I hope those improvements will lower the barriers for Skype calls on FreeSWITCH.
>>>
>>> Actually is ludicrously simple now, and after you compile FreeSWITCH,
>>> mod_skypopen and the skypopen.ko OSS driver it will take like less
>>> than one minute to have a complete installation of mod_skypopen ready
>>> to make and receive calls.
>>>
>>> All automatic, no more need to fiddle around with the Skype client
>>> download, configurations, authorization, etc.
>>>
>>> Is all well tested, but maybe there are still some bugs, and maybe the
>>> docs are not clear/easy enough.
>>>
>>> Please have a look at the new and improved wiki page and let me know
>>> what do you think about (and maybe test the procedures).
>>>
>>> http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk
>>> http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Linux
>>> http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Interactive_INSTALLER_and_CONFIGURATOR
>>>
>>> You must update to the latest git to have all the goodies.
>>>
>>> Thank you all for your support,
>>>
>>> -giovanni
>>>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
More information about the FreeSWITCH-dev
mailing list