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 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.vi...@gmail.com> wrote: > 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 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.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 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 <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 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.vi...@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 <br...@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@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 >> >> >
_______________________________________________ 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