<div dir="ltr"><div><div><div><div><div>Hi Zaka<br></div>Thanks a lot.<br><br></div>I have these modules, not sure why failing.<br><br></div>I commented out that portion of code, and looks it is working now.<br><br></div>Best Regards<br></div>kamal<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 6:21 PM, Zaka Ul Isam <span dir="ltr"><<a href="mailto:Zaka.Ul@albtelecom.al" target="_blank">Zaka.Ul@albtelecom.al</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<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" target="_blank">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" target="_blank">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><strong></strong></font></font>
<p><font face="Arial"><font><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>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a> [<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a>] on behalf of Kamal Palei [<a href="mailto:palei.kamal@gmail.com" target="_blank">palei.kamal@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, October 29, 2014 6:27 AM<span class=""><br>
<b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br>
</span><b>Subject:</b> Re: [SR-Users] Registration at SCSCF Failed<br>
</font><br>
</div>
<div></div>
<div><div><div class="h5">
<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><font color="#888888"><br>
</font></span></div>
<span><font color="#888888">
<div>Kamal<br>
</div>
</font></span>
<div>
<div>
<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>
</div></div><hr>
<font color="Teal" face="Arial"><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 color="Gray" face="Verdana" 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>
</div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">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><br>
<br></blockquote></div><br></div>