Re: [asterisk-users] Proxying from one server to another

2009-05-14 Thread Eric Chamberlain


On May 13, 2009, at 5:54 AM, Adrian Marsh wrote:


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?



Do your SIP clients support SIP redirects?

If so, you might want to consider configuring server A to issue 301  
redirects pointing to server B.



--
Eric Chamberlain, Founder
RF.com - http://RF.com/







___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

[asterisk-users] Proxying from one server to another

2009-05-13 Thread Adrian Marsh
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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Proxying from one server to another

2009-05-13 Thread David Gibbons
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-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adrian Marsh
Sent: Wednesday, May 13, 2009 8:55 AM
To: asterisk-users@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
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Proxying from one server to another

2009-05-13 Thread Dan Caescu
I would try with a b2bua. 

Here's a good (imho) example:

 

http://www.b2bua.org/

 

As a second step to take, I would do automatic tftp/http provisioning for
the devices you have (unless you are talking about softphones). This way you
can specify whichever sip server you want for your devices.

 

Dan

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David Gibbons
Sent: Wednesday, May 13, 2009 10:37 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Proxying from one server to another

 

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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adrian Marsh
Sent: Wednesday, May 13, 2009 8:55 AM
To: asterisk-users@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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Proxying from one server to another

2009-05-13 Thread Adrian Marsh
Hi David,

 

Thanks for the reply. That's pretty much what I've already tried, but
with no luck on the production machines.  In testing it worked, but the
public IPs and single NICs were causing issues (we believe)

So I was looking for a proxy-type solution.

 

Adrian

 



From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David
Gibbons
Sent: 13 May 2009 15:37
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Proxying from one server to another

 

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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adrian
Marsh
Sent: Wednesday, May 13, 2009 8:55 AM
To: asterisk-users@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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Proxying from one server to another

2009-05-13 Thread Gavin Henry
Why not use OpenSIPS or Kamailio in stateful mode?

You will need to look at how media is handled though, but a SIP proxy
will work easily.

On 13/05/2009, Adrian Marsh adrian.ma...@ubiquisys.com wrote:
 Hi David,



 Thanks for the reply. That's pretty much what I've already tried, but
 with no luck on the production machines.  In testing it worked, but the
 public IPs and single NICs were causing issues (we believe)

 So I was looking for a proxy-type solution.



 Adrian



 

 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David
 Gibbons
 Sent: 13 May 2009 15:37
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Proxying from one server to another



 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-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adrian
 Marsh
 Sent: Wednesday, May 13, 2009 8:55 AM
 To: asterisk-users@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



-- 
Sent from my mobile device

http://www.suretecsystems.com/services/openldap/

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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