Had to install kamailio and rtpengine on centos8 recently… hopefully this saves you some time:

https://github.com/fredposner/scripts/blob/master/kamailio/centos8_install.md