I changed to use pipe in the bridge(saw the wiki link in another post), something like below:<div><br><div><div><div> <extension name="us.skypeout"></div><div> <condition field="destination_number" expression="^(\d{11})$"></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="bridge" data="skypopen/interface00/+$1|skypopen/interface01/+$1|skypopen/interface02/+$1|skypopen/interface03/+$1"/></div>
<div> </condition></div><div> </extension></div></div><div><br></div><div>Seems to work, is this the correct way?</div><div>Thanks!</div><br><div class="gmail_quote">On Thu, Nov 18, 2010 at 7:32 PM, 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;">No, I don't. That's why I am asking here for a better solution.<div>Thanks!</div><div>Jian<div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Wed, Nov 17, 2010 at 5:37 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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"><div><div></div><div>On Tue, Nov 16, 2010 at 10:37 AM, Jian Ren <span dir="ltr"><<a href="mailto:renjian@gmail.com" target="_blank">renjian@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>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></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div>
</blockquote></div><br></div></div>