Reply-To: <freeswitch-users@lists.freeswitch.org>
From: "Tim St. Pierre" <fs-list@communicatefreely.net>
To: <freeswitch-users@lists.freeswitch.org>
References: <E70E79E7709F4FC48A49F18ED3411A49@greyhawk.tonecommander.com>
Subject: Re: [Freeswitch-users] How does mod_directory get users information?
Date: Fri, 19 Mar 2010 09:57:14 -0700
Message-ID: <4BA3ACEA.1040503@communicatefreely.net>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0236_01CAC776.6C136840"
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <E70E79E7709F4FC48A49F18ED3411A49@greyhawk.tonecommander.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
thread-index: AcrHiqnHa2frqiISRHW0h6Lpx+wl5w==

This is a multi-part message in MIME format.

------=_NextPart_000_0236_01CAC776.6C136840
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

It looks in the user directory.

It will request users in the domain specified when you invoke it.

Something I learned (with help from the author), was that the users have to
be in a group.  The
default group will do.

If you are using xml_curl to generate your directory dynamically, you have
to set your script up so
that it will return all users in the domain when the user isn't specified in
the query.  You don't
have to return all the variables though, just the user's name and number
will usually work.

Robert Hadley wrote:
> Hello,
> 
>  
> 
> Where does mod_directory get the user information it uses to put into
> the database in creates?
> 
>  
> 
> Thanks,
> 
> Robert
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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




------=_NextPart_000_0236_01CAC776.6C136840
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Re: [Freeswitch-users] How does mod_directory get users =
information?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>It looks in the user directory.</FONT>
</P>

<P><FONT SIZE=3D2>It will request users in the domain specified when you =
invoke it.</FONT>
</P>

<P><FONT SIZE=3D2>Something I learned (with help from the author), was =
that the users have to be in a group.&nbsp; The</FONT>

<BR><FONT SIZE=3D2>default group will do.</FONT>
</P>

<P><FONT SIZE=3D2>If you are using xml_curl to generate your directory =
dynamically, you have to set your script up so</FONT>

<BR><FONT SIZE=3D2>that it will return all users in the domain when the =
user isn't specified in the query.&nbsp; You don't</FONT>

<BR><FONT SIZE=3D2>have to return all the variables though, just the =
user's name and number will usually work.</FONT>
</P>

<P><FONT SIZE=3D2>Robert Hadley wrote:</FONT>

<BR><FONT SIZE=3D2>&gt; Hello,</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt;&nbsp; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Where does mod_directory get the user =
information it uses to put into</FONT>

<BR><FONT SIZE=3D2>&gt; the database in creates?</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt;&nbsp; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Thanks,</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Robert</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; =
------------------------------------------------------------------------<=
/FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; =
_______________________________________________</FONT>

<BR><FONT SIZE=3D2>&gt; FreeSWITCH-users mailing list</FONT>

<BR><FONT SIZE=3D2>&gt; FreeSWITCH-users@lists.freeswitch.org</FONT>

<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">ht=
tp://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></FONT>

<BR><FONT SIZE=3D2>&gt; UNSUBSCRIBE:<A =
HREF=3D"http://lists.freeswitch.org/mailman/options/freeswitch-users">htt=
p://lists.freeswitch.org/mailman/options/freeswitch-users</A></FONT>

<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"http://www.freeswitch.org">http://www.freeswitch.org</A></FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------=_NextPart_000_0236_01CAC776.6C136840--
