Unable to register to SIP server - actionvoip - please help!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try realm=sipdiscount.com


Sent from my iPhone

> On Jul 19, 2014, at 5:04 PM, Rahul Venkatram <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
> 
> 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
> 
> 
> 
> 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> 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"
>>> 
>>> and my config file looks like this:
>>> 
>>> # config file for actionvoip
>>> --id sip:rahulvenkat at sip.actionvoip.com 
>>> --registrar sip:sip.actionvoip.com
>>> --proxy sip: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>: 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
>> 
>> 
>> _______________________________________________
>> 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
> 
> <failed 2.txt>
> _______________________________________________
> 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/4081fed0/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux