in kamailio you need to change the contact header by adding fs_path=sip:your.kamailio.ip.address:your_kamailio_port