<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
</head>
<body>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hello Kamal:<br>
<br>
This is something to do with user location in this case IMS LOCATION/ Presence<br>
<br>
<table align="center" width="90%">
<tbody>
<tr>
<td align="left"><a href="http://kamailio.org/docs/modules/4.1.x/modules/ims_usrloc_pcscf.html">IMS_USRLOC_PCSCF</a></td>
<td align="center"><font color="#0088ff">*</font></td>
<td align="left">IMS PCSCF usrloc module</td>
<td align="center"><font color="#0000ff">released</font></td>
</tr>
<tr>
<td align="left"><a href="http://kamailio.org/docs/modules/4.1.x/modules/ims_usrloc_scscf.html">IMS_USRLOC_SCSCF</a></td>
<td align="center"><font color="#0088ff">*</font></td>
<td align="left">IMS SCSCF usrloc module</td>
<td align="center"><font color="#0000ff">released</font></td>
</tr>
</tbody>
</table>
<br>
<div>The above applies to both 4.1.x & 4.2.x<br>
<br>
Cheers,<br>
<br>
Zaka<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font face="Arial"><font size="2"><strong></strong></font></font>
<p><font face="Arial"><font size="2"><br>
</font></font><font face="Arial" size="1"><font face="Trebuchet MS"></font></font></p>
</div>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF787985" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> sr-users-bounces@lists.sip-router.org [sr-users-bounces@lists.sip-router.org] on behalf of Kamal Palei [palei.kamal@gmail.com]<br>
<b>Sent:</b> Wednesday, October 29, 2014 6:27 AM<br>
<b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Registration at SCSCF Failed<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">On further debugging looks below code in kamailio.cfg is failing<br>
<div><br>
                if (!can_subscribe_to_reg("location")){<br>
                        t_reply("403","Forbidden to SUBSCRIBE");<br>
                        exit;<br>
                }<br>
<br>
</div>
<div>In what case, can_subscribe_to_reg fails.., please let me know.<br>
<br>
</div>
<div>Thanks<br>
</div>
<div>kamal<br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Oct 29, 2014 at 10:45 AM, Kamal Palei <span dir="ltr">
<<a href="mailto:palei.kamal@gmail.com" target="_blank">palei.kamal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div><br>
<br>
</div>
This is a BLOCKING issue, we are totally stuck here.<br>
<div>Can somebody please guide us why SCSCF sends 403 to us.<br>
<br>
</div>
<div>Thanks<span class="HOEnZb"><font color="#888888"><br>
</font></span></div>
<span class="HOEnZb"><font color="#888888">
<div>Kamal<br>
</div>
</font></span>
<div>
<div class="h5">
<div><br>
<br>
<div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Kamal Palei</b> <span dir="ltr"><<a href="mailto:palei.kamal@gmail.com" target="_blank">palei.kamal@gmail.com</a>></span><br>
Date: Wed, Oct 29, 2014 at 9:18 AM<br>
Subject: Registration at SCSCF Failed<br>
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List" <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>><br>
<br>
<br>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi All<br>
</div>
In 4.2.0 Kamailio (S-CSCF), when I try to register an IMS endpoint, I get 403 from P-CSCSF.<br>
<br>
</div>
When I checked the error logs, SCSCF logs look as below<br>
<br>
 1(5455) INFO: ims_auth [authorize.c:824]: authenticate(): uri=sip:<a href="http://group4-imslab11.in" target="_blank">group4-imslab11.in</a> nonce=b9eec0ad9d6d186408541d8a23a7c7a5 response=df89adebbf28f25d38d2f993f7cde033 qop= nc= cnonce= hbody=<br>
 1(5455) INFO: ims_auth [authorize.c:872]: authenticate(): UE said: df89adebbf28f25d38d2f993f7cde033 and we expect df89adebbf28f25d38d2f993f7cde033 ha1 599fb074cf189867eed06f3b6ebc0b97 (REGISTER)<br>
 1(5455) INFO: ims_registrar_scscf [cxdx_sar.c:79]: create_return_code(): created AVP successfully : [saa_return_code] - [-2]<br>
12(5466) INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp<br>
12(5466) INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp(): cxdx_get_charging_info: Failed finding avp<br>
<br>
<br>
</div>
I have added an user necs_0 in hss_db, so why I get below error.<br>
<br>
</div>
Please let me know what is missed here.<br>
<br>
</div>
Is S-CSCF not able to contact HSS ??<br>
<br>
</div>
Best Regards<span><font color="#888888"><br>
</font></span></div>
<span><font color="#888888">kamal<br>
<div>
<div><br>
<br>
<div><br>
<br>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<hr>
<font color="Teal" face="Arial" size="2"><br>
Albtelecom & Eagle Mobile ju ftojnė tė mbrojmė sė bashku Mjedisin. Lutemi tė mos e printoni kėtė komunikim elektronik nėse nuk ėshtė me tė vėrtetė i nevojshėm.<br>
<br>
Albtelecom & Eagle Mobile invite you to protect together the Environment. Please do not print this e-mail unless really necessary.<br>
</font></div>
</div>
</div>
<br>
<hr>
<font face="Verdana" color="Gray" size="1"><br>
This e-mail and any files transmitted with it are confidential and intended solely for the use of the addressee/s. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is
 strictly prohibited. If you receive this e-mail in error, please notify the sender immediately and delete it! Albtelecom makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of
 any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message may belong to sender alone and may not necessarily reflect the opinions of Albtelecom.
 Albtelecom shall bear no liability for any loss or damage caused by software or e-mail viruses.<br>
<br>
Ky mesazh dhe ēdo informacion i transmetuar nė pėrmbajtje te kėtij mesazhi ėshtė konfidencial dhe ėshtė i destinuar vetėm pėr marrėsin e destinuar. Nėse nuk jeni marrėsi i destinuar, Ju bėjmė me dije se ēdo pėrhapje, transmetim, kopjim apo pėrdorim i ēdo informacioni
 ėshtė i ndaluar. Nėse e merrni kėtė mesazh gabimisht, ju lutem kontaktoni urgjentisht nisėsin e tij dhe fshijeni atė. Albtelecom nuk jep asnjė garanci pėr saktėsinė apo plotėsinė e informacionit nė pėrmbajtje tė kėtij mesazhi dhe nuk mban asnjė pėrgjegjėsi
 pėr informacionin e pėrmbajtur, transmetimin, marrjen, ruajtjen apo pėrdorimin e tij nė ēfarėdolloj mėnyre. Mendimet e shprehura nė kėtė mesazh mund t'i pėrkasin vetė nisėsit dhe nuk mund tė reflektojnė domosdoshmėrisht qėndrimet e Albtelecom. Albtelecom nuk
 do tė mbaje asnjė pėrgjegjėsi pėr humbje ose dėme te shkaktuara nga programet apo viruset.<br>
</font>
</body>
</html>