>>> On 5/31/2010 at 9:55 AM, Mike <l...@virtutel.ca> wrote:
> See  bindaddr here:
> http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf 
> 
If I understand what you want to do, I believe you can do this with IP tables, 
telling it to change the "source" IP of the outgoing packet to whatever you 
want it to be.

I did this for a customer, couple years back, but don't have my hands on the 
commands.  You might be able to google it.

If I can dig up the commands, I will post them.

joe a.

> I have an Asterisk with multiple IP's, on the same subnet. When a call comes
> in, I need to send it back out via SIP, but need that only one IP is used as
> originating IP for all calls.
> For example
> machines has
> 192.168.50.3
> 192.168.50.4
> 192.168.50.5
> ....
> but when I originate the second leg of a call,  the IP address that is
> supposed to be read as source IP must be 192.168.50.5, regardless of how the
> call arrived.
> 
> How do I do that?




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to