Kamailio will usually not (but some corner cases aside) alter the Call-ID of a call. Please update to a more recent version (e.g. from 5.3.x or 5.4.x) to see if your problem is still there. Close this one as it is for a really old kamailio version, long end of life.