VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
diego.viola at gmail.com Guest
|
Posted: Wed Sep 23, 2009 3:05 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
|
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Wed Sep 23, 2009 3:12 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Wed Sep 23, 2009 3:14 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Wed Sep 23, 2009 3:29 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
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 (diego.viola@gmail.com)> wrote:
Quote: | s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 23, 2009 3:38 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
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:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 23, 2009 3:38 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
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!
/b
PS: ask on IRC or mailing list NOT BOTH please.
On Sep 23, 2009, at 2:48 PM, Diego Viola wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
|
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Wed Sep 23, 2009 4:03 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
Ok, sorry for that and thanks for the help .
Diego
On Wed, Sep 23, 2009 at 8:09 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: | 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!
/b
PS: ask on IRC or mailing list NOT BOTH please.
On Sep 23, 2009, at 2:48 PM, Diego Viola wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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
|
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Tue Sep 29, 2009 4:42 pm Post subject: [Freeswitch-users] Multitenancy |
|
|
This is how I went and made the multi-tenant, this config will simply create two users: 1000@company-a.org (1000@company-a.org) and 1000@company-b.org (1000@company-b.org).
It also has two dialplan/context for each domain, so if the 1000@company-a.org (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 (diego.viola@gmail.com)> wrote:
Quote: | Ok, sorry for that and thanks for the help .
Diego
On Wed, Sep 23, 2009 at 8:09 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: | 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!
/b
PS: ask on IRC or mailing list NOT BOTH please.
On Sep 23, 2009, at 2:48 PM, Diego Viola wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | s/directory/directories/
Should I use "context" for that?
On Wed, Sep 23, 2009 at 7:40 PM, Diego Viola <diego.viola@gmail.com (diego.viola@gmail.com)> wrote:
Quote: | 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 (diego.viola@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
|
|
|
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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
|
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|