[Freeswitch-users] Multitenancy
Diego Viola
diego.viola at gmail.com
Tue Sep 29 14:33:43 PDT 2009
This is how I went and made the multi-tenant, this config will simply create
two users: 1000 at company-a.org and 1000 at company-b.org.
It also has two dialplan/context for each domain, so if the
1000 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090929/053da027/attachment-0002.html
More information about the FreeSWITCH-users
mailing list