Hi Eeri, Many thanks again for this. Indeed, I downloaded, extracted and compiled the standard PJSIP 2.1 build and this time I did end up with the PJSUA and PJSYSTEST binaries in the '/pjsip-apps/bin' as I would have originally expected. Running the PJSYSTEST application show two different ALSA devices, but none of the test can run. Here are the results from: 1) Viewing the devices, 2) Viewing settings, and 3) Running the device test. TEST 0: Audio Device List Success Found 2 devices 0: ALSA [default:CARD=ALSA] (0/1) 1: ALSA [sysdefault:CARD=ALSA] (0/1) TEST 1: Audio Settings Failed Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) TEST 2: Audio Device Test Failed Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) Pretty much all the other test end with similar errors. Here is a screen capture (rather than test file output) of the wizard test: ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------- Enter the menu number: 00 20:45:19.670 systest.c Running test wizard 20:45:19.672 systest.c Running Audio Device List Audio Device List Found 2 devices 0: ALSA [default:CARD=ALSA] (0/1) 1: ALSA [sysdefault:CARD=ALSA] (0/1) 1:OK 1 20:45:24.392 systest.c Running Audio Settings Error Error querying device infoUnable to find default audio device (PJMEDIA_EAUD_NODEFDEV) 1:OK 1 Audio Tone Playback Test This test will play simple ringback tone to the speaker. Please listen carefully for audio impairments such as stutter. You may need to let this test running for a while to make sure that everything is okay. Press OK to start, CANCEL to skip 1:OK 9:Cancel 1 20:45:32.440 systest.c Running Audio Tone Playback Test 20:45:32.446 pjsua_aud.c Conf connect: 1 --> 0 20:45:32.448 pjsua_aud.c .Set sound device: capture=-1, playback=-2 20:45:32.450 pjsua_aud.c ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] 20:45:32.452 pjsua_aud.c .Error opening sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] Error Sorry we encounter error when initializing the tone generator: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) 1:OK 1 WAV File Playback Test This test will play input.8.wav file to the speaker. Please listen carefully for audio impairments such as stutter. Let this test run for a while to make sure that everything is okay. Press OK to start, CANCEL to skip 1:OK 9:Cancel 1 20:45:36.378 systest.c Running WAV File Playback Test 20:45:36.380 pjsua_aud.c Creating file player: input.8.wav.. 20:45:36.382 pjsua_aud.c .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006] 20:45:36.384 pjsua_aud.c Creating file player: ../../tests/pjsua/wavs/input.8.wav.. 20:45:36.386 pjsua_aud.c .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006] Error Sorry we've encountered errorNot found (PJ_ENOTFOUND) 1:OK 1 Audio Recording This test will allow you to record audio from the microphone, and playback the audio to the speaker. Press OK to start recording, CANCEL to skip. 1:OK 9:Cancel 1 20:45:40.771 systest.c Running Audio Recording 20:45:40.773 pjsua_aud.c Creating recorder PJSYSTEST_TESTREC.WAV.. 20:45:40.777 wav_writer.c .File writer 'PJSYSTEST_TESTREC.WAV' created: samp.rate=8000, bufsize=4KB 20:45:40.779 pjsua_aud.c .Recorder created, id=0, slot=1 20:45:40.781 pjsua_aud.c Conf connect: 0 --> 1 20:45:40.783 pjsua_aud.c .Set sound device: capture=-1, playback=-2 20:45:40.784 pjsua_aud.c ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] 20:45:40.786 pjsua_aud.c .Error opening sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] 20:45:40.788 pjsua_aud.c Conf disconnect: 0 -x- 1 20:45:40.789 pjsua_aud.c Destroying recorder 0.. Error Sorry we encountered an error: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) 1:OK 1 Audio Device Test This will run an automated test for about ten seconds or so, and display some statistics about your sound device. Please don't do anything until the test completes. Press OK to start, or CANCEL to skip this test. 1:OK 9:Cancel 1 20:45:45.984 systest.c Running Audio Device Test Unable to open device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) (err=420006) Error Sorry we encountered error with the testUnable to find default audio device (PJMEDIA_EAUD_NODEFDEV) 1:OK 1 20:45:47.317 pjsua_aud.c Set sound device: capture=-1, playback=-2 20:45:47.317 pjsua_aud.c .Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] Audio Latency Test This test will try to find the audio device's latency. We will play a special WAV file to the speaker for ten seconds, then at the end calculate the latency. Please don't do anything until the test is done. 1:OK 9:Cancel 1 Audio Latency Test For this test to work, we must be able to capture the audio played in the speaker (the echo), and only that audio (i.e. you must be in relatively quiet place to run this test). Press OK to start, or CANCEL to skip. 1:OK 9:Cancel 1 20:45:49.941 systest.c Running Audio Latency Test 20:45:49.943 pjsua_aud.c Creating file player: tock8.wav.. 20:45:49.945 pjsua_aud.c .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006] 20:45:49.947 pjsua_aud.c Creating file player: ../../tests/pjsua/wavs/tock8.wav.. 20:45:49.950 pjsua_aud.c .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006] Error Sorry we encountered an error: Not found (PJ_ENOTFOUND) 1:OK 1 AEC/AES Test This test will try to find whether the AEC/AES works good on this system. Test will play a file while recording from mic. The recording will be played back later so you can check if echo is there. Press OK to start. 1:OK 9:Cancel 1 20:45:52.625 pjsua_aud.c Creating file player: input.8.wav.. 20:45:52.627 pjsua_aud.c .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006] 20:45:52.629 pjsua_aud.c Creating file player: ../../tests/pjsua/wavs/input.8.wav.. 20:45:52.631 pjsua_aud.c .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006] 20:45:52.633 systest.c Error opening WAV file input.8.wav: Not found (PJ_ENOTFOUND) Error Sorry we encountered an error: Not found (PJ_ENOTFOUND) 1:OK 1 Test wizard Test wizard complete. 1:OK 1 ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------- I believe the issues are down the Raspberry Pi only having an audio output, and no built in audio input. I replied to another response (from Saul) who has managed to get PJSIP working on the Raspberry Pi with the analogue output, but I'm not sure if this was also with an additional USB device attached that has both input and output. I'm not sure if there is a way to 'fool' PJSIP into using a Dummy device of the input. For this particular application, we simply don't need input - PJSIP will be acting as a dumb client simply relaying the incoming audio stream. Regards, Chris > -----Original Message----- > From: Eeri Kask [mailto:Eeri.Kask@xxxxxxxxxxxxxxxxxxxxx] > Sent: 07 January 2014 09:31 > To: pjsip at lists.pjsip.org > Subject: Re: Can't find audio device on Raspberry Pi > > On Mon, 6 Jan 2014 16:47:42 -0000, "Swinney C." wrote: > > However, running './pjsua-armv6l-unknown-linux-gnueabihf', I don't see > any reference to 'pasound.c' and opening up a sound device (as shown at > http://trac.pjsip.org/repos/wiki/audio-check-correct-device). So, is there > anywhere where I can specify the audio device? The ALSA driver does seem > to find two device (as does the PLAYWAVE program), but nothing seems to > get attached to the Ports? > > Have you experimented with 'pjsystest'? > > Would recommend to test vanilla 2.1.0 release (and not svn snapshots). > > /* The snapshots still have some locking issues; e.g. builtin iSight cameras (as > opposed to externally attached firewire ones) on Apple Macs work with > vanilla 2.1.0 but no longer with latest svn snapshots (Apple-specific quicktime > code has not changed that much). */ > > Eeri Kask > >