Just curious - why do you need to break them up like this? Do you specifically need one extension per instance? If so, why?<div><br></div><div>-MC<br><br><div class="gmail_quote">On Tue, Nov 16, 2010 at 10:37 AM, Jian Ren <span dir="ltr">&lt;<a href="mailto:renjian@gmail.com">renjian@gmail.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>Currently I am assigning one instance to each extension like below:<br><br> &lt;extension name=&quot;us.skypeout&quot;&gt;<br>
      &lt;condition field=&quot;username&quot; expression=&quot;^10(\d{2})$&quot;&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;skype_instance=$1&quot;/&gt;<br>      &lt;/condition&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{11})$&quot;&gt;<br>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>

        &lt;action application=&quot;bridge&quot; data=&quot;skypopen/interface${skype_instance}/$<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br><br>Are there any other ways like to get unused instances from a pool?<br>

I guess it could be something like<br><br>condition instance1 available?<br>bridge instance1<br>condition instance2 available?<br>bridge instance2<br>...<br><br>then there could be much more extensions to share skype out.<br>

<br>Could anyone help?<br><br>Thanks!<br><font color="#888888">Jian<br>
</font><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>
<br></blockquote></div><br></div>