<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [Freeswitch-users] Mod directory</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.Numbered, li.Numbered, div.Numbered
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.25in;
        margin-bottom:.0001pt;
        text-indent:-.25in;
        mso-list:l0 level1 lfo2;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:412971070;
        mso-list-type:hybrid;
        mso-list-template-ids:1618259210 -1710466462 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-style-link:Numbered;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Sean,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I don&#8217;t know about your DTMF issue
but I also had to add a directory extension to the dialplan to go with the
change to the IVR<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>IVR:<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp; &lt;entry
action=&quot;menu-exec-app&quot; digits=&quot;5&quot; param=&quot;transfer
directory XML default&quot;/&gt;&nbsp;&nbsp;&nbsp; &lt;!-- Directory --&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>dialplan/defaults.xml:<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; &lt;!-- dial by name
directory extension --&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; &lt;extension
name=&quot;directory&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition
field=&quot;destination_number&quot; expression=&quot;^directory$&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;answer&quot;/&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;sleep&quot; data=&quot;500&quot;/&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;directory&quot; data=&quot;default $${domain}
default&quot;/&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Robert<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Sean Holt
[mailto:sean@obscuradigital.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, April 12, 2010 1:54
PM<br>
<b><span style='font-weight:bold'>To:</span></b>
freeswitch-users@lists.freeswitch.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
Mod directory</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'>Ok I&#8217;ve downloaded the
sounds and setup my ivr menu, but now it doesn&#8217;t recognizes any incoming
DTMF tones. &nbsp;I&#8217;ve run a wireshark capture and know that DTMF tones
are successful when calling into a conference line, but nothing on the ivr
menu.<br>
<br>
Thoughts?<br>
Thanks<br>
Sean<br>
<br>
<br>
On 4/12/10 10:13 AM, &quot;Aloysius Lloyd&quot; &lt;<a
href="lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>&gt; wrote:</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>You do not need to defined sound files in ivr. Sounds
files are used by mod directory.<br>
<br>
&nbsp;Please read the wiki, in the last paragraph.<br>
<br>
<br>
<br>
</span></font><b><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri;font-weight:bold'>Please note&nbsp;as of 2010/02/24, the
default en/us/callie sounds do not contain the sounds needed for the directory.
The current work-around is to
copyhttp://svn.freeswitch.org/svn/sounds/trunk/en/ca/june/48000/directory/</span></font></b><font
size=2 face=Calibri><span style='font-size:10.0pt;font-family:Calibri'> &lt;<a
href="http://svn.freeswitch.org/svn/sounds/trunk/en/ca/june/48000/directory/">http://svn.freeswitch.org/svn/sounds/trunk/en/ca/june/48000/directory/</a>&gt;
<b><span style='font-weight:bold'>&nbsp;to
{sounds_dir}/en/us/callie/directory/48000<br>
</span></b></span></font><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'><br>
<br>
<br>
<br>
On Mon, Apr 12, 2010 at 12:59 PM, Sean Holt &lt;<a
href="sean@obscuradigital.com">sean@obscuradigital.com</a>&gt; wrote:</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'>Hey Lloyd,<br>
<br>
When you say download sound files, where from? &nbsp;And how is that defined in
the ivr menu?<br>
<br>
I looked over the wiki but couldn&#8217;t figure out the flow.<br>
<br>
Plus I keep getting this message after enter the digit 5<br>
<br>
2010-04-12 09:52:05.373930 [WARNING] sofia_glue.c:3290 Hello,<br>
I see you have a Sonus!<br>
FYI, Sonus cannot follow the RFC on the proper way to send DTMF.<br>
Sadly, my creator had to spend several hours figuring this out so I thought
you'd like to know that!<br>
Don't worry, DTMF will work but you may want to ask them to fix it......<br>
<br>
Thanks<br>
<font color="#888888"><span style='color:#888888'>Sean<br>
</span></font><br>
<br>
<br>
On 4/12/10 9:00 AM, &quot;Aloysius Lloyd&quot; &lt;<a
href="lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a> &lt;<a
href="http://lloyd.aloysius@gmail.com">http://lloyd.aloysius@gmail.com</a>&gt;
&gt; wrote:</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>Here is the syntax I am using inside the ivr menus<br>
<br>
&nbsp;&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;5&quot;
param=&quot;directory default ${domain_name} &quot;/&gt;<br>
<br>
When the user press 5 .. the Directory Application Will start.<br>
---<br>
<br>
Here is the wiki.&nbsp;<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_directory">http://wiki.freeswitch.org/wiki/Mod_directory</a><br>
<br>
You need to download sound files manually.</span></font><font size=2
face=Calibri><span style='font-size:10.0pt;font-family:Calibri'>The users
returned MUST be a member of a group.<br>
</span></font><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'><br>
Thanks<br>
Lloyd<br>
<br>
On Sat, Apr 10, 2010 at 4:19 PM, Sean Holt &lt;<a href="sean@obscuradigital.com">sean@obscuradigital.com</a>
&lt;<a href="http://sean@obscuradigital.com">http://sean@obscuradigital.com</a>&gt;
&gt; wrote:</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'>Hello,<br>
<br>
Trying to figure out how to use the mod directory app within an ivr menu.
&nbsp;Not sure of the syntax to use when building the ivr. &nbsp;Not ever sure
it can be done.<br>
<br>
Also does mod_directory need to be added to a dialplan?<br>
<br>
Thanks<br>
<font color="#888888"><span style='color:#888888'>Sean</span></font> <br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
&lt;<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://FreeSWITCH-users@lists.freeswitch.org</a>&gt;
<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>

<hr size=3 width="95%" align=center>

</span></font></div>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
&lt;<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://FreeSWITCH-users@lists.freeswitch.org</a>&gt;
<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>

<hr size=3 width="95%" align=center>

</span></font></div>

<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></font><o:p></o:p></p>

</div>

</body>

</html>