[OpenSIPS-Users] Redirect to independent servers

Gabriel Georgescu gabrielgeo99 at gmail.com
Thu Aug 13 09:25:57 CEST 2009


Thank you for your detailed answer Brett!
The problem with this additional X-Original-IP header is that it will 
not be recognized by the software on the destination voip server. And 
I cannot modify that software.


At 12:58 AM 8/13/2009, Brett Nemeroff wrote:
>Gabriel,
>You can't really set a call limit if you perform the redirects 
>statelessly. Basically the server wouldn't know the call count per 
>server if you did that.
>
>What I see most people do here is to add some sort of header like 
>X-Original-IP with the original IP of the request. Then on the 
>destination server(s), use that header if it is present.
>
>Of course, you should really remove any existing X-Original-IP 
>headers before adding one to keep users from spoofing.
>
>-Brett
>
>On Wed, Aug 12, 2009 at 2:52 PM, Gabriel Georgescu 
><<mailto:gabrielgeo99 at gmail.com>gabrielgeo99 at gmail.com> wrote:
>Hi List,
>
>Can anybody give me an ideea? I try to implement a load balancing
>scenario or call distribution to a farm of independent voip servers,
>but the original caller IP has to be preserved. Because these servers
>have their own billing based on original caller IP.
>I understand that it might be possible to do this by answering to the
>initial request with a 'redirect' message specifying eafch time the
>new server IP.
>Is this working, or is this the best way to do it?
>Also I want to be able to probe if the independent servers are alive
>and set a maximum calls redirected/minute limit for each server.
>Can all this be done with opensips?
>
>Thanks in advance,
>Gabriel
>
>
>_______________________________________________
>Users mailing list
><mailto:Users at lists.opensips.org>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>_______________________________________________
>Users mailing list
>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090813/02a1d757/attachment.htm 


More information about the Users mailing list