Hello,
I'm having an issue where this doesn't work:
#!trydef PRODUCT "Foo"
if( $hdr("X-" + PRODUCT + "-Transport") != "" ) {
add_uri_param( $hdr("X-" + PRODUCT + "-Transport") );
}
It seems Kamailio doesn't like the concatenation within the $hdr().
Concatenation does work in other places
According to TS 24.229, The AS could send request to SCSCF, too.
But some rules shall be obeied.
For example did you add P-Asserted-Identity header to your request?
With Best Regards.Mojtaba
On Wed, 24 Jul 2019, 17:19 Ali Shirvani Hello Mojtaba,
>
> Thanks for your reply. You are completely
Hello Mojtaba,
Thanks for your reply. You are completely correct, my current configuration
work fine when request initiated from UEs, but I want to handle SIP
requests that initiated by application server.
When UE sends request to S-CSCF, kamailio fetch iFC from HSS and check if
the request match
Hello Ali,
The SCSCF has IFC service for decision what it should do with incoming SIP
message. During check all rules in IFC, If it match with one or some rules,
actually it marked with that rules. Then the real meaning of marking is the
SIP message is matched with one or some rules in IFC.
With
Hi Ali,
Looking through the source code, its not that the port for I-CSCF is hard coded
to 5060, its just that it defaults to 5060 if the following is set in the
Kamailio.cfg file: dns_try_naptr=no which we had left it disabled.
Well I assumed I had all the DNS worked out, I had NAPTR records
Hi all,
I read some portion of imc_isc_mod.c, specially isc_from_as function. In
that function there is some function call that searching for some marks in
the SIP message. Also I read section 5.7.3 from TS 24.229 but I didn't find
the marking mechanism that used in isc_from_as function.
Would
I upgraded to version 5.2.3 and problem is still there. IPv6 address is
present in Contact header in IPv4 packets. The only difference between
5.2.3 and 4.4.4 is that IPv6 address is in square brackets.
On Friday 19 July 2019 10:19:29 Pali Rohár wrote:
> Ok, I will try a new version (but I
Hello Pali,
thanks for the update, still a strange problem.. Is the IPv6 address one
that Kamailio uses as listen adress or does Kamailio use an address from
the earlier sip msg flow with linphone? Can you check the sip messages
e.g. with "ngrep -d any -qt -W byline "" port 5060?
Cheers,
Hello Anuran,
things are a bit mixed up here. ;-)
The registrar module brings a pre-defined event-route that you can use to
execute your custom cfg script code when the event triggers:
https://www.kamailio.org/docs/modules/5.2.x/modules/registrar.html#idm1028508300
This is a own route, you