[Serusers] question about relay
Greger V. Teigre
greger at teigre.com
Fri Nov 11 08:28:41 CET 2005
I believe SER resolves all addresses once: at startup. This is for
performance reasons. AFAIK, there are only two ways: make the cluster
dynamic with one IP address or hack a DNS server so that it will return the
same (loadbalanced) NAPTR records (to your cluster) and use the enum module.
It qualifies as a hack over all hacks, though...
g-)
----- Original Message -----
From: "yserge" <yserge at newxt.com>
To: <serusers at lists.iptel.org>
Sent: Thursday, November 10, 2005 7:25 PM
Subject: [Serusers] question about relay
> Hi,
>
> I am using SER as a an entry point for the requests from the network
> and every request from the network is being relayed to another
> ( clusterized ) SIP server ( not a SER ) with multiple IP addresses in
> DNS. The server is running on 4 machines, any number of which can be
> down at any moment of time.
>
> Suppose, the DNS name is "sip.myserver.com".
>
> The incoming requests from the network have SER as host:port of RURI..
>
> I was trying to relay the request using
>
> t_relay_to_udp("sip.myserver.com", "5060"),
>
> but all requests would always go to the same IP.
>
> A question:
>
> Is there any way to make SER relay requests to those IPs in round-robin
> manner? Or can I force SER to make DNS requests before processing each
> request?
>
> Another problem related to this situation, if the SER relays all
> requests to the same IP, and the server represented by that IP goes
> down, I have 100% call failure. Is there any way to avoid that?
>
> thanks,
> Sergei
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list