<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hey guys maybe you can help with this. Been trying to get portaudio working, but cannot. I have built from the latest git source. Even downloaded and build portaudio, which sees the device fine. Also, sound output works through aplay on the command line. So why can’t mod_portaudio find the devices?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b># lsmod | grep snd<o:p></o:p></b></p><p class=MsoNormal>snd_intel8x0 33455 0<o:p></o:p></p><p class=MsoNormal>snd_ac97_codec 106082 1 snd_intel8x0<o:p></o:p></p><p class=MsoNormal>ac97_bus 12642 1 snd_ac97_codec<o:p></o:p></p><p class=MsoNormal>snd_pcm 80845 2 snd_intel8x0,snd_ac97_codec<o:p></o:p></p><p class=MsoNormal>snd_seq_midi 13132 0<o:p></o:p></p><p class=MsoNormal>snd_rawmidi 25424 1 snd_seq_midi<o:p></o:p></p><p class=MsoNormal>snd_seq_midi_event 14475 1 snd_seq_midi<o:p></o:p></p><p class=MsoNormal>snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event<o:p></o:p></p><p class=MsoNormal>snd_timer 28931 2 snd_pcm,snd_seq<o:p></o:p></p><p class=MsoNormal>snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq<o:p></o:p></p><p class=MsoNormal>snd 62064 7 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device<o:p></o:p></p><p class=MsoNormal>soundcore 14635 1 snd<o:p></o:p></p><p class=MsoNormal>snd_page_alloc 14108 2 snd_intel8x0,snd_pcm<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b># lspci<o:p></o:p></b></p><p class=MsoNormal>00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)<o:p></o:p></p><p class=MsoNormal>00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1d.0 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1d.1 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1d.2 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1d.7 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)<o:p></o:p></p><p class=MsoNormal>00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)<o:p></o:p></p><p class=MsoNormal>00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)<o:p></o:p></p><p class=MsoNormal>01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b># cat /etc/group<o:p></o:p></b></p><p class=MsoNormal>audio:x:29:freeswitch,www-data<o:p></o:p></p><p class=MsoNormal>www-data:x:33:freeswitch<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>freeswitch@internal> load mod_portaudio<o:p></o:p></b></p><p class=MsoNormal>+OK Reloading XML<o:p></o:p></p><p class=MsoNormal>-ERR [module load file routine returned an error]<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1767 Cannot find an input device<o:p></o:p></b></p><p class=MsoNormal><b>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1777 Cannot find an output device<o:p></o:p></b></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1422 Loading streams ...<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'usb1' parameter indev = #2<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1458 Invalid indev specified for stream 'usb1'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'usb1' parameter outdev = #2<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1467 Invalid outdev specified for stream 'usb1'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'usb1' parameter sample-rate = 48000<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'usb1' parameter codec-ms = 10<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'usb1' parameter channels = 2<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1498 You need at least one device for stream 'usb1'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'default' parameter indev = #0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1458 Invalid indev specified for stream 'default'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'default' parameter outdev = #1<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1467 Invalid outdev specified for stream 'default'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'default' parameter sample-rate = 48000<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'default' parameter codec-ms = 10<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream 'default' parameter channels = 1<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1498 You need at least one device for stream 'default'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1569 Loading endpoints ...<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'default' parameter instream = default:0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream specified for endpoint 'default'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'default' parameter outstream = default:0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream specified for endpoint 'default'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'default'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1out-left' parameter outstream = usb1:0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream specified for endpoint 'usb1out-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'usb1out-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1out-right' parameter outstream = usb1:1<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream specified for endpoint 'usb1out-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'usb1out-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1in-left' parameter instream = usb1:0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream specified for endpoint 'usb1in-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'usb1in-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1in-right' parameter instream = usb1:1<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream specified for endpoint 'usb1in-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'usb1in-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1-left' parameter instream = usb1:0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream specified for endpoint 'usb1-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1-left' parameter outstream = usb1:0<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream specified for endpoint 'usb1-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'usb1-left'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1-right' parameter instream = usb1:1<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream specified for endpoint 'usb1-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint 'usb1-right' parameter outstream = usb1:1<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream specified for endpoint 'usb1-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one stream for endpoint 'usb1-right'<o:p></o:p></p><p class=MsoNormal>2012-08-17 08:15:23.591770 [CRIT] switch_loadable_module.c:1310 Error Loading module /usr/local/freeswitch/mod/mod_portaudio.so<o:p></o:p></p><p class=MsoNormal>**Module load routine returned an error**<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>******************************************* </span><span style='color:#1F497D'><br></span><b><span style='font-family:"Arial","sans-serif"'>Brett Wilson</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br><b>IT Department</b><br><b>Launch 3 Ventures, LLC</b> <br>134 Myer Street <br>Hackensack, NJ 07601 <br><b>Phone:</b> <a href="tel:877.878.9134" target="_blank"><span style='color:blue'>877.878.9134</span></a><br><b>Fax:</b> <a href="tel:646.536.3866" target="_blank"><span style='color:blue'>646.536.3866</span></a> <br><b>Email:</b> <a href="mailto:Brett.Wilson@launch3.net" target="_blank"><span style='color:blue'>Brett.Wilson@launch3.net</span></a><br><b>AOL IM:</b> <a href="mailto:Brett.Wilson@launch3.net" target="_blank"><span style='color:blue'>Brett.Wilson@launch3.net</span></a><br></span><span style='color:#1F497D'><a href="http://www.launch3.net/" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>www.Launch3.net</span></a></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> <br><u><a href="http://www.launch3telecom.com/" target="_blank"><span style='color:blue'>www.Launch3telecom.com</span></a></u> <br>******************************************* <br></span><a href="http://launch3telecom.blogspot.com/" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;text-decoration:none'><img border=0 width=32 height=32 id="Picture_x0020_1" src="cid:image001.png@01CD7C50.C34F3B70" alt="Description: Description: Description: Description: Blogger-logo"></span></a><a href="http://www.facebook.com/pages/Launch-3-Telecom/165610820178720" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;text-decoration:none'><img border=0 width=32 height=32 id="Picture_x0020_2" src="cid:image002.png@01CD7C50.C34F3B70" alt="Description: Description: Description: Description: FaceBook-Logo"></span></a><a href="https://twitter.com/launch3telecom" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;text-decoration:none'><img border=0 width=32 height=32 id="Picture_x0020_3" src="cid:image003.png@01CD7C50.C34F3B70" alt="Description: Description: Description: Description: Twitter-Logo"></span></a><a href="https://plus.google.com/102713212642017290959" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;text-decoration:none'><img border=0 width=32 height=32 id="Picture_x0020_4" src="cid:image004.png@01CD7C50.C34F3B70" alt="Description: Description: Description: Description: GPlus-Logo"></span></a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>