I solved this problem by changing the 127.0.0.1 in rtpengine startup config into 10.109.247.90 which is the eth0 address of the rtpengine machine. Now Kamailio successfully connect to the rtpengine daemon.