I think I may have fixed it now! I found this link: http://stackoverflow.com/questions/16483635/pjsip-new-call-error-unable-to-find-default-audio-device-pjmedia-eaud-nodef which seemed to get it to work (for 1 call anyway!). When I make a call, and then hang up, ('h') I am then not able to make another call, and I am unable to terminate pjsua. If I close the Terminal, and then restart, I still am not able to make another call. I am now able to load the project in eclipse and this has the same symptoms - ie, once I have made a call, I am not able to make any more. Have you any clues about where I am going wrong? Thanks in advance Mike -----Original Message----- From: Mike Winter (Miwin) Sent: Wednesday, February 12, 2014 1:29 PM To: pjsip at lists.pjsip.org Subject: Re: pjsip Digest, Vol 78, Issue 35 Hi Dennis Thank you for your help - sorry for delay in getting back, I got busy on other projects! No I did not compile with these (portaudio and alsa). I have just (I think!) followed the information in the link on the PJSIP web site for "Using Eclipse with PJSIP". Have I missed a vital step? I have also just followed the steps the Getting Started guide, and tried running the bundled application pjsua, and this comes up with the same error. Thanks for any help Mike -----Original Message----- From: pjsip-request@xxxxxxxxxxxxxxx Sent: Monday, February 10, 2014 3:48 PM To: pjsip at lists.pjsip.org Subject: pjsip Digest, Vol 78, Issue 35 Send pjsip mailing list submissions to pjsip at lists.pjsip.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org or, via email, send a message with subject or body 'help' to pjsip-request at lists.pjsip.org You can reach the person managing the list at pjsip-owner at lists.pjsip.org When replying, please edit your Subject line so it is more specific than "Re: Contents of pjsip digest..." Today's Topics: 1. Re: Error Retrieving default audio device (Dennis Guse) ---------------------------------------------------------------------- Message: 1 Date: Mon, 10 Feb 2014 16:47:27 +0100 From: Dennis Guse <dennis.guse@xxxxxxxxxxxxxxxxxxx> To: pjsip list <pjsip at lists.pjsip.org> Subject: Re: Error Retrieving default audio device Message-ID: <CAEeULf2FFwcVgR43S8Zg_ipEj=eBzBfQaCH7HZ-v9utcLfw0BQ at mail.gmail.com> Content-Type: text/plain; charset="utf-8" Did you compile with portaudio and alsa? (libasound-dev)? --- Dennis Guse On Mon, Feb 10, 2014 at 2:13 PM, Mike Winter (Miwin) < mike.winter at miwin.co.uk> wrote: > Hi All > > I have just been having a play with pjsip, and I am running in to a little > difficulty ? can you help?! > > My environment is a Linux (Ubuntu) Virtual Machine, with Eclipse > > When I open up the pjsua project, and run, when I enter ?m? to make a > call, and then enter my URL to call (sip:kr at 192.168.1.120) I come up with > the below error: > > *0:47:27.600 pjsua_aud.c .Set sound device: capture=-1, playback=-2* > *20:47:27.640 pjsua_aud.c ..Error retrieving default audio device > parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) > [status=420006]* > > > > Have you any idea whats wrong and how to put right? I have located the > code where it is trying to set teh capture device to ?1 and playback to ?2 > and tried setting these to various values, (0, 1, NULL_SND_DEV_ID) but it > didnt seem to work > > > > Note the URL that I am calling is on the PC (Windows) that is hosting the > VM. > > > > I have tried sipecho and this appeared to work. I have also been able to > use linphone successfully > > > > Excuse me if I am asking a dumb question. There are several levels here > that are new to me (Linux, Eclipse, PJSIP), If I get this working I will > then need to cross compile for my target device (ARM processor), but I > will > cross that bridge when I get to it! > > > > Thanks for any help you can give > > > *Mike Winter* > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140210/63d06cae/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org ------------------------------ End of pjsip Digest, Vol 78, Issue 35 *************************************