[OpenSIPS-Users] Question about mediaproxy relay preference
Adrian Georgescu
ag at ag-projects.com
Fri Apr 2 09:30:14 CEST 2010
You have control over which MP is selected by setting an AVP in the
proxy routing logic. So you can make some checks about your topology
and then fetch the relay address from a database.
Adrian
On Apr 2, 2010, at 1:46 AM, Henk Hesselink wrote:
> We're moving our mediaproxies to 2.0 and have run into the
> following: in
> the old setup we used the priority value in the mediaproxy SRV records
> to prefer local (same datacenter) relays but to failover to a
> different
> datacenter if all local relays were unavailable. We then used the SRV
> weight value to load balance between different capacity relays within
> the datacenter.
>
> With 2.0 using conntrack we don't need to load balance anymore, but
> we'd
> still like to be able to prefer a local relay. Right now a call can
> be
> completely in one datacenter and yet have the relay in a different
> one,
> causing unnecessary latency.
>
> Ideally when a dispatcher sees that an endpoint of a call is on the
> same subnet as any of its relays, then it should prefer those relays.
> Is something like that possible?
>
> Regards,
>
> Henk Hesselink
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list