[OpenSIPS-Users] Question about mediaproxy relay preference

Brett Nemeroff brett at nemeroff.com
Wed Apr 7 17:47:23 CEST 2010


I do agree with Dan as well..

However, I urge you to consider situations where mediaproxy selection
is based on business logic and not just IP statistics.

This may not be the best example, but I have situations where I have a
certain proxies that are reserved for traffic going to/from certain
providers (over VPNs) and it's important that I can specify what
proxies to use based on the provider chosen for a call..

Now that being said, if the relay can tell if it has IP connectivity
to both endpoints, perhaps it's smart enough to figure this out on
it's own ("yes, I can reach both ends of the call and here's my
latency to both sides")



On Wed, Apr 7, 2010 at 10:36 AM, Saúl Ibarra Corretgé
<saul at ag-projects.com> wrote:
> Hi Brett,
>
> On 7/4/10 4:38 PM, Brett Nemeroff wrote:
>> I think this is a really good idea.
>>
>> What about having a mediaproxy modparam for "relay_group".. So a relay
>> group could be "east_coast" or "west_coast" and you can send that as
>> the preference (and OpenSIPs caches the IPs for the group and sends
>> them pre-looked up to dispatcher)
>>
>> Just my $0.02.
>>
>> Also, with preferred relays specified, will non-prefered relays every
>> be picked? I can think of a handful of circumstances where you'd
>> absolutely not want a non-prefered relay to ever be allowed.
>>
>
> Dan is right, as the solution I proposed doesn't fit any possible
> scenario that could come up in the future.
>
> Implementing a set of strategies for distributing the load among the
> relays is the way to go.
>
>
> Regards,
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list