<div dir="ltr">I'm in the same boat with portaudio when it's started with systemd.  When I disable it as a service and start it from the command line, pa devlist does return a list of devices.  Still workingon getting a call from portaudio to a station and vice versa.  Calling a station from portaudio device goes to voicemail and in reverse direction I never get a ring indication, just music on hold.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 30, 2020 at 8:21 PM saiedt <<a href="mailto:saied.tazari@gmail.com" target="_blank">saied.tazari@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Lesley Pervis wrote<br>
> Sorry for the spam, but I thought I'd mention that I can aplay no problem<br>
> from the command line as the 'freeswitch' user, and yet when FS is running<br>
> as that user, no luck.<br>
<br>
Exactly seven years after your last post here, I'm there to ask if you<br>
finally succeeded to resolve the issue?<br>
My case:<br>
<br>
1. Pi-4 with Raspbian buster und latest related FreeSwitch distribution,<br>
apt-upgraded and updated just yesterday<br>
<br>
2. aplay is working both with the audio jack and with bluetooth (although<br>
not simultaneously: as soon as I have a bluetooth audio connection, the<br>
audio jack stops to work, and I cannot switch back to it with "amixer cset<br>
numid=3 1", but aplay can continue to use the bluetooth connection again<br>
after I issue "amixer cset numid=3 65536")<br>
<br>
3. it seems that I do not have any permission issue as both pi and<br>
freeswitch are in the audio group and related devices under /dev/snd are in<br>
that group<br>
<br>
4. I have already installed alsaoss, libasound2 and libasound2-dev<br>
<br>
5. The output of "pa rescan" in fs_cli is the following:<br>
<br>
2020-06-19 06:55:18.803478 [INFO] mod_portaudio.c:3186 Looking for new<br>
devices.<br>
2020-06-19 06:55:18.803478 [INFO] mod_portaudio.c:2102 PortAudio version<br>
number = 1246720<br>
PortAudio version text = 'PortAudio V19.6.0-devel, revision<br>
396fe4b6699ae929d3a685b3ef8a7e97396139a4'<br>
2020-06-19 06:55:18.943433 [DEBUG] mod_portaudio.c:1773 global indev [-1]<br>
2020-06-19 06:55:18.943433 [ERR] mod_portaudio.c:1777 Cannot find an input<br>
device<br>
2020-06-19 06:55:18.943433 [DEBUG] mod_portaudio.c:1786 global outdev [-1]<br>
2020-06-19 06:55:18.943433 [ERR] mod_portaudio.c:1790 Cannot find an output<br>
device<br>
2020-06-19 06:55:18.943433 [INFO] mod_portaudio.c:2125 Number of devices = 0<br>
<br>
Any clue, what could be wrong on my side?<br>
<br>
Thanks!<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://freeswitch-users.2379917.n2.nabble.com/" rel="noreferrer" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/</a><br>
<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>