Hello all, How do I configure multi tenant in FS? For example, I want some users to be able to register only with their own domain. Ie: Users: 1000-1010 Domain: foo.org Users: 2000-2010 Domain: bar.org But 1000-1010 shouldn't work with bar.org or 2000-2010 shouldn't work with foo.org. Any ideas how to do that?
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. On Wed, Sep 23, 2009 at 4:57 AM, Diego Viola <diego.viola@gmail.com> wrote:
Hello all,
How do I configure multi tenant in FS?
For example, I want some users to be able to register only with their own domain.
Ie:
Users: 1000-1010 Domain: foo.org
Users: 2000-2010 Domain: bar.org
But 1000-1010 shouldn't work with bar.org or 2000-2010 shouldn't work with foo.org.
Any ideas how to do that?
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.
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 23, 2009 12:18 AM To: freeswitch-users@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 <http://foo.org/> and 2000-2020 to belong to bar.org <http://bar.org/> , and I want both of those domains to have their own dialplan/context.
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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 23, 2009 12:18 AM To: freeswitch-users@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@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
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker Sent: Wednesday, September 23, 2009 8:47 AM To: freeswitch-users@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@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 dont 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 doesnt 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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 23, 2009 12:18 AM To: freeswitch-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker Sent: Wednesday, September 23, 2009 8:47 AM To: freeswitch-users@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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 23, 2009 12:18 AM To: freeswitch-users@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@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@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
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile. Thanks for the tip Brian :). Diego On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org> wrote:
Thats up to you :P /b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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
Ok I have configured the two domains with their own directory and I can register fine with them now. But I need to configure two different dialplans with their own profiles. How do I tell a specific domain to use a specific profile/dialplan? Thanks, Diego On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com> wrote:
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org> wrote:
Thats up to you :P /b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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
s/directory/directories/ Should I use "context" for that? On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com> wrote:
Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com>wrote:
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org> wrote:
Thats up to you :P /b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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
Do I specific the context as a per-user thing, can I specific the context as a per-domain way? Diego On Wed, Sep 23, 2009 at 7:42 PM, Diego Viola <diego.viola@gmail.com> wrote:
s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com>wrote:
Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com>wrote:
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org>wrote:
Thats up to you :P /b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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 prefer to specify the context as a per-domain so it affects all the users on the domain directly... On Wed, Sep 23, 2009 at 7:48 PM, Diego Viola <diego.viola@gmail.com> wrote:
Do I specific the context as a per-user thing, can I specific the context as a per-domain way?
Diego
On Wed, Sep 23, 2009 at 7:42 PM, Diego Viola <diego.viola@gmail.com>wrote:
s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com>wrote:
Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com>wrote:
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org>wrote:
Thats up to you :P /b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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
Can you next time pause a few moments... Think about what you're sending and send ONE email with your questions? This 10 emails from you replying to yourself things looks like you're a crazy man! :P /b PS: ask on IRC or mailing list NOT BOTH please. On Sep 23, 2009, at 2:48 PM, Diego Viola wrote:
I prefer to specify the context as a per-domain so it affects all the users on the domain directly...
On Wed, Sep 23, 2009 at 7:48 PM, Diego Viola <diego.viola@gmail.com> wrote: Do I specific the context as a per-user thing, can I specific the context as a per-domain way?
Diego
On Wed, Sep 23, 2009 at 7:42 PM, Diego Viola <diego.viola@gmail.com> wrote: s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com> wrote: Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com> wrote: I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org> wrote: Thats up to you :P
/b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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
Ok, sorry for that and thanks for the help :). Diego On Wed, Sep 23, 2009 at 8:09 PM, Brian West <brian@freeswitch.org> wrote:
Can you next time pause a few moments... Think about what you're sending and send ONE email with your questions? This 10 emails from you replying to yourself things looks like you're a crazy man! :P /b PS: ask on IRC or mailing list NOT BOTH please.
On Sep 23, 2009, at 2:48 PM, Diego Viola wrote:
I prefer to specify the context as a per-domain so it affects all the users on the domain directly...
On Wed, Sep 23, 2009 at 7:48 PM, Diego Viola <diego.viola@gmail.com>wrote:
Do I specific the context as a per-user thing, can I specific the context as a per-domain way?
Diego
On Wed, Sep 23, 2009 at 7:42 PM, Diego Viola <diego.viola@gmail.com>wrote:
s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com>wrote:
Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com>wrote:
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org>wrote:
Thats up to you :P /b
On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:
Should I delete the directory "default" and default.xml when I copy default to foo.org and bar.org etc?
Diego
_______________________________________________ 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
This is how I went and made the multi-tenant, this config will simply create two users: 1000@company-a.org and 1000@company-b.org. It also has two dialplan/context for each domain, so if the 1000@company-a.org user tries to dial a extension, it will go and look in the company-a.org context/dialplan, etc. http://pastebin.freeswitch.org/10513 http://pastie.org/635706 Hope that helps someone. Diego On Wed, Sep 23, 2009 at 8:22 PM, Diego Viola <diego.viola@gmail.com> wrote:
Ok, sorry for that and thanks for the help :).
Diego
On Wed, Sep 23, 2009 at 8:09 PM, Brian West <brian@freeswitch.org> wrote:
Can you next time pause a few moments... Think about what you're sending and send ONE email with your questions? This 10 emails from you replying to yourself things looks like you're a crazy man! :P /b PS: ask on IRC or mailing list NOT BOTH please.
On Sep 23, 2009, at 2:48 PM, Diego Viola wrote:
I prefer to specify the context as a per-domain so it affects all the users on the domain directly...
On Wed, Sep 23, 2009 at 7:48 PM, Diego Viola <diego.viola@gmail.com>wrote:
Do I specific the context as a per-user thing, can I specific the context as a per-domain way?
Diego
On Wed, Sep 23, 2009 at 7:42 PM, Diego Viola <diego.viola@gmail.com>wrote:
s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com>wrote:
Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
On Wed, Sep 23, 2009 at 6:52 PM, Diego Viola <diego.viola@gmail.com>wrote:
I was having some issues with DNS, I tried to register with the new directory and domain but I got "can't find user" until I commented force-register-domain and force-register-db-domain from the profile.
Thanks for the tip Brian :).
Diego
On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org>wrote:
> Thats up to you :P > /b > > On Sep 23, 2009, at 1:10 PM, Diego Viola wrote: > > Should I delete the directory "default" and default.xml when I copy > default to foo.org and bar.org etc? > > Diego > > > > _______________________________________________ > 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
Someone already wikifyed it for me =D http://wiki.freeswitch.org/wiki/Multiple_Companies Thanks Brian :) On Tue, Sep 29, 2009 at 9:49 PM, Brian West <brian@freeswitch.org> wrote:
Why not start a wiki page on the topic?
/b
On Sep 29, 2009, at 4:33 PM, Diego Viola wrote:
Hope that helps someone.
Diego
_______________________________________________ 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
You really don't have too but you can set a user_context on each user in the domain or on the domain level to specify the domain's or user's context. /b On Sep 23, 2009, at 2:40 PM, Diego Viola wrote:
Ok I have configured the two domains with their own directory and I can register fine with them now.
But I need to configure two different dialplans with their own profiles.
How do I tell a specific domain to use a specific profile/dialplan?
Thanks,
Diego
I know I could create different domains on the directory but how do I tell a user to belong to a specific domain? On Wed, Sep 23, 2009 at 5:11 AM, Diego Viola <diego.viola@gmail.com> 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.
On Wed, Sep 23, 2009 at 4:57 AM, Diego Viola <diego.viola@gmail.com>wrote:
Hello all,
How do I configure multi tenant in FS?
For example, I want some users to be able to register only with their own domain.
Ie:
Users: 1000-1010 Domain: foo.org
Users: 2000-2010 Domain: bar.org
But 1000-1010 shouldn't work with bar.org or 2000-2010 shouldn't work with foo.org.
Any ideas how to do that?
Oh nvm I think I got it =D On Wed, Sep 23, 2009 at 5:22 AM, Diego Viola <diego.viola@gmail.com> wrote:
I know I could create different domains on the directory but how do I tell a user to belong to a specific domain?
On Wed, Sep 23, 2009 at 5:11 AM, Diego Viola <diego.viola@gmail.com>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.
On Wed, Sep 23, 2009 at 4:57 AM, Diego Viola <diego.viola@gmail.com>wrote:
Hello all,
How do I configure multi tenant in FS?
For example, I want some users to be able to register only with their own domain.
Ie:
Users: 1000-1010 Domain: foo.org
Users: 2000-2010 Domain: bar.org
But 1000-1010 shouldn't work with bar.org or 2000-2010 shouldn't work with foo.org.
Any ideas how to do that?
Nice, so I just rename the "default" to foo.org and bar.org and I put the users I want inside them? On Wed, Sep 23, 2009 at 5:42 AM, Brian West <brian@freeswitch.org> wrote:
You don't have to think about it with proper DNS it all just magically happens.
/b
On Sep 23, 2009, at 12:22 AM, Diego Viola wrote:
I know I could create different domains on the directory but how do I tell a user to belong to a specific domain?
_______________________________________________ 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
s/rename/copy/ On Wed, Sep 23, 2009 at 6:03 AM, Diego Viola <diego.viola@gmail.com> wrote:
Nice, so I just rename the "default" to foo.org and bar.org and I put the users I want inside them?
On Wed, Sep 23, 2009 at 5:42 AM, Brian West <brian@freeswitch.org> wrote:
You don't have to think about it with proper DNS it all just magically happens.
/b
On Sep 23, 2009, at 12:22 AM, Diego Viola wrote:
I know I could create different domains on the directory but how do I tell a user to belong to a specific domain?
_______________________________________________ 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 (4)
-
Brian West
-
Diego Viola
-
Peder
-
Rupa Schomaker