[Freeswitch-users] mod_portaudio on Raspberry Pi does not find connected audio devices

Tazari, Mohammad Reza saied.tazari at gmail.com
Mon Jun 22 13:58:10 UTC 2020


Hi,

here is a short summary of my configuration and issue:

 1. Pi-4 with Raspbian buster and latest related FreeSwitch
    distribution, apt-upgraded and updated on last Friday
 2. aplay is working both with the audio jack and with bluetooth
    (although not simultaneously: as soon as I have a bluetooth audio
    connection, the audio jack stops to work, and I cannot switch back
    to it with "amixer cset numid=3 1", but aplay can continue to use
    the bluetooth connection again after I issue "amixer cset numid=3
    65536")
 3. It seems that I do not have any permission issues as both of the
    users pi and freeswitch are in the audio group, which has rw access
    to the related devices under /dev/snd
 4. I have already installed alsaoss, libasound2 and libasound2-dev
 5. The output of "pa rescan" in fs_cli is the following:

    2020-06-19 06:55:18.803478 [INFO] mod_portaudio.c:3186 Looking for
    new devices.
    2020-06-19 06:55:18.803478 [INFO] mod_portaudio.c:2102 PortAudio
    version number = 1246720
    PortAudio version text = 'PortAudio V19.6.0-devel, revision
    396fe4b6699ae929d3a685b3ef8a7e97396139a4'
    2020-06-19 06:55:18.943433 [DEBUG] mod_portaudio.c:1773 global indev
    [-1]
    2020-06-19 06:55:18.943433 [ERR] mod_portaudio.c:1777 Cannot find an
    input device
    2020-06-19 06:55:18.943433 [DEBUG] mod_portaudio.c:1786 global
    outdev [-1]
    2020-06-19 06:55:18.943433 [ERR] mod_portaudio.c:1790 Cannot find an
    output device
    2020-06-19 06:55:18.943433 [INFO] mod_portaudio.c:2125 Number of
    devices = 0


Any clue, what could be wrong on my side?

Thanks!

-- Saied


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200622/497f3549/attachment-0001.html>


More information about the FreeSWITCH-users mailing list