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"><<a href="mailto:renjian@gmail.com">renjian@gmail.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>Currently I am assigning one instance to each extension like below:<br><br> <extension name="us.skypeout"><br>
<condition field="username" expression="^10(\d{2})$"><br>
<action application="set" data="skype_instance=$1"/><br> </condition><br> <condition field="destination_number" expression="^(\d{11})$"><br> <action application="set" data="hangup_after_bridge=true"/><br>
<action application="bridge" data="skypopen/interface${skype_instance}/$<br> </condition><br> </extension><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>