[Freeswitch-users] Multitenancy

Diego Viola diego.viola at gmail.com
Wed Sep 23 11:10:54 PDT 2009


Should I delete the directory "default" and default.xml when I copy default
to foo.org and bar.org etc?

Diego

On Wed, Sep 23, 2009 at 2:11 PM, Peder <peder at networkoblivion.com> wrote:

> That's a good idea.  I thought about using a DB, but I was going to have to
> use a lua script to look stuff up.  I didn't think about easyroute or lcr.
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rupa
> Schomaker
> Sent: Wednesday, September 23, 2009 8:47 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] Multitenancy
>
> Use something like mod_easyroute to consult a database of DIDs.  If
> you host the DID it'll give you a route to dial out.  If not, route
> out your gateway.
>
> Or load your lcr tables with your own DIDs.  Consult mod_lcr and use
> it's dialstring.  It'll prefer longer prefix matches, so you will
> always win with your own customers.
>
> On Wed, Sep 23, 2009 at 7:24 AM, Peder <peder at networkoblivion.com> wrote:
> > So if you do this, how do you call between contexts?   Say you have 100
> > tenants on one box each with their own domain and they are all 4 digit
> for
> > local dialing.  If they call a 10 digit number like they are calling
> > outbound and it is another tenant on the same box, they don’t want to go
> out
> > and back in, they just want to be bridged over to the other context.  I
> > imagine you need to create a file for each context and add every other
> > context and did to it to check if they are on the same box, otherwise
> dial
> > outbound to the PSTN.  That doesn’t scale very well though since if there
> > are 100 tenants, and you add another, you need to modify the other 100
> > contexts to add the new DIDs.  Or is there some built in way to do this
> > easily?
> >
> >
> >
> > From: freeswitch-users-bounces at lists.freeswitch.org
> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> Brian
> > West
> > Sent: Wednesday, September 23, 2009 12:18 AM
> > To: freeswitch-users at lists.freeswitch.org
> > Subject: Re: [Freeswitch-users] Multitenancy
> >
> >
> >
> > Then setup two domains in your directory and setup proper DNS its really
> > just that simple.
> >
> >
> >
> > /b
> >
> >
> >
> > On Sep 23, 2009, at 12:11 AM, Diego Viola wrote:
> >
> > I want user 1000-1010 to belong to foo.org and 2000-2020 to belong
> > to bar.org, and I want both of those domains to have their own
> > dialplan/context.
> >
> >
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
>
>
> --
> -Rupa
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090923/5e2b5bf6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list