[SR-Users] kamailio as ICSCF connection with FHoss

Maryam Baghdadi maryam.baghdadi at gmail.com
Sun Jul 14 09:03:22 CEST 2019


Hello Henning,

I checked every thing in my scenario again and I think Mojtaba was right.
I modified icscf.cfg file and changed $ru before calling
I_perform_location_information_request()
:

route[initial_request]
{
      $avp(prefix)="+";
     $ru= $(ru{s.rm,$avp(prefix)});
     I_perform_location_information_request("LIR_REPLY", "0");
}
and after this without changing ims_icscf module problem solved.
 but I attached log file which caused I made mistake, some places URI have
'+' prefix and some places it doesn't have for example output of
cscf_get_public_identity_from_requri(msg) function exactly after extraction
public_identity doesn't contains '+' prefix but in
I_perform_location_information_request()
and after calling cscf_get_public_identity_from_requri(msg) output of
public_identity contains '+' prefix.
Anyway no need to module modification and source codes , just adding above
parts in configuration file is enough.
I apologize and thanks all,

On Sun, Jul 14, 2019 at 12:38 AM Henning Westerholt <hw at skalatan.de> wrote:

> Hello Mojtaba,
>
> Let us wait for more details from the reporter before coming to a
> conclusion. Without complete knowledge about the scenario there is always
> some guessing involved.
>
> Cheers,
>
> Henning
>
> --
> Henning Westerholt - https://skalatan.de/blog/
> Kamailio services - https://skalatan.de/services
>
> -----Original Message-----
> From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Mojtaba
> Sent: Saturday, July 13, 2019 8:36 PM
> To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>;
> maryam.baghdadi at gmail.com
> Subject: Re: [SR-Users] kamailio as ICSCF connection with FHoss
>
> Hello Mariam,
> It is worse way that you made choice. There is no needed to change any
> things in source code.
> Just dive to kamailio.cfg file and remove "+" prefix  from $rU (IMPU) . It
> is very straightforward.
> WIth Best Regards. Mojtaba
>
> On Sat, Jul 13, 2019 at 2:55 PM Maryam Baghdadi <maryam.baghdadi at gmail.com>
> wrote:
> >
> > Thank you for your help,
> > I resolved my problem , there was a '+' in public_identity that isn't
> shown in pcap file and just by printing value public_identity in
> I_perform_location_information_request() recognized .
> > I replaced  public_identity = cscf_get_public_identity_from_requri(msg)
> with  cscf_get_to_uri(msg, &public_identity) then recompiled ims_icscf
> module and my problem resolved .
> >
> >
> >
> > On Wed, Jul 10, 2019 at 3:07 PM Mojtaba <mespio at gmail.com> wrote:
> >>
> >> Hello,
> >> of course not, Are you sure the IMPI/IMPU in LRI/LRA message there
> >> are exist exactly in HSS?
> >> Or may they are changed with some prefixes like "tel uri" or "+"
> >> With Regards. Mojtaba
> >>
> >> On Wed, Jul 10, 2019 at 2:05 PM Henning Westerholt <hw at skalatan.de>
> wrote:
> >> >
> >> > Hello Maryam,
> >> >
> >> >
> >> >
> >> > I am not an expert on the FHoss, but just some ideas how to
> investigate it further:
> >> >
> >> >
> >> >
> >> > Do you get some error message in FHoss?
> >> > Can you test with some other tool (maybe with a test script) that the
> FHoss works ok generally?
> >> > Any error message from ICSCF module in the Kamailio logging?
> >> >
> >> >
> >> >
> >> > Cheers,
> >> >
> >> >
> >> >
> >> > Henning
> >> >
> >> >
> >> >
> >> > --
> >> >
> >> > Henning Westerholt - https://skalatan.de/blog/
> >> >
> >> > Kamailio services - https://skalatan.de/services
> >> >
> >> >
> >> >
> >> > From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of
> >> > Maryam Baghdadi
> >> > Sent: Tuesday, July 9, 2019 10:07 AM
> >> > To: Kamailio (SER) - Users Mailing List
> >> > <sr-users at lists.kamailio.org>
> >> > Subject: [SR-Users] kamailio as ICSCF connection with FHoss
> >> >
> >> >
> >> >
> >> > hello,
> >> >
> >> >
> >> >
> >> > I use Kamailio as my Icscf in IMS network .
> >> >
> >> > after receiving Invite Request from SCSCF to ICSCF‌, a LIR request
> sent from ICSCF to FHoss. User_Unknown response received in all states. I
> checked every thing carefully , users are registered and  defined in HSS
> and every configuration done . What's wrong? is it possible that icscf has
> problem? or it can be FHoss bug?
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Kamailio (SER) - Users Mailing List sr-users at lists.kamailio.org
> >> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >>
> >>
> >>
> >> --
> >> --Mojtaba Esfandiari.S
> >>
> >> _______________________________________________
> >> Kamailio (SER) - Users Mailing List
> >> sr-users at lists.kamailio.org
> >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> --
> --Mojtaba Esfandiari.S
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190714/b7523e9b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.png
Type: image/png
Size: 115077 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190714/b7523e9b/attachment.png>


More information about the sr-users mailing list