[asterisk-users] Proxying from one server to another

David Gibbons dave at videon-central.com
Wed May 13 09:37:29 CDT 2009


Redirect traffic with iptables like this:

Host ~# iptables -t nat -I PREROUTING -d OLD_PUBLIC_IP -j DNAT --to NEW_PUBLIC_IP

I'm not sure if this will work for SIP. You may need the proxy to change info in the sip messages between server and client.

--Dave


From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Adrian Marsh
Sent: Wednesday, May 13, 2009 8:55 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Proxying from one server to another

Hi All,

I'm trying to find a software package to do the following sip proxy work:

I've an A*k server A that needs to be decommissioned, from the USA, and replaced by server B, in the UK. Both servers are on public internet IPs.
Whilst the client migration happens, I want to divert all the Register traffic from Server A to Server B to catch any clients still left out there.

Unfortunately, the original Clients were configured with static IPs instead of DNS names for the SIP Registrar, so I have to proxy Server A until all the clients have been updated (which might be a long time).

Obviously A*k itself wont do this (as far as I know).  I've looked at siproxyd and party-sip, but with no success so far.
I've also tried using IPtables to redirect at the IP level, but the public IP ranges seem to stop me from achieving this. It works in my local-lan testing, but not on the public servers.

Any ideas?

Thanks,

Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090513/87fe9dcc/attachment.htm 


More information about the asterisk-users mailing list