[asterisk-users] how to route outgoing calls on IP-level

Alex Balashov abalashov at evaristesys.com
Wed Sep 19 10:29:55 CDT 2007


Kate,

Are the IP interfaces on those NICs on the same subnet?

The simplest way to do this is to pin static routes to various SIP 
destinations in your kernel routing table over one interface or the
other, e.g. something like:

   route add -host w.x.y.z gw ethX

Then you can send a call to SIP peer w.x.y.z and it will go over whichever 
NIC in accordance with your preference.

I do not know of a way to control this from within Asterisk itself, and
believe it unlikely to be possible.

Good luck,

-- Alex

--
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : +1-678-954-0670
Direct : +1-678-954-0671



More information about the asterisk-users mailing list