<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:st1="urn:schemas-microsoft-com:office:smarttags" 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] FW: Mod directory</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<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
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
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.EmailStyle19
        {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> </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'>The default $${domain} default came right
out of the wiki<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> </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'><a
href="http://wiki.freeswitch.org/wiki/Mod_directory">http://wiki.freeswitch.org/wiki/Mod_directory</a><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> </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’m not sure about the Invalid
Application directory. Check that you’ve enabled mod_directory in both
the build (uncomment mod_directory in module.conf) and at runtime in conf/autoload_config/modules.conf.xml
(uncomment mod_directory).<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> </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'>Also, don’t forget as per the wiki
you need to set the effective_caller_id_name to a name (first last) or add new
param </span></font><span lang=EN>directory_full_name </span><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>in the directory/default/lineId.xml files.<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> </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> </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> </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 2:30
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
FW: 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> </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 well seems that my DTMF are
working again, but after making the changes Robert recommended I’m now
getting this error message<br>
<br>
Invalid Application directory<br>
<br>
Maybe my confusion is in the </span></font><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>default $${domain} default</span></font><font
size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> line.
Not sure what default represents.<br>
<br>
I feel I’ve almost got this figured out. Any thoughts why I might
get this error?<br>
Thanks,<br>
Sean<br>
On 4/12/10 2:04 PM, "Robert Hadley" <<a
href="robert.hadley@teotech.com">robert.hadley@teotech.com</a>> wrote:</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Sean,<br>
<br>
I don’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<br>
<br>
</span></font><font size=1 face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New"'>IVR:<br>
<entry action="menu-exec-app"
digits="5" param="transfer directory XML default"/>
<!-- Directory --><br>
</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><br>
</span></font><font size=1 face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New"'>dialplan/defaults.xml:<br>
<!-- dial by name directory extension --><br>
<extension name="directory"><br>
<condition
field="destination_number" expression="^directory$"><br>
<action
application="answer"/><br>
<action
application="sleep" data="500"/><br>
<action
application="directory" data="default $${domain}
default"/><br>
</condition><br>
</extension><br>
<br>
</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Regards,<br>
Robert<br>
</span></font><o:p></o:p></p>
<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>
</span></font></div>
<p><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 [<a
href="mailto:sean@obscuradigital.com">mailto:sean@obscuradigital.com</a>] <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> <a
href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
Mod directory<br>
</span></font><br>
<font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>Ok
I’ve downloaded the sounds and setup my ivr menu, but now it
doesn’t recognizes any incoming DTMF tones. I’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, "Aloysius Lloyd" <<a
href="lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>> wrote:<br>
You do not need to defined sound files in ivr. Sounds files are used by mod
directory.<br>
<br>
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 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'> <<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>>
<b><span style='font-weight:bold'>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 <<a
href="sean@obscuradigital.com">sean@obscuradigital.com</a>> wrote:<br>
Hey Lloyd,<br>
<br>
When you say download sound files, where from? And how is that defined in
the ivr menu?<br>
<br>
I looked over the wiki but couldn’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, "Aloysius Lloyd" <<a
href="lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a> <<a
href="http://lloyd.aloysius@gmail.com">http://lloyd.aloysius@gmail.com</a>>
> wrote:<br>
Here is the syntax I am using inside the ivr menus<br>
<br>
<entry action="menu-exec-app" digits="5"
param="directory default ${domain_name} "/><br>
<br>
When the user press 5 .. the Directory Application Will start.<br>
---<br>
<br>
Here is the wiki. <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 <<a href="sean@obscuradigital.com">sean@obscuradigital.com</a>
<<a href="http://sean@obscuradigital.com">http://sean@obscuradigital.com</a>>
> wrote:<br>
Hello,<br>
<br>
Trying to figure out how to use the mod directory app within an ivr menu.
Not sure of the syntax to use when building the ivr. 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>
<<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://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><br>
</span></font><o:p></o:p></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><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'><br>
</span></font><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>
<<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://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><br>
</span></font><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><br>
</span></font><o:p></o:p></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 style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'><br>
</span></font><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><font
size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'><o:p></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>