Rocío Ruz wrote:
Hello,

My server has two different network cards with different IPs. I want kamailio to use both; the network card to be used depends on the destination. My problem is that I have to add an IP in the configuration file kamailio.cfg:

listen=109.239.50.67
Will Kamailio listen only to packets sent to this IP?

Yes.

Can I add the two IPs corresponding to my two network cards here?

Yes. Thus, just add as many listen statements as you need, e.g.:

listen=udp:109.239.50.67:5060
listen=udp:1.2.3.4:5060
listen=udp:5.6.7.8:5060

Usually you also have to set mhomed=1 for multi-homed setups.

regards
Klaus



Thank you

RR


------------------------------------------------------------------------

_______________________________________________
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


_______________________________________________
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

Reply via email to