<div dir="ltr">NO, because you still authenticate on registratin. <br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-24 15:20 GMT+02:00 Frank Paaske <span dir="ltr"><<a href="mailto:frank.paaske@gmail.com" target="_blank">frank.paaske@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri" lang="NO-BOK">Thanks, but won’t this allow anyone to use this OpenSIPS instance to make SIP calls?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri" lang="NO-BOK">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri" lang="NO-BOK">Frank<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri" lang="NO-BOK"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span></b><span style="font-family:Calibri;color:black"><<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of Johan De Clercq <<a href="mailto:johan@democon.be" target="_blank">johan@democon.be</a>><br><b>Reply-To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br><b>Date: </b>tirsdag 24. mai 2016 08.16<br><b>To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br><b>Subject: </b>Re: [OpenSIPS-Users] sip.instance<u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><div><p class="MsoNormal">you need to remove authentication on invite. <u></u><u></u></p></div><p class="MsoNormal">Check in opensips.cfg: if(method=="INVITE")<br>{<br>....<u></u><u></u></p></div><p class="MsoNormal">www_challenge()<u></u><u></u></p><div><p class="MsoNormal">}<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">comment that part out and restart opensips. <u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2016-05-24 0:12 GMT+02:00 Frank Paaske <<a href="mailto:frank.paaske@gmail.com" target="_blank">frank.paaske@gmail.com</a>>:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">Hi,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">I’m trying to get a liblinphone based client connected to OpenSIPS. </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">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.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">However, when trying to make a call, the INVITE is also challenged with a 401. In this case the liblinphone is not responding automatically.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">According to the developers of the app, this happens because OpenSIPS is not configured to support sip.instance.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">The sequence is roughly like this:</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">Client Server</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">|-REGISTER-------------->|</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">|<-------------------401-|</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">|-REGISTER-with-auth---->|</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">|<-------------------200-|</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">|-INVITE---------------->|</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">|<-------------------401-|</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">Then nothing</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">So my question is how can I enable support for sip.instance in OpenSIPS?</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">Best regards,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" lang="NO-BOK">Frank</span><u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">_______________________________________________ Users mailing list <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a> <u></u><u></u></p></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>