Should I delete the directory "default" and default.xml when I copy default to <a href="http://foo.org">foo.org</a> and <a href="http://bar.org">bar.org</a> etc?<br><br>Diego<br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 2:11 PM, Peder <span dir="ltr"><<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That's a good idea. I thought about using a DB, but I was going to have to<br>
use a lua script to look stuff up. I didn't think about easyroute or lcr.<br>
<div class="im"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
</div><div><div></div><div class="h5">[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Rupa<br>
Schomaker<br>
Sent: Wednesday, September 23, 2009 8:47 AM<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Multitenancy<br>
<br>
Use something like mod_easyroute to consult a database of DIDs. If<br>
you host the DID it'll give you a route to dial out. If not, route<br>
out your gateway.<br>
<br>
Or load your lcr tables with your own DIDs. Consult mod_lcr and use<br>
it's dialstring. It'll prefer longer prefix matches, so you will<br>
always win with your own customers.<br>
<br>
On Wed, Sep 23, 2009 at 7:24 AM, Peder <<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>> wrote:<br>
> So if you do this, how do you call between contexts? Say you have 100<br>
> tenants on one box each with their own domain and they are all 4 digit for<br>
> local dialing. If they call a 10 digit number like they are calling<br>
> outbound and it is another tenant on the same box, they don’t want to go<br>
out<br>
> and back in, they just want to be bridged over to the other context. I<br>
> imagine you need to create a file for each context and add every other<br>
> context and did to it to check if they are on the same box, otherwise dial<br>
> outbound to the PSTN. That doesn’t scale very well though since if there<br>
> are 100 tenants, and you add another, you need to modify the other 100<br>
> contexts to add the new DIDs. Or is there some built in way to do this<br>
> easily?<br>
><br>
><br>
><br>
> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Brian<br>
> West<br>
> Sent: Wednesday, September 23, 2009 12:18 AM<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] Multitenancy<br>
><br>
><br>
><br>
> Then setup two domains in your directory and setup proper DNS its really<br>
> just that simple.<br>
><br>
><br>
><br>
> /b<br>
><br>
><br>
><br>
> On Sep 23, 2009, at 12:11 AM, Diego Viola wrote:<br>
><br>
> I want user 1000-1010 to belong to <a href="http://foo.org" target="_blank">foo.org</a> and 2000-2020 to belong<br>
> to <a href="http://bar.org" target="_blank">bar.org</a>, and I want both of those domains to have their own<br>
> dialplan/context.<br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
-Rupa<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>