<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Mod directory</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ok here’s my ivr menu*****<BR>
<BR>
<configuration name="ivr.conf" description="IVR menus"><BR>
<menus><BR>
<menu name="auto_attendant_1" <BR>
greet-long="ivr/ivr-welcome_to_freeswitch.wav" <BR>
greet-short="ivr/ivr-welcome_to_freeswitch.wav"<BR>
timeout="10000"<BR>
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"<BR>
exit-sound="voicemail/vm-goodbye.wav"<BR>
inter-digit-timeout="2000"<BR>
max-failures="3"<BR>
digit-len="4"><BR>
<entry action="menu-exec-app" digits="1" param="bridge <a href="sofia/$${domain}/888@conference.freeswitch.org"/">sofia/$${domain}/888@conference.freeswitch.org"/</a>><BR>
<entry action="menu-exec-app" digits="2" param="transfer 2013 XML context_1"/> <!-- FS echo --><BR>
<entry action="menu-exec-app" digits="3" param="transfer 9999 XML default"/> <!-- MOH --><BR>
<entry action="menu-sub" digits="4" param="demo_ivr_submenu"/> <!-- demo sub menu --><BR>
<entry action="menu-exec-app" digits="5" param="transfer 1234*256 enum"/> <!-- Screaming monkeys --><BR>
<entry action="menu-exec-app" digits="/^(10[01][0-9])$/" param="transfer $1 XML default"/> <!-- dial ext & x-fer --><BR>
<entry action="menu-top" digits="9"/> <!-- Repeat this menu --><BR>
<entry action="menu-exec-app" digits="7" param="directory default context_1"/><BR>
</menu><BR>
<!-- Demo IVR, Sub Menu --><BR>
<menu name="demo_ivr_submenu"<BR>
greet-long="phrase:demo_ivr_sub_menu"<BR>
greet-short="phrase:demo_ivr_sub_menu_short"<BR>
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"<BR>
exit-sound="voicemail/vm-goodbye.wav"<BR>
timeout="15000"<BR>
max-failures="3"><BR>
<entry action="menu-top" digits="*"/><BR>
</menu><BR>
</menus><BR>
</configuration><BR>
</include><BR>
<BR>
And here’s my dialplan*****<BR>
<BR>
<extension name="main_number_39" continue="true"><BR>
<condition field="destination_number" expression="^4157960191$"><BR>
<action application="answer"/><BR>
<action application="sleep" data="1000"/><BR>
<action application="ivr" data="auto_attendant_1"/><BR>
</condition><BR>
</extension><BR>
<BR>
Thanks<BR>
Sean<BR>
<BR>
<BR>
On 4/12/10 1:59 PM, "Aloysius Lloyd" <<a href="lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Could you post your dialplan here.<BR>
<BR>
<BR>
On Mon, Apr 12, 2010 at 4:53 PM, Sean Holt <<a href="sean@obscuradigital.com">sean@obscuradigital.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><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>
<BR>
On 4/12/10 10:13 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>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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/ <<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> <<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> <<a href="http://sean@obscuradigital.com">http://sean@obscuradigital.com</a>> > wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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>> <<a href="http://lloyd.aloysius@gmail.com">http://lloyd.aloysius@gmail.com</a>> > wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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>
<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>> <<a href="http://sean@obscuradigital.com">http://sean@obscuradigital.com</a>> > wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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>> <<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></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<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> <<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://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></BLOCKQUOTE><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> <<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></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<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> <<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></BLOCKQUOTE><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></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<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>