[Freeswitch-users] mod_skypiax - help needed with modified snd-dummy (one way audio)

Giovanni Maruzzelli gmaruzz at celliax.org
Wed Jan 27 09:07:54 PST 2010


I don't think you got two snd-dummy loaded (but maybe yes)
what's the output of:

aplay -l

?

If instead you are referring to the choices that skype clients offers
you in the "set audio devices" window, choose Dummy PCM (hw0:0)

Eg: not the "default", but the "hardware" one


On Wed, Jan 27, 2010 at 5:58 PM, Peter P GMX <Prometheus001 at gmx.net> wrote:
> Thanks Giovanni,
>
> I think there may be the problem, that I have 2 sound devices now:
> - Dummy PCM (hw0:0) (this is from debian install)
> - Dummy PCM Default Audio device (defauzlt: CARD=Dummy) (this is new
> since I compiled alsa newly)
>
> I tried both, but both do not work. How do I get rid of the old alsa device?
> By the way: I uninstalled Alsa before I installed the new driver
> (apt-get remove alsa-utils alsa-base).
>
> Best regards
> Peter
>
>
> Giovanni Maruzzelli schrieb:
>> This warning is harmless:
>>
>> Jan 27 15:28:50 skype kernel: [ 3994.795786] process `skype' is using
>> obsolete setsockopt SO_BSDCOMPAT
>>
>> On Wed, Jan 27, 2010 at 4:26 PM, Giovanni Maruzzelli
>> <gmaruzz at celliax.org> wrote:
>>
>>> Ciao Peter
>>>
>>> one instance of snd-dummy "customized" is enough for 64 instances of
>>> skype clients, no need (and do not works) with more instances of
>>> snd-dummy-customized.
>>>
>>> Maybe you got the one-way problem because of kernel at 250HZ (don't
>>> know). It uses to works well on a tickless kernel at 100HZ (eg: ubuntu
>>> 8.04).
>>>
>>> Or maybe you have to check and modify which sound devices the skype
>>> clients are using (try to check that with snd-summy-custom loaded,
>>> maybe with the ssh -X trick (as in the wiki page).
>>>
>>> To load more than one snd-dummy-original (the non modified one), you
>>> do this with the modprobe command, as in:
>>>
>>> rmmod snd-dummy
>>> modprobe snd-dummy enable=1,1,1
>>>
>>> this command will enable three instances of snd-dummy original, so
>>> you'll have three fake soundcards, and you'll have to setup each group
>>> of 8 skype instances to use sound devices from one fake soundcard, RG:
>>> no more than 8 skype client instances can use one instance of fake
>>> soundcard.
>>>
>>> Also, please update the mod_skypiax code (svn up in its directory) I
>>> just committed some improvements.
>>>
>>> If you have any other doubts, or need more info, don't hesitate to
>>> write the mailing list again,
>>>
>>> ciao for now,
>>>
>>> -giovanni
>>>
>>>
>>>
>>> On Wed, Jan 27, 2010 at 4:01 PM, Peter P GMX <Prometheus001 at gmx.net> wrote:
>>>
>>>> I have mod_skypiax working nicely so far with 2 Skype channels. Thanks
>>>> to all contributors, excellent work!
>>>>
>>>> In order to have more than 8 channels working, I have followed the
>>>> instructions in
>>>> http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk
>>>> and compiled alsa-driver-1.0.20 with the modified dummy.c file. (System
>>>> ist Debian 5.0R3)
>>>> It compiled well however when I start snd-dummy I only have
>>>> one-way-audio and my logs show
>>>>
>>>> Jan 27 15:28:41 skype kernel: [ 3984.318403] snd-dummy skypiax driver,
>>>> /usr/src/alsa-driver-1.0.20/drivers/../alsa-kernel/drivers/dummy.c:920
>>>> working on a machine with 250HZ kernel
>>>> Jan 27 15:28:50 skype kernel: [ 3994.795786] process `skype' is using
>>>> obsolete setsockopt SO_BSDCOMPAT
>>>> Jan 27 15:28:56 skype kernel: [ 4005.289907] __ratelimit: 490 messages
>>>> suppressed
>>>> Jan 27 15:29:01 skype kernel: [ 4012.458310] process `skype' is using
>>>> obsolete setsockopt SO_BSDCOMPAT
>>>> Jan 27 15:29:01 skype kernel: [ 4013.326290] __ratelimit: 499 messages
>>>> suppressed
>>>> If I reinstall alsa from deb everything sworks fine again (of course
>>>> with the current limitations).
>>>>
>>>> First question: Has anybody had this issue before? How can I solve this?
>>>>
>>>> Second question:
>>>> As I do not need 64 channels or more: how do I manage, that Skype
>>>> instances 9..15 use a second instance of snd-dummy as addressed in the wiki?
>>>>
>>>> Best regards
>>>> Peter
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>
>>> --
>>> Sincerely,
>>>
>>> Giovanni Maruzzelli
>>> Cell : +39-347-2665618
>>>
>>>
>>
>>
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618




More information about the FreeSWITCH-users mailing list