Right, the target of the invite was looking for realm=sipdiscount.com credentials, the registrar is looking for realm=sip.actionvoip.com credentials. Maybe try the registration again, and use realm=sip.actionvoip.com instead of *? Bill On 7/20/2014 12:47 PM, Rahul Venkatram wrote: > same error :( > > --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=sipdiscount.com <http://sipdiscount.com> > --username rahulvenkat > --password ************ > > > > On Sun, Jul 20, 2014 at 1:25 AM, Bill Gardner <billg at wavearts.com > <mailto:billg at wavearts.com>> wrote: > > Try realm=sipdiscount.com <http://sipdiscount.com> > > > Sent from my iPhone > > On Jul 19, 2014, at 5:04 PM, Rahul Venkatram > <rahul.venkatram at gmail.com <mailto:rahul.venkatram at gmail.com>> wrote: > >> Hi Bill, >> >> Thanks for the reply. >> No luck with that either. I get the same error (failed2.txt) - >> >> SIP/2.0 401 Unauthorized >> >> and then ... >> >> 22:50:29.124 sip_auth_clien ....Unable to set auth for >> tdta0x7fd839040000: can not find credential for >> sipdiscount.com/Digest <http://sipdiscount.com/Digest> >> >> 22:50:29.124 pjsua_app.c .....Call 1 is DISCONNECTED >> [reason=401 (Unauthorized)] >> >> 22:50:29.124 pjsua_app_comm ..... >> >> [DISCONNCTD] To: sip:0046706914265 at sip.actionvoip.com >> <mailto:sip%3A0046706914265 at sip.actionvoip.com> >> >> >> However, I managed a workaround i.e. used another SIP provider - >> linphone (instead of actionvoip). Created 2 accounts of linphone >> (since it allows calls only between registered users). And made a >> call using pjsua (SIP user1) to my iPhone where I installed the >> linphone app (SIP user 2). It worked great!! >> >> The workaround should hold good for now, but if I'm able to call >> phone numbers it would be fantastic :) >> >> /Rahul >> >> >> >> >> On Sat, Jul 19, 2014 at 10:42 PM, Bill Gardner >> <billg at wavearts.com <mailto:billg at wavearts.com>> wrote: >> >> 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 <mailto:pjsip at lists.pjsip.org> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> <failed 2.txt> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > _______________________________________________ > 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/20140721/0ec39060/attachment.html>