<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>I’m trying to get a liblinphone based client connected to OpenSIPS. <o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>However, when trying to make a call, the INVITE is also challenged with a 401. In this case the liblinphone is not responding automatically.<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>According to the developers of the app, this happens because OpenSIPS is not configured to support sip.instance.<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>The sequence is roughly like this:<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>Client Server<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>|-REGISTER-------------->|<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>|<-------------------401-|<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>|-REGISTER-with-auth---->|<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>|<-------------------200-|<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>|-INVITE---------------->|<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>|<-------------------401-|<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>Then nothing<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>So my question is how can I enable support for sip.instance in OpenSIPS?<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Courier New"'>Frank<o:p></o:p></span></p></div></body></html>