]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
A change has been made to the user directory.
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 22 Oct 2006 04:49:46 +0000 (04:49 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 22 Oct 2006 04:49:46 +0000 (04:49 +0000)
the <param> tags that was in the <user>
are now nested in thier own <params> tag.

Also when using dingaling in component mode you can add a <vcard> to the
user that will be deliverd when requested when using an id like

user+stpeter@jabber.org assuming the comonent subdomain is jabber.org

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3152 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/freeswitch.xml

index 43405e49e404a234d4c63cd0998256c770db4297..ecbf734268033f8b1a7e059396bde6daf65c4039 100644 (file)
 
   <section name="directory" description="User Directory">
     <!--the domain or ip (the right hand side of the @ in the addr-->
-    <domain name="mydomain.com">
+    <domain name="jabber.org">
       <!--the user id (the left hand side of the @ in the addr-->
-      <user id="1000">
-        <!-- omit password for authless registration -->
-        <param name="password" value="mypass"/>
-        <!--various endpoints and application will look for user specific settings here -->
-        <param name="mypref" value="myval"/>
+      <user id="stpeter">
+       <params>
+         <!-- omit password for authless registration -->
+         <param name="password" value="mypass"/>
+       </params>
+       
+       <vcard xmlns='vcard-temp'>
+         <FN>Peter Saint-Andre</FN>
+         <N>
+           <FAMILY>Saint-Andre</FAMILY>
+           <GIVEN>Peter</GIVEN>
+           <MIDDLE/>
+         </N>
+         <NICKNAME>stpeter</NICKNAME>
+         <URL>http://www.jabber.org/people/stpeter.php</URL>
+         <BDAY>1966-08-06</BDAY>
+         <ORG>
+           <ORGNAME>Jabber Software Foundation</ORGNAME>
+           <ORGUNIT>Jabber Software Foundation</ORGUNIT>
+         </ORG>
+         <TITLE>Executive Director</TITLE>
+         <ROLE>Patron Saint</ROLE>
+         <TEL><WORK/><VOICE/><NUMBER>303-308-3282</NUMBER></TEL>
+         <TEL><WORK/><FAX/><NUMBER/></TEL>
+         <TEL><WORK/><MSG/><NUMBER/></TEL>
+         <ADR>
+           <WORK/>
+           <EXTADD>Suite 600</EXTADD>
+           <STREET>1899 Wynkoop Street</STREET>
+           <LOCALITY>Denver</LOCALITY>
+           <REGION>CO</REGION>
+           <PCODE>80202</PCODE>
+           <CTRY>USA</CTRY>
+         </ADR>
+         <TEL><HOME/><VOICE/><NUMBER>303-555-1212</NUMBER></TEL>
+         <TEL><HOME/><FAX/><NUMBER/></TEL>
+         <TEL><HOME/><MSG/><NUMBER/></TEL>
+         <ADR>
+           <HOME/>
+           <EXTADD/>
+           <STREET/>
+           <LOCALITY>Denver</LOCALITY>
+           <REGION>CO</REGION>
+           <PCODE>80209</PCODE>
+           <CTRY>USA</CTRY>
+         </ADR>
+         <EMAIL><INTERNET/><PREF/><USERID>stpeter@jabber.org</USERID></EMAIL>
+         <JABBERID>stpeter@jabber.org</JABBERID>
+         <DESC>
+           More information about me is located on my 
+           personal website: http://www.saint-andre.com/
+         </DESC>
+       </vcard>
+
       </user>
     </domain>
   </section>
-
 </document>