I looked through the wiki but I couldn't find an explanation as to what you accomplish with the domain tags. When you alias a domain from the directory, what functionality does this provide? Thanks, jlc
On Sun, May 8, 2011 at 10:16 AM, Joseph L. Casale <jcasale@activenetwerx.com> wrote:
I looked through the wiki but I couldn't find an explanation as to what you accomplish with the domain tags. When you alias a domain from the directory, what functionality does this provide?
The domain in the directory tells FS what domain the user belongs to. This becomes more important as you run multiple domains on the same server. http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Domains_.26_Users_P... Given this xml: <domain name="izeni.com"> <user id="gabe"> <params> <param name="password" value="blaa_blaa"/> </params> </user> </domain> You'll find the following: freeswitch> domain_exists example.com false freeswitch> domain_exists izeni.com true freeswitch> user_exists id gabe example.com false freeswitch> user_exists id gabe izeni.com true freeswitch> user_exists id bill izeni.com false The XML could be extended to include other domains: <domain name="izeni.com"> <user id="gabe"> <params> <param name="password" value="blaa_blaa"/> </params> </user> </domain> <domain name="gundy.org"> <user id="gabe"> <params> <param name="password" value="blaa_blaa"/> </params> </user> </domain> Being able to service unlimited domains is just another thing that makes FreeSWITCH so sweet :) Hope that helps. Best, Gabe
The domain in the directory tells FS what domain the user belongs to. This becomes more important as you run multiple domains on the same server.
Yup, that much I get. I was specifically looking to understand exactly what the name/alias/parse parameters in the domain tags inside a sofia profile xml definition accomplished and how you would utilize them. I had some issues creating and utilizing aliases as all the users register by ip addresses, but I think it's all resolved now. Thanks Gabe, jlc _______________________________________________ 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
participants (2)
-
Gabriel Gunderson
-
Joseph L. Casale