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 <aj.shirvani@gmail.com wrote:
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 with iFC or not, if it matched kamailio forward the request to the application server.
But when application server send request to S-CSCF, isc_from_as('orig') return false and I couldn't forward request to the target UE.

Regards,
Ali

On Wed, Jul 24, 2019 at 3:45 PM Mojtaba <mespio@gmail.com> wrote:
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 Best Regards.

On Wed, Jul 24, 2019 at 2:48 PM Ali Shirvani <aj.shirvani@gmail.com> wrote:
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 you please point me to the technical specification that implemented in IMS_ISC module?

Regards,
Ali
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


--
--Mojtaba Esfandiari.S
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev