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
Ok, sorry for that and thanks for the help :).
DiegoOn 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/bPS: 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?
DiegoOn 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,
DiegoOn 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 :).
DiegoOn Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org> wrote:
_______________________________________________
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