Hi All, I am running Freeswitch with Blue.Box as a front end. Is there a way to add an inbound route that would support any DID as I did within Asterisk? I don't want to have to add all our DIDs to users right off the bat? Thanks, Billy
I would ask in the #2600hz IRC channel or on their mailing lists. BB uses a database to store dialplan information so it would have to be configured somehow from within BB. I know the stock FS XML dialplan can easily do this, but when you add a GUI layer in between the admin and the configuration it can make stuff like this a bit more troublesome. -MC On Mon, Sep 26, 2011 at 6:55 PM, Billy L. Irwin <irwin.billy@gmail.com>wrote:
Hi All,
I am running Freeswitch with Blue.Box as a front end. Is there a way to add an inbound route that would support any DID as I did within Asterisk? I don't want to have to add all our DIDs to users right off the bat?
Thanks,
Billy
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I will definitely go there and see, but in the mean time can you tell me how you do it with FS alone? That will likely point me in the right direction plus I am trying to be familiar with both ways just in case. Thanks, Billy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, September 27, 2011 11:54 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Any DID I would ask in the #2600hz IRC channel or on their mailing lists. BB uses a database to store dialplan information so it would have to be configured somehow from within BB. I know the stock FS XML dialplan can easily do this, but when you add a GUI layer in between the admin and the configuration it can make stuff like this a bit more troublesome. -MC On Mon, Sep 26, 2011 at 6:55 PM, Billy L. Irwin <irwin.billy@gmail.com> wrote: Hi All, I am running Freeswitch with Blue.Box as a front end. Is there a way to add an inbound route that would support any DID as I did within Asterisk? I don't want to have to add all our DIDs to users right off the bat? Thanks, Billy FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
<condition field="destination_number" expression="(\d{11})"/>
Or however many digits your carrier sends it to you as. On Tue, Sep 27, 2011 at 9:44 AM, Billy L. Irwin <irwin.billy@gmail.com>wrote:
I will definitely go there and see, but in the mean time can you tell me how you do it with FS alone? That will likely point me in the right direction plus I am trying to be familiar with both ways just in case. Thanks, Billy
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, September 27, 2011 11:54 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Any DID
I would ask in the #2600hz IRC channel or on their mailing lists. BB uses a database to store dialplan information so it would have to be configured somehow from within BB. I know the stock FS XML dialplan can easily do this, but when you add a GUI layer in between the admin and the configuration it can make stuff like this a bit more troublesome.
-MC
On Mon, Sep 26, 2011 at 6:55 PM, Billy L. Irwin <irwin.billy@gmail.com> wrote:
Hi All,
I am running Freeswitch with Blue.Box as a front end. Is there a way to add an inbound route that would support any DID as I did within Asterisk? I don't want to have to add all our DIDs to users right off the bat?
Thanks,
Billy
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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: <extension name="inbound DIDs"> <condition field="destination_number" expression="^1?(21299935\d\d)$"> <action application="transfer" data="1000 XML default"/> </condition> </extension> 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. -MC On Tue, Sep 27, 2011 at 9:44 AM, Billy L. Irwin <irwin.billy@gmail.com>wrote:
I will definitely go there and see, but in the mean time can you tell me how you do it with FS alone? That will likely point me in the right direction plus I am trying to be familiar with both ways just in case. Thanks, Billy
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, September 27, 2011 11:54 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Any DID
I would ask in the #2600hz IRC channel or on their mailing lists. BB uses a database to store dialplan information so it would have to be configured somehow from within BB. I know the stock FS XML dialplan can easily do this, but when you add a GUI layer in between the admin and the configuration it can make stuff like this a bit more troublesome.
-MC
On Mon, Sep 26, 2011 at 6:55 PM, Billy L. Irwin <irwin.billy@gmail.com> wrote:
Hi All,
I am running Freeswitch with Blue.Box as a front end. Is there a way to add an inbound route that would support any DID as I did within Asterisk? I don't want to have to add all our DIDs to users right off the bat?
Thanks,
Billy
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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. On Tue, Sep 27, 2011 at 10:10 AM, Michael Collins <msc@freeswitch.org>wrote:
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:
<extension name="inbound DIDs"> <condition field="destination_number" expression="^1?(21299935\d\d)$"> <action application="transfer" data="1000 XML default"/> </condition> </extension>
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.
-MC
On Tue, Sep 27, 2011 at 9:44 AM, Billy L. Irwin <irwin.billy@gmail.com>wrote:
I will definitely go there and see, but in the mean time can you tell me how you do it with FS alone? That will likely point me in the right direction plus I am trying to be familiar with both ways just in case. Thanks, Billy
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, September 27, 2011 11:54 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Any DID
I would ask in the #2600hz IRC channel or on their mailing lists. BB uses a database to store dialplan information so it would have to be configured somehow from within BB. I know the stock FS XML dialplan can easily do this, but when you add a GUI layer in between the admin and the configuration it can make stuff like this a bit more troublesome.
-MC
On Mon, Sep 26, 2011 at 6:55 PM, Billy L. Irwin <irwin.billy@gmail.com> wrote:
Hi All,
I am running Freeswitch with Blue.Box as a front end. Is there a way to add an inbound route that would support any DID as I did within Asterisk? I don't want to have to add all our DIDs to users right off the bat?
Thanks,
Billy
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Billy L. Irwin
-
Brad Mina
-
Michael Collins