Hi Mojtaba,
Thanks for your answer.
Actually I know what you mean. In my question I skipped all the steps of signaling.
Since my question is to be able to use Kamailio as a P-CSCF node.

So I guess we can install I-CSCF, S-CFCF and HSS in seperate machines (VMs).

I am already aware of the signaling of IMS entities. But I wonder how can I use kamailio as a P-CSCF node. and which modules should I install?
I want to install kamailio as a PCSCF on ubuntu18. 
When I look at some IMS kamailio integration I see all IMS modules are installed. BTW I also tried to install IMS modules on my ubuntu18 but I got some errors during loading some modules as follow:

ERROR: <core> [sr_module.c:582]: load_module(): could not open module </usr/local/kamailio-4.4/lib64/kamailio/modules/cdp.so>: /usr/local/kamailio-4.4/lib64/kamailio/modules/cdp.so: undefined symbol: get_str_hash


ws_frame.c:32:10: fatal error: unistr.h: No such file or directory
 #include <unistr.h>
          ^~~~~~~~~~
compilation terminated.
../../Makefile.rules:97: recipe for target 'ws_frame.o' failed


Thanks & Regards,


On Thu, Aug 16, 2018 at 7:42 AM, Mojtaba <mespio@gmail.com> wrote:
Hello Serkan,
In IMS concept, In while Registration flow, the scscf is selected by
I-CSCF node. Then, When the UE is registered in IMS (SCSCF node), The
SCSCF node would be appear as Service_Record header in SIP body.
The UE is aware about the it's SIP serving in IMS, and when it
originate new call, the PCSCF forward it's call to desired node.
For more information refer to 3gpp documents.
With Regards.Mojtaba

On Wed, Aug 15, 2018 at 4:42 PM, serkan celik <srkancelik@gmail.com> wrote:
> Hi all,
> I want to use Kamailio as a P-CSCF on ubuntu 18.
> Kamailio will be p-cscf and will communicate scscf in another open-ims box.
>
> How can I implement this feature. I have already looked following link.
> However it did not help me since I could not see any example pcscf
> configuration files after installation
>
> https://www.kamailio.org/wiki/tutorials/ims/installation-howto
>
> Regards,
> Serkan
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>



--
--Mojtaba Esfandiari.S

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users