Hello,

you can configure kamailio to listen only on the IP you want -- see the listen global parameter. If you need to listen on many IPs, then you can set the outgoing socket via force_send_socket(...) or assignment to $fs variable.

Cheers,
Daniel


On 13/03/2017 05:05, ysuryas . wrote:
I have configured kamailio (192.168.56.102) and freeswitch(192.168.56.103) in separate virtualboxes

when making a call, the invite goes to proxy and it is forwarded to freeswitch but 
response from freeswitch is "unreachable port" attached the wireshark trace:

I don't why 10.0.2.15 is making the Invite to freeswitch, i was expecting 192.168.56.102 to do that.

UA -> 192.168.56.102 -> 192.168.56.103


Any suggestions on this?


Thanks,
Surya


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com