Hi Friends, I have to configure a Kamailio in to meet following requirements
1. PC having 2 NICs (NIC-A and NIC-B) with 2 different IPs (IP-A and IP-B) from 2 different service providers.
Totally 2 different IPs.
NIC-A attached to provider is a private SIP traffic provider and having IP-A. (no internet access) NIC-B attached to internet service provider and having IP-B.
2. I get SIP traffic to IP-A of NIC-A from SIP traffic provider. 3. I need to forward that SIP traffic to another SIP carrier in remote location using IP-B of NIC-B through internet and have the call establish without any issue.
How can I achieve this with single instance of Kamailio running on same machine.
Please advice me.
Best Regards, Roy.
you can create listening sockets on different ip addresses using listen
listen IP-A:IP-A-port listen IP-B:IP-B-port
you can set the $fs (force send socket) which you wanted to use to forward the packets before t_relay
$fs = IP-B:IP-B-port
----- Thanks Varadhan M -- View this message in context: http://sip-router.1086192.n5.nabble.com/Listen-to-to-2-NIC-s-IP-addresses-an... Sent from the Users mailing list archive at Nabble.com.
Hi Vardhan, Thanks for the reply. That means I have to do that in configuration file?
Best Regards, Roy
On Tue, Jul 8, 2014 at 3:01 AM, Varadhan varadhan.work@gmail.com wrote:
you can create listening sockets on different ip addresses using listen
listen IP-A:IP-A-port listen IP-B:IP-B-port
you can set the $fs (force send socket) which you wanted to use to forward the packets before t_relay
$fs = IP-B:IP-B-port
Thanks Varadhan M -- View this message in context: http://sip-router.1086192.n5.nabble.com/Listen-to-to-2-NIC-s-IP-addresses-an... Sent from the Users mailing list archive at Nabble.com.
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