[Freeswitch-users] Subdomain directory

Tim St. Pierre tim at communicatefreely.net
Tue Feb 2 10:32:06 PST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I'm building a multi-tenant system, and I need to separate customers from each other, but only in
certain situations.

I want to apply a subdomain to directory entries, so that a search for a user within a subdomain
will only return a user in that domain, but a search in the parent domain will match all users in
that domain AND all subdomains.

Is there some sort of domain aliasing mechanism, or should I do this in the external scripting?

I am doing everything with xml_curl.  I could write the script so that it will look at the domain
requested and decide if a user should be returned or not.

Does anyone see any problems with this setup, or know of an easier way?

The goal is so that things like SIP subscription and registrations are all done in the parent domain
(only one domain system wide), but voice mail, directory application (dial by name), and some other
features can be restricted to the same customer.

All our user ID's (extension numbers for us) are unique.

Thanks!

- -Tim
- --
Tim St. Pierre
IP Voice technician
Communicate Freely
1-877-291-8647 x5101
sip:5101 at communicatefreely.net
tim at communicatefreely.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBS2hvpoqVcvNCnHOrAQK9sgP/eiEtcEx1+OnMZPw0ZQ4gQUG+v/ddewa7
M8c5At4MoqjqNum5ruHtVA22UQt9U3gCG4gsXwaIXmDEDiMm6CTnjYYAgv5q4DvQ
0CmgHo/e1tgTly65GWIys2kwwUqyFsktZ0AeC7FFTyHLfr8l3uE4FJEY5lMRRdrC
0Eceg7MVoY8=
=e45O
-----END PGP SIGNATURE-----



More information about the FreeSWITCH-users mailing list