[Freeswitch-users] Mod directory
Sean Holt
sean at obscuradigital.com
Mon Apr 12 14:15:01 PDT 2010
Ok here¹s my ivr menu*****
<configuration name="ivr.conf" description="IVR menus">
<menus>
<menu name="auto_attendant_1"
greet-long="ivr/ivr-welcome_to_freeswitch.wav"
greet-short="ivr/ivr-welcome_to_freeswitch.wav"
timeout="10000"
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
exit-sound="voicemail/vm-goodbye.wav"
inter-digit-timeout="2000"
max-failures="3"
digit-len="4">
<entry action="menu-exec-app" digits="1" param="bridge
sofia/$${domain}/888 at conference.freeswitch.org"/>
<entry action="menu-exec-app" digits="2" param="transfer 2013 XML
context_1"/> <!-- FS echo -->
<entry action="menu-exec-app" digits="3" param="transfer 9999 XML
default"/> <!-- MOH -->
<entry action="menu-sub" digits="4" param="demo_ivr_submenu"/> <!--
demo sub menu -->
<entry action="menu-exec-app" digits="5" param="transfer 1234*256
enum"/> <!-- Screaming monkeys -->
<entry action="menu-exec-app" digits="/^(10[01][0-9])$/"
param="transfer $1 XML default"/> <!-- dial ext & x-fer -->
<entry action="menu-top" digits="9"/> <!-- Repeat this menu -->
<entry action="menu-exec-app" digits="7" param="directory default
context_1"/>
</menu>
<!-- Demo IVR, Sub Menu -->
<menu name="demo_ivr_submenu"
greet-long="phrase:demo_ivr_sub_menu"
greet-short="phrase:demo_ivr_sub_menu_short"
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
exit-sound="voicemail/vm-goodbye.wav"
timeout="15000"
max-failures="3">
<entry action="menu-top" digits="*"/>
</menu>
</menus>
</configuration>
</include>
And here¹s my dialplan*****
<extension name="main_number_39" continue="true">
<condition field="destination_number" expression="^4157960191$">
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="ivr" data="auto_attendant_1"/>
</condition>
</extension>
Thanks
Sean
On 4/12/10 1:59 PM, "Aloysius Lloyd" <lloyd.aloysius at gmail.com> wrote:
> Could you post your dialplan here.
>
>
> On Mon, Apr 12, 2010 at 4:53 PM, Sean Holt <sean at obscuradigital.com> wrote:
>> 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.
>>
>> Thoughts?
>> Thanks
>> Sean
>>
>>
>>
>> On 4/12/10 10:13 AM, "Aloysius Lloyd" <lloyd.aloysius at gmail.com
>> <http://lloyd.aloysius@gmail.com> > wrote:
>>
>>> You do not need to defined sound files in ivr. Sounds files are used by mod
>>> directory.
>>>
>>> Please read the wiki, in the last paragraph.
>>>
>>>
>>>
>>> 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/
>>> <http://svn.freeswitch.org/svn/sounds/trunk/en/ca/june/48000/directory/>
>>> <http://svn.freeswitch.org/svn/sounds/trunk/en/ca/june/48000/directory/> to
>>> {sounds_dir}/en/us/callie/directory/48000
>>>
>>>
>>>
>>>
>>> On Mon, Apr 12, 2010 at 12:59 PM, Sean Holt <sean at obscuradigital.com
>>> <http://sean@obscuradigital.com> > wrote:
>>>> Hey Lloyd,
>>>>
>>>> When you say download sound files, where from? And how is that defined in
>>>> the ivr menu?
>>>>
>>>> I looked over the wiki but couldn¹t figure out the flow.
>>>>
>>>> Plus I keep getting this message after enter the digit 5
>>>>
>>>> 2010-04-12 09:52:05.373930 [WARNING] sofia_glue.c:3290 Hello,
>>>> I see you have a Sonus!
>>>> FYI, Sonus cannot follow the RFC on the proper way to send DTMF.
>>>> Sadly, my creator had to spend several hours figuring this out so I thought
>>>> you'd like to know that!
>>>> Don't worry, DTMF will work but you may want to ask them to fix it......
>>>>
>>>> Thanks
>>>> Sean
>>>>
>>>>
>>>>
>>>> On 4/12/10 9:00 AM, "Aloysius Lloyd" <lloyd.aloysius at gmail.com
>>>> <http://lloyd.aloysius@gmail.com> <http://lloyd.aloysius@gmail.com> >
>>>> wrote:
>>>>
>>>>> Here is the syntax I am using inside the ivr menus
>>>>>
>>>>> <entry action="menu-exec-app" digits="5" param="directory default
>>>>> ${domain_name} "/>
>>>>>
>>>>> When the user press 5 .. the Directory Application Will start.
>>>>> ---
>>>>>
>>>>> Here is the wiki.
>>>>>
>>>>> http://wiki.freeswitch.org/wiki/Mod_directory
>>>>>
>>>>> You need to download sound files manually.The users returned MUST be a
>>>>> member of a group.
>>>>>
>>>>> Thanks
>>>>> Lloyd
>>>>>
>>>>>
>>>>> On Sat, Apr 10, 2010 at 4:19 PM, Sean Holt <sean at obscuradigital.com
>>>>> <http://sean@obscuradigital.com> <http://sean@obscuradigital.com> >
>>>>> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>> Also does mod_directory need to be added to a dialplan?
>>>>>>
>>>>>> Thanks
>>>>>> Sean
>>>>>>
>>>>>> _______________________________________________
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> <http://FreeSWITCH-users@lists.freeswitch.org>
>>>>>> <http://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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> <http://FreeSWITCH-users@lists.freeswitch.org>
>>>>> <http://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
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> <http://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
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> <http://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
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100412/ec8130e3/attachment-0001.html
More information about the FreeSWITCH-users
mailing list