The next part of my project is to be able to dial into FS and connect to a microphone on a Raspberry Pi USB Audio Adapter.
I've modified the portaudio.conf.xml file, reloaded the module from the CLI but haven't been to get the mod to recognize the audio adapter.
When I reload the mod I get this error:
Reading the notes in the xml file, it says this:
To verify what devices I have, I used the command arecord -l. I get this for output:
Does anyone have any further tips?
Note: I've also restarted FS but it doesn't make a difference.
I've modified the portaudio.conf.xml file, reloaded the module from the CLI but haven't been to get the mod to recognize the audio adapter.
When I reload the mod I get this error:
2021-04-05 10:52:18.954707 [DEBUG] mod_portaudio.c:1773 global indev [-1]
2021-04-05 10:52:18.954707 [ERR] mod_portaudio.c:1777 Cannot find an input device
2021-04-05 10:52:18.954707 [DEBUG] mod_portaudio.c:1786 global outdev [-1]
2021-04-05 10:52:18.954707 [ERR] mod_portaudio.c:1790 Cannot find an output device
Reading the notes in the xml file, it says this:
I bolded the text that suggest that I should be able to put in "USB" if the actual device name is "USB Audio." It doesn't matter what I put in there, it never seems to find it when I reload the logs.<!-- indev, outdev, ringdev:
partial case sensitive string match on something in the name
or the device number prefixed with # eg "#1" (or blank for default) -->
To verify what devices I have, I used the command arecord -l. I get this for output:
Similar output for the lsusb command.pi@raspberrypi-freeswitch:/etc/freeswitch $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
the fs_cli command pa devlist gives me this result:pi@raspberrypi-freeswitch:/etc/freeswitch $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
freeswitch@raspberrypi-freeswitch> pa devlist
-ERR no reply
Does anyone have any further tips?
Note: I've also restarted FS but it doesn't make a difference.