in my implementation, i would use 2 separate conditions that looks like this:<br><br>&lt;condition field=&quot;destination_number&quot; data=&quot;(51\d*)&quot;\&gt;<br>   &lt;action application=&quot;bridge&quot; data=&quot;sofia/sip/$1@222.333.444.555&quot;/&gt;<br>
<br>&lt;condition field=&quot;destination_number&quot; data=&quot;(63\d*)&quot;\&gt;<br>
   &lt;action application=&quot;bridge&quot; data=&quot;sofia/sip/$1@111.222.333.333&quot;/&gt;<br>
<br><br><div class="gmail_quote">On Mon, Jul 27, 2009 at 2:42 PM, Edmar Cruz <span dir="ltr">&lt;<a href="mailto:darklion11@yahoo.com">darklion11@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
Hi FS Users,<br>
<br>
     I just want to try multiple gateways. It works actually like this...<br>
<br>
    &lt;action application= &quot;bridge&quot; data=&quot;sofia/sip/51@222.333.444.555 |<br>
sofia/sip/63@111.222.333.3333&quot;/&gt;<br>
<br>
    But I test call like 5133333 at 222.333.444.555, it also calls the<br>
second bridge 111.222.333.333.<br>
<br>
   It there any way to determine which prefix will call to a bridge<br>
specified.<br>
<br>
    E.g.<br>
<br>
    for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not<br>
at the second bridge and vice versa. Please help..<br>
--<br>
</div>View this message in context: <a href="http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.html" target="_blank">http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.html</a><br>

<div><div></div><div class="h5">Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>