Try letting the client register first, then make the call, i.e, don't pass the sip address in the command line. - Bill On 7/19/2014 8:55 AM, Rahul Venkatram wrote: > Hi Guys/Girls, > > I'm a bit unsure if I should post this question, since I know this > would've been asked many times before. But I've done a fair bit of > research and haven't been able to solve the issue. > I downloaded the latest trunk (2.2.1-svn) and built pjsip for Mac Osx > 10.9.4 (build-system.docx). I then ran pjsystest and everything went > fine with the audio tests. > > Then I run pjsua like this "./pjsua --config-file rahul.cfg > sip:0046706914265 at sip.actionvoip.com > <mailto:sip%3A0046706914265 at sip.actionvoip.com>" > > and my config file looks like this: > > # config file for actionvoip > --id sip:rahulvenkat at sip.actionvoip.com > <mailto:sip%3Arahulvenkat at sip.actionvoip.com> > --registrar sip:sip.actionvoip.com <http://sip.actionvoip.com> > --proxy sip:sip.actionvoip.com <http://sip.actionvoip.com>;lr > --realm "*" > --username rahulvenkat > --password ********** > --no-tcp > > The log from my terminal is attached in log.txt and I see this: > > *<sip:192.168.2.131:5060 <http://192.168.2.131:5060>>: does not register > * > > *SIP/2.0 401 Unauthorized* > > I have tried all types of realm messages but it didn't help. I would > really appreciate it if you can help me out here. > > Cheers, > Rahul > > > _______________________________________________ > 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/20140719/3e5be44a/attachment.html>