Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Multitenancy

Goto page Previous  1, 2
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
diego.viola at gmail.com
Guest





PostPosted: Wed Sep 23, 2009 3:05 pm    Post subject: [Freeswitch-users] Multitenancy Reply with 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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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





PostPosted: Wed Sep 23, 2009 3:12 pm    Post subject: [Freeswitch-users] Multitenancy Reply with 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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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





PostPosted: Wed Sep 23, 2009 3:14 pm    Post subject: [Freeswitch-users] Multitenancy Reply with 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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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





PostPosted: Wed Sep 23, 2009 3:29 pm    Post subject: [Freeswitch-users] Multitenancy Reply with 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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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





PostPosted: Wed Sep 23, 2009 3:38 pm    Post subject: [Freeswitch-users] Multitenancy Reply with quote

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





PostPosted: Wed Sep 23, 2009 3:38 pm    Post subject: [Freeswitch-users] Multitenancy Reply with 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! Razz

/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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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





PostPosted: Wed Sep 23, 2009 4:03 pm    Post subject: [Freeswitch-users] Multitenancy Reply with quote

Ok, sorry for that and thanks for the help Smile.

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!  Razz

/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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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







_______________________________________________
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





PostPosted: Tue Sep 29, 2009 4:42 pm    Post subject: [Freeswitch-users] Multitenancy Reply with quote

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 Smile.

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!  Razz

/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 Smile.

Diego


On Wed, Sep 23, 2009 at 6:16 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:


Quote:

Thats up to you Razz

/b

On Sep 23, 2009, at 1:10 PM, Diego Viola wrote:

Quote:
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 (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







_______________________________________________
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





PostPosted: Tue Sep 29, 2009 5:00 pm    Post subject: [Freeswitch-users] Multitenancy Reply with quote

Why not start a wiki page on the topic?

/b

On Sep 29, 2009, at 4:33 PM, Diego Viola wrote:

Quote:
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
Back to top
diego.viola at gmail.com
Guest





PostPosted: Tue Sep 29, 2009 5:07 pm    Post subject: [Freeswitch-users] Multitenancy Reply with quote

Someone already wikifyed it for me =D

http://wiki.freeswitch.org/wiki/Multiple_Companies

Thanks Brian Smile

On Tue, Sep 29, 2009 at 9:49 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Why not start a wiki page on the topic?

/b

On Sep 29, 2009, at 4:33 PM, Diego Viola wrote:

Quote:
Hope that helps someone.

Diego




_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services