Installing Kamailio from source code. It will teach you how to compile Kamailio with required modules,Installing all dependencies, Creating systemd services, setup Kamailio database and testing it.
Support computingforgeeks.com by downloading this document.