<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="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Consolas",serif;
        mso-fareast-language:DE-AT;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</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 lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hello Cristina,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>please add a tracefile of the registration generated with “tcpdump -i any -s 3000 -w /var/tmp/trace.pcap”.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>BR<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Franz<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></a></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'> sr-users [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>Cristina Caridi<br><b>Sent:</b> Friday, February 5, 2016 9:26 AM<br><b>To:</b> Jason Penton <jason.penton@smilecoms.com><br><b>Cc:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org><br><b>Subject:</b> Re: [SR-Users] Registration Failure - IMS<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>thank you for the responsive answer!<o:p></o:p></p></div><div><p class=MsoNormal>Ok, I will skip IP SEC mechanism for the moment :)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>But I have another problem related to registration process. After REGISTER-401 Unauthorized-REGISTER-200 OK, the IMS client sends the SUBSCRIBE message (for the "reg" event package subscription) to the S-CSCF, the latter replies with NOTIFY and the client correctly responds with 200 OK. In order to be notified on any change of registration state for the client, also the P-CSCF sends the SUBSCRIBE message to the S-CSCF, the S-CSCF sends a NOTIFY to the proxy but, instead of replying with 200 OK, the P-CSCF replies with 404-Not Here (like it doesn't recognize that the recipient of the NOTIFY in the Req-URI is the P-CSCF itself). <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Have you ever seen similar issue?<o:p></o:p></p></div><div><p class=MsoNormal>I've checked the S-CSCF database and it correctly contains the P-CSCF subscription. Can you suggest any workaround or I'm missing something?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you for your support,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cristina<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>2016-02-04 21:26 GMT+01:00 Jason Penton <<a href="mailto:jason.penton@smilecoms.com" target="_blank">jason.penton@smilecoms.com</a>>:<o:p></o:p></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><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Cristina,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Unfortunately IPSEC is not supported 100% on the P-CSCF at this time. There are pieces of code that exist for it but it is not something we focused on yet. Perhaps some of the other devs will get to it when they get the need or some spare time <o:p></o:p></p></div><p class=MsoNormal>Cheers<o:p></o:p></p></div><p class=MsoNormal>Jason<o:p></o:p></p></div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Feb 4, 2016 at 7:42 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<o:p></o:p></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><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<br><br>maybe some other IMS guys are able to help more, but in general the authentication in handled in the configuration file of Kamailio by calling various auth functions. You have to spot where those are used and why is responding with 401. Eventually run it with debug=3 in kamailio.cfg to get more verbosity of what it is done in the code.<br><br>Also, it may help to check the emails from Franz Edler during January and February on this list, he provided configs and many details about building a prototype IMS platform. See next link and follow up discussion:<br><br>  - <a href="http://lists.sip-router.org/pipermail/sr-users/2016-January/091204.html" target="_blank">http://lists.sip-router.org/pipermail/sr-users/2016-January/091204.html</a><br><br>Cheers,<br>Daniel<o:p></o:p></p><div><p class=MsoNormal>On 03/02/16 11:58, Cristina Caridi wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Hello,  <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'm a new starter of Kamailio (SER). I am using the version 4.4.0-dev6 in a Debian machine. <o:p></o:p></p></div><div><p class=MsoNormal>I've configured all the IMS network elements, the FHoSS and also Boghe IMS/RCS client in a Windows machine. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>When an IMS user belonging to my network tries to register and IP SEC mechanism is enabled, the registration flow stops at 401 Unauthorized from S-CSCF -> I-CSCF -> P-CSCF -> client.<o:p></o:p></p></div><div><p class=MsoNormal>The problem is that the HSS in MAA message does not send the SIP-Auth-Data-item that should be cointain the Confidentiality Key and the Integrity Key; so the client is not able to challenge the S-CSCF sending another REGISTER message. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Do you have any suggestions about this? When IP SEC is disabled (by managing client options), the registration works well.<o:p></o:p></p></div><div><p class=MsoNormal>Maybe is there any configuration at HSS level that i'm not considering?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you in advance for your help, <o:p></o:p></p></div><div><p class=MsoNormal>Cristina  <o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre><pre><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><o:p></o:p></pre><pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span style='color:#888888'><o:p></o:p></span></pre></blockquote><p class=MsoNormal><span style='color:#888888'><br><br><o:p></o:p></span></p><pre><span style='color:#888888'>-- <o:p></o:p></span></pre><pre><span style='color:#888888'>Daniel-Constantin Mierla<o:p></o:p></span></pre><pre><span style='color:#888888'><a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a><o:p></o:p></span></pre><pre><span style='color:#888888'>Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><o:p></o:p></span></pre><pre><span style='color:#888888'><a href="http://miconda.eu" target="_blank">http://miconda.eu</a><o:p></o:p></span></pre></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><br>-- <o:p></o:p></p></div></div><div><div><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600 style='width:450.0pt'><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'></td></tr></table><p class=MsoNormal><span style='display:none'><o:p> </o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td style='padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><strong><span style='font-family:"Arial",sans-serif;color:#75B343'>Jason Penton</span></strong><span style='font-family:"Arial",sans-serif;color:#75B343'><o:p></o:p></span></p></td></tr><tr><td style='padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><strong><span style='font-family:"Arial",sans-serif;color:#75B343'>Senior Manager: Applications and Services</span></strong><span style='font-family:"Arial",sans-serif;color:#75B343'><o:p></o:p></span></p></td></tr><tr><td style='padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><strong><span style='font-family:"Arial",sans-serif;color:#86919A'>Smile Communications Pty (Ltd)</span></strong><span style='font-family:"Arial",sans-serif;color:#86919A'><o:p></o:p></span></p></td></tr><tr><td style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td width="27%" style='width:27.0%;padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><strong><span style='font-family:"Arial",sans-serif;color:#86919A'>Mobile:</span></strong><span style='font-family:"Arial",sans-serif;color:#86919A'><o:p></o:p></span></p></td><td width="73%" style='width:73.0%;padding:7.5pt 0cm 0cm 7.5pt'><p class=MsoNormal style='line-height:13.5pt'><span style='font-family:"Arial",sans-serif;color:#86919A'><a href="tel:%2B27%20%280%29%2083%20283%207000" target="_blank">+27 (0) 83 283 7000</a><o:p></o:p></span></p></td></tr><tr><td style='padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><strong><span style='font-family:"Arial",sans-serif;color:#86919A'>Skype:</span></strong><span style='font-family:"Arial",sans-serif;color:#86919A'><o:p></o:p></span></p></td><td style='padding:7.5pt 0cm 0cm 7.5pt'><p class=MsoNormal style='line-height:13.5pt'><span style='font-family:"Arial",sans-serif;color:#86919A'>jason.barry.penton<o:p></o:p></span></p></td></tr></table></td></tr><tr><td style='padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><span style='font-family:"Arial",sans-serif;color:#75B343'><a href="mailto:name.surname@smilecoms.com" target="_blank"><span style='color:#75B343;text-decoration:none'>jason.penton@smilecoms.com</span></a><o:p></o:p></span></p></td></tr><tr><td style='padding:7.5pt 0cm 0cm 11.25pt'><p class=MsoNormal style='line-height:13.5pt'><span style='font-family:"Arial",sans-serif;color:#75B343'><a href="http://www.smilecoms.com/" target="_blank"><span style='color:#75B343'>www.smilecoms.com</span></a><br><img border=0 width=420 height=144 id="_x0000_i1025" src="http://196.33.227.129/~smlcoms/sigs/pty/images/smile_signature_07_09.jpg"><o:p></o:p></span></p></td></tr></table></div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p><pre><span style='color:#888888'>This email is subject to the disclaimer of Smile Communications at <a href="http://www.smilecoms.com/home/email-disclaimer/" target="_blank">http://www.smilecoms.com/home/email-disclaimer/</a><o:p></o:p></span></pre></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>