Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the realm?? And Unauthorized. #1

Closed
jojonarte opened this issue Aug 22, 2016 · 4 comments
Closed

What is the realm?? And Unauthorized. #1

jojonarte opened this issue Aug 22, 2016 · 4 comments

Comments

@jojonarte
Copy link
Contributor

I've tried using it, with my correct credentials that worked on CSipsimple example on native android but using your library does give me 'Unauthorized authentication'.

@datso
Copy link
Owner

datso commented Aug 22, 2016

Hi, Realm is used in SIP authorization, usually it is the same as host.

Try to register on our test server:
host - demo.carusto.net
realm - demo.carusto.net
username - 1000
password - test

Dial "echo" for echo test.

@jojonarte
Copy link
Contributor Author

The test seems fine, but when registering with a different host and realm it seems to fallback to the default set 192.168.1.250 which results to getting bad authorization on other addresses.

@datso
Copy link
Owner

datso commented Aug 23, 2016

I found that 192.168.1.250 hardcoded inside makeCall function (pjsip-app). Regarding authorization it should work. Can you provide logs from "adb logcat" ?

@jojonarte
Copy link
Contributor Author

My bad I was referring to the app which is a different repo, I'll just try to make a different RN app now and apply this and get back. :)

datso pushed a commit that referenced this issue Aug 24, 2016
Merge pull request #2 from jojonarte/master
datso pushed a commit that referenced this issue Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants