[asterisk-users] How to use one single IP as origination
joea at j4computers.com
joea at j4computers.com
Thu Jun 3 14:37:11 CDT 2010
>>> On 5/31/2010 at 9:55 AM, Mike <list at 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?
More information about the asterisk-users
mailing list