<div class="gmail_quote">On Thu, Aug 16, 2012 at 1:28 PM, Saúl Ibarra Corretgé <span dir="ltr">&lt;<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>&gt;</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>
&gt; Hello,<br>
&gt;<br>
&gt; I want to design a topology where I&#39;ve multiple openSIPS + media-dispatcher servers pointing to different host(s) for the media-relays. How is this going to work ?<br>
&gt;<br>
&gt; [OpenSIPS+ MP-Dispatcher Server-1] &lt;===&gt;  [relay-host-A], [relay-host-B], [relay-host-C]<br>
&gt; [OpenSIPS+ MP-Dispatcher Server-2] &lt;===&gt;  [relay-host-B], [relay-host-C], [relay-host-A]<br>
&gt;<br>
&gt; I can see the directive for media-relay IP in the mediaproxy/config.ini file.<br>
&gt;<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&#39;l be setting up mediaproxy on the relay servers and set the dispatcher = setting to &quot;MP-Dispatcher Server-1 MP-Dispatcher Server-2&quot; </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>