Hello Kamal:

This is something to do with user location in this case IMS LOCATION/ Presence

IMS_USRLOC_PCSCF * IMS PCSCF usrloc module released
IMS_USRLOC_SCSCF * IMS SCSCF usrloc module released

The above applies to both 4.1.x & 4.2.x

Cheers,

Zaka



From: sr-users-bounces@lists.sip-router.org [sr-users-bounces@lists.sip-router.org] on behalf of Kamal Palei [palei.kamal@gmail.com]
Sent: Wednesday, October 29, 2014 6:27 AM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List
Subject: Re: [SR-Users] Registration at SCSCF Failed

On further debugging looks below code in kamailio.cfg is failing

                if (!can_subscribe_to_reg("location")){
                        t_reply("403","Forbidden to SUBSCRIBE");
                        exit;
                }

In what case, can_subscribe_to_reg fails.., please let me know.

Thanks
kamal


On Wed, Oct 29, 2014 at 10:45 AM, Kamal Palei <palei.kamal@gmail.com> wrote:


This is a BLOCKING issue, we are totally stuck here.
Can somebody please guide us why SCSCF sends 403 to us.

Thanks
Kamal


---------- Forwarded message ----------
From: Kamal Palei <palei.kamal@gmail.com>
Date: Wed, Oct 29, 2014 at 9:18 AM
Subject: Registration at SCSCF Failed
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List" <sr-users@lists.sip-router.org>


Hi All
In 4.2.0 Kamailio (S-CSCF), when I try to register an IMS endpoint, I get 403 from P-CSCSF.

When I checked the error logs, SCSCF logs look as below

 1(5455) INFO: ims_auth [authorize.c:824]: authenticate(): uri=sip:group4-imslab11.in nonce=b9eec0ad9d6d186408541d8a23a7c7a5 response=df89adebbf28f25d38d2f993f7cde033 qop= nc= cnonce= hbody=
 1(5455) INFO: ims_auth [authorize.c:872]: authenticate(): UE said: df89adebbf28f25d38d2f993f7cde033 and we expect df89adebbf28f25d38d2f993f7cde033 ha1 599fb074cf189867eed06f3b6ebc0b97 (REGISTER)
 1(5455) INFO: ims_registrar_scscf [cxdx_sar.c:79]: create_return_code(): created AVP successfully : [saa_return_code] - [-2]
12(5466) INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp
12(5466) INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp(): cxdx_get_charging_info: Failed finding avp


I have added an user necs_0 in hss_db, so why I get below error.

Please let me know what is missed here.

Is S-CSCF not able to contact HSS ??

Best Regards
kamal










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.

Albtelecom & Eagle Mobile invite you to protect together the Environment. Please do not print this e-mail unless really necessary.



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.

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.