Just for clarification, the method I mentioned will take any 11 digit invite and try and process it - Michael's will match all invites for 21299935xx.<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 10:10 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">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;">In FreeSWITCH you'd create a condition and match on a regex that represents all your DIDs. So, depending on your DID range, you could do something like this:<div>
<br></div><div><extension name="inbound DIDs"></div>
<div> <condition field="destination_number" expression="^1?(21299935\d\d)$"></div><div> <action application="transfer" data="1000 XML default"/></div><div> </condition></div>
<div></extension></div><div><br></div><div>So if your DIDs are all in area code 213 and prefix 999 and you have the block of 3500-3599 then the above expression would match and then send any of those inbound calls to user 1000.</div>
<div><br></div><div><font color="#888888">-MC</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 9:44 AM, Billy L. Irwin <span dir="ltr"><<a href="mailto:irwin.billy@gmail.com" target="_blank">irwin.billy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I will definitely go there and see, but in the mean time can you tell me how<br>
you do it with FS alone? That will likely point me in the right direction<br>
plus I am trying to be familiar with both ways just in case. Thanks, Billy<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Michael<br>
Collins<br>
Sent: Tuesday, September 27, 2011 11:54<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] Any DID<br>
<div><div></div><div><br>
I would ask in the #2600hz IRC channel or on their mailing lists. BB uses a<br>
database to store dialplan information so it would have to be configured<br>
somehow from within BB. I know the stock FS XML dialplan can easily do this,<br>
but when you add a GUI layer in between the admin and the configuration it<br>
can make stuff like this a bit more troublesome.<br>
<br>
-MC<br>
<br>
<br>
On Mon, Sep 26, 2011 at 6:55 PM, Billy L. Irwin <<a href="mailto:irwin.billy@gmail.com" target="_blank">irwin.billy@gmail.com</a>><br>
wrote:<br>
<br>
<br>
Hi All,<br>
<br>
I am running Freeswitch with Blue.Box as a front end. Is there a way<br>
to add<br>
an inbound route that would support any DID as I did within<br>
Asterisk? I<br>
don't want to have to add all our DIDs to users right off the bat?<br>
<br>
Thanks,<br>
<br>
Billy<br>
<br>
<br>
<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>
<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>
<br>
<br>
<br>
<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>
</div></div></blockquote></div><br></div></div></div>
<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>