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? Can I add the two IPs corresponding to my two network cards here?
Thank you
RR
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
Hello,
On 8/2/11 11:19 PM, 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?
if you have just one listen parameter, then it will listen only on that respective IP.
Can I add the two IPs corresponding to my two network cards here?
You can add as many listen parameter as you need, for example:
listen=109.239.50.67 listen=109.239.50.68
and kamailio will listen on the two IP addresses.
Cheers, Daniel
Thank you!
And isn't there an impact on the line
modparam("pcscf","ipv4_for_signaling","192.168.106.162")
las well?How do I add my second IP?
Thank you.
RR
El 3 de agosto de 2011 00:23, Daniel-Constantin Mierla miconda@gmail.comescribió:
Hello,
On 8/2/11 11:19 PM, 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?
if you have just one listen parameter, then it will listen only on that respective IP.
Can I add the two IPs corresponding to my two network cards here?
You can add as many listen parameter as you need, for example:
listen=109.239.50.67 listen=109.239.50.68
and kamailio will listen on the two IP addresses.
Cheers, Daniel
-- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
And this one too : modparam("pcscf","gg_ip","192.168.106.162")
Thank you.
RR
2011/8/4 Rocío Ruz rociorsr@gmail.com
Thank you!
And isn't there an impact on the line
modparam("pcscf","ipv4_for_signaling","192.168.106.162")
las well?How do I add my second IP?
Thank you.
RR
El 3 de agosto de 2011 00:23, Daniel-Constantin Mierla miconda@gmail.comescribió:
Hello,
On 8/2/11 11:19 PM, 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?
if you have just one listen parameter, then it will listen only on that respective IP.
Can I add the two IPs corresponding to my two network cards here?
You can add as many listen parameter as you need, for example:
listen=109.239.50.67 listen=109.239.50.68
and kamailio will listen on the two IP addresses.
Cheers, Daniel
-- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
I am not familiar with IMS features, please refer to the respective module documentation.
regards Klaus
Am 04.08.2011 17:32, schrieb Rocío Ruz:
Thank you!
And isn't there an impact on the line
modparam("pcscf","ipv4_for_signaling","192.168.106.162")
las well?How do I add my second IP?
Thank you.
RR
El 3 de agosto de 2011 00:23, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> escribió:
Hello, On 8/2/11 11:19 PM, 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?
if you have just one listen parameter, then it will listen only on that respective IP.
Can I add the two IPs corresponding to my two network cards here?
You can add as many listen parameter as you need, for example: listen=109.239.50.67 listen=109.239.50.68 and kamailio will listen on the two IP addresses. Cheers, Daniel -- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat http://linkedin.com/in/miconda -- http://twitter.com/miconda
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