Hi,
You NEED to authenticate the calls / INVITEs too, but you do in wrong
way - you need to use the proxy_challenge() for INVITEs and not
www_challenge() (which is to be used only for REGISTER requests).
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 24.05.2016 17:17, Johan De Clercq wrote:
NO, because you still authenticate on registratin.
2016-05-24 15:20 GMT+02:00 Frank Paaske <frank.paa...@gmail.com
<mailto:frank.paa...@gmail.com>>:
Thanks, but won’t this allow anyone to use this OpenSIPS instance
to make SIP calls?
Best regards,
Frank
*From: *<users-boun...@lists.opensips.org
<mailto:users-boun...@lists.opensips.org>> on behalf of Johan De
Clercq <jo...@democon.be <mailto:jo...@democon.be>>
*Reply-To: *OpenSIPS users mailling list <users@lists.opensips.org
<mailto:users@lists.opensips.org>>
*Date: *tirsdag 24. mai 2016 08.16
*To: *OpenSIPS users mailling list <users@lists.opensips.org
<mailto:users@lists.opensips.org>>
*Subject: *Re: [OpenSIPS-Users] sip.instance
you need to remove authentication on invite.
Check in opensips.cfg: if(method=="INVITE")
{
....
www_challenge()
}
comment that part out and restart opensips.
2016-05-24 0:12 GMT+02:00 Frank Paaske <frank.paa...@gmail.com
<mailto:frank.paa...@gmail.com>>:
Hi,
I’m trying to get a liblinphone based client connected to
OpenSIPS.
The REGISTER is challenged with a 401, which is automatically
replied to with a proper Digest by liblinphone, which in turn
gives 200 OK back from OpenSIPS.
However, when trying to make a call, the INVITE is also
challenged with a 401. In this case the liblinphone is not
responding automatically.
According to the developers of the app, this happens because
OpenSIPS is not configured to support sip.instance.
The sequence is roughly like this:
Client Server
|-REGISTER-------------->|
|<-------------------401-|
|-REGISTER-with-auth---->|
|<-------------------200-|
|-INVITE---------------->|
|<-------------------401-|
Then nothing
So my question is how can I enable support for sip.instance in
OpenSIPS?
Best regards,
Frank
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users