Re: [Freeswitch-users] Multitenancy

2009-09-29 Thread Diego Viola
This is how I went and made the multi-tenant, this config will simply create two users: 1...@company-a.org and 1...@company-b.org. It also has two dialplan/context for each domain, so if the 1...@company-a.org user tries to dial a extension, it will go and look in the company-a.org

Re: [Freeswitch-users] Multitenancy

2009-09-29 Thread Brian West
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

Re: [Freeswitch-users] Multitenancy

2009-09-29 Thread Diego Viola
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 br...@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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
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 br...@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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
s/rename/copy/ On Wed, Sep 23, 2009 at 6:03 AM, Diego Viola diego.vi...@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 br...@freeswitch.org wrote: You don't have to think about

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Peder
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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Rupa Schomaker
...@lists.freeswitch.org [mailto:freeswitch-users-boun...@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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Peder
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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Brian West
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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
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,

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
s/directory/directories/ Should I use context for that? On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola diego.vi...@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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
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.vi...@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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
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.vi...@gmail.com wrote: s/directory/directories/ Should I use context for that? On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Brian West
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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Brian West
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

Re: [Freeswitch-users] Multitenancy

2009-09-23 Thread Diego Viola
Ok, sorry for that and thanks for the help :). Diego On Wed, Sep 23, 2009 at 8:09 PM, Brian West br...@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

[Freeswitch-users] Multitenancy

2009-09-22 Thread Diego Viola
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

Re: [Freeswitch-users] Multitenancy

2009-09-22 Thread Diego Viola
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.vi...@gmail.com wrote: Hello all, How do I configure multi tenant in FS? For example, I want

Re: [Freeswitch-users] Multitenancy

2009-09-22 Thread Diego Viola
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.vi...@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

Re: [Freeswitch-users] Multitenancy

2009-09-22 Thread Brian West
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

Re: [Freeswitch-users] Multitenancy

2009-09-22 Thread Diego Viola
Oh nvm I think I got it =D On Wed, Sep 23, 2009 at 5:22 AM, Diego Viola diego.vi...@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.vi...@gmail.comwrote: I