<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] FW: Mod directory</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Sometimes it’s the simplest things that one overlooks. I guess enabling mod_directory would be critical....doh!<BR>
<BR>
Anyways mod_directory is answering my calls now but still not getting any results when looking up a name/extension<BR>
<BR>
New error is sampling rate doesn’t match<BR>
<BR>
Not sure if this is affecting my search, but at least I’m closer to my end goal<BR>
<BR>
Thanks<BR>
Sean<BR>
<BR>
<BR>
On 4/12/10 2:45 PM, "Robert Hadley" <<a href="robert.hadley@teotech.com">robert.hadley@teotech.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT COLOR="#000080"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Hi Sean,<BR>
<BR>
The default $${domain} default came right out of the wiki<BR>
<BR>
<a href="http://wiki.freeswitch.org/wiki/Mod_directory">http://wiki.freeswitch.org/wiki/Mod_directory</a><BR>
<BR>
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).<BR>
<BR>
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></FONT></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'>directory_full_name </SPAN></FONT><FONT COLOR="#000080"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>in the directory/default/lineId.xml files.<BR>
<BR>
Regards,<BR>
Robert<BR>
<BR>
<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>
</SPAN></FONT>
<P ALIGN=CENTER>
<FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'><HR ALIGN=CENTER SIZE="3" WIDTH="100%"></SPAN></FONT>
<P>
<FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><B>From:</B> Sean Holt [<a href="mailto:sean@obscuradigital.com">mailto:sean@obscuradigital.com</a>] <BR>
<B>Sent:</B> Monday, April 12, 2010 2:30 PM<BR>
<B>To:</B> <a href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><BR>
<B>Subject:</B> Re: [Freeswitch-users] FW: Mod directory<BR>
</SPAN></FONT></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'> <BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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"><FONT FACE="Courier New"><SPAN STYLE='font-size:9pt'>default $${domain} default</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> 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:<BR>
</SPAN></FONT><FONT COLOR="#000080"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>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></FONT><FONT SIZE="1"><FONT FACE="Courier New"><SPAN STYLE='font-size:9pt'>IVR:<BR>
<entry action="menu-exec-app" digits="5" param="transfer directory XML default"/> <!-- Directory --><BR>
</SPAN></FONT></FONT><FONT COLOR="#000080"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT></FONT><FONT SIZE="1"><FONT FACE="Courier New"><SPAN STYLE='font-size:9pt'>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><FONT COLOR="#000080"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Regards,<BR>
Robert<BR>
</SPAN></FONT></FONT></FONT>
<P ALIGN=CENTER>
<FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'><HR ALIGN=CENTER SIZE="3" WIDTH="100%"></SPAN></FONT>
<P>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><B>From:</B> Sean Holt [<a href="mailto:sean@obscuradigital.com">mailto:sean@obscuradigital.com</a>] <BR>
<B>Sent:</B> Monday, April 12, 2010 1:54 PM<BR>
<B>To:</B> <a href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><BR>
<B>Subject:</B> Re: [Freeswitch-users] Mod directory<BR>
</SPAN></FONT></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'><BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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 SIZE="2"><SPAN STYLE='font-size:10pt'><B>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/</B> <<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>to {sounds_dir}/en/us/callie/directory/48000<BR>
</B></SPAN></FONT><SPAN STYLE='font-size:11pt'><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">Sean<BR>
</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 SIZE="2"><SPAN STYLE='font-size:10pt'>The users returned MUST be a member of a group.<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><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">Sean</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>
<BR>
</SPAN></FONT>
<P ALIGN=CENTER>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT>
<P>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<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><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><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>
<BR>
</SPAN></FONT>
<P ALIGN=CENTER>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT>
<P>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<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></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>
</SPAN></FONT>
<P ALIGN=CENTER>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT>
<P>
<FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<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></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<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></FONT></BLOCKQUOTE>
</BODY>
</HTML>