<div dir="ltr"><div><div>you need to remove authentication on invite. <br></div>Check in opensips.cfg: if(method==&quot;INVITE&quot;)<br>{<br>....<br></div>www_challenge()<br><div>}<br></div><div><br></div><div>comment that part out and restart opensips. <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-24 0:12 GMT+02:00 Frank Paaske <span dir="ltr">&lt;<a href="mailto:frank.paaske@gmail.com" target="_blank">frank.paaske@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">I’m trying to get a liblinphone based client connected to OpenSIPS. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" 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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" 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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">According to the developers of the app, this happens because OpenSIPS is not configured to support sip.instance.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">The sequence is roughly like this:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">Client              Server<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">|-REGISTER--------------&gt;|<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">|&lt;-------------------401-|<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">|-REGISTER-with-auth----&gt;|<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">|&lt;-------------------200-|<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">|-INVITE----------------&gt;|<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">|&lt;-------------------401-|<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">Then nothing<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">So my question is how can I enable support for sip.instance in OpenSIPS?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;" lang="NO-BOK">Frank<u></u><u></u></span></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>