<div class="gmail_quote">On Thu, Aug 16, 2012 at 1:28 PM, Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div><div class="h5"><br>
On Aug 16, 2012, at 10:17 AM, SamyGo wrote:<br>
<br>
> Hello,<br>
><br>
> I want to design a topology where I've multiple openSIPS + media-dispatcher servers pointing to different host(s) for the media-relays. How is this going to work ?<br>
><br>
> [OpenSIPS+ MP-Dispatcher Server-1] <===> [relay-host-A], [relay-host-B], [relay-host-C]<br>
> [OpenSIPS+ MP-Dispatcher Server-2] <===> [relay-host-B], [relay-host-C], [relay-host-A]<br>
><br>
> I can see the directive for media-relay IP in the mediaproxy/config.ini file.<br>
><br>
<br>
</div></div>It works the opposite way, the relays are the ones connecting to the dispatchers. Set the list of dispatchers (separated by spaces) you want a to connect to in the [Relay] section:<br>
<br>
[Relay]<br>
<br>
dispatchers = 1.2.3.4 <a href="http://mp1.domain.com" target="_blank">mp1.domain.com</a> <a href="http://mp2.domain.com" target="_blank">mp2.domain.com</a><br>
<br>
Check the documentation in the sample config, it contains a more thorough explanation how how the lookups are performed.<br>
<br>
<br>
Regards,<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><div><br></div><div>Thats great, so in simpler terms I'l be setting up mediaproxy on the relay servers and set the dispatcher = setting to "MP-Dispatcher Server-1 MP-Dispatcher Server-2" </div>
<div>Then I will be starting media-proxy-relay on relay-host-A/B/C servers. </div><div><br></div><div>The dispatcher on each OpenSIPS server will sense all the relays connecting to it and use these automatically !?</div><div>
<br></div><div>Is this right ?</div><div><br>Thanks for your guidance.</div><div><br></div><div>BR</div><div>Sammy Go.<br><br></div>