Hi everyone, I've been trying to get PJSUA to work on the Raspberry Pi for a couple months now. Through some helpful tips and hints from the Raspberry Pi forums and the mailing list, I was able to run PJSUA through the on-board 3.5mm audio jack by using an dummy card for capture-dev. My current problem is trying to route the sound to the I2S (GPIO pins). I don't care about the microphone input, I just want to have sound come out of the I2S. in /etc/modules, I defined the modules that control the I2S. snd_soc_bcm2708_i2s bcm2708_dmaengine snd-soc-pcm1794a snd_soc_rpi_dac and my aplay -l currently looks like this: **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 1: sndrpirpidac [snd_rpi_rpi_dac], device 0: HifiBerry Mini HiFi pcm1794a-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 I was able to use mplayer to to play a wav file to card 1, which played sound through the I2S pins, but when I call ./pjsua-armv6l-unknown-linux-gnu --capture-dev 4 --playback-dev 2 I get an error that reads: 21:27:50.388 pjsua_aud.c .Unable to open sound device: Unknown error from audio driver (PJMEDIA_EAUD_SYSERR) [status=420002] I'm not sure why I cannot use card1 for PJSUA. Can anyone help me? Thank you, Yang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140401/375b814f/attachment-0001.html>