[Freeswitch-users] XML-CURL and dynamic IVR menus

Dmitry Mordovin d.mordovin at dwide.com
Sat Dec 23 11:38:42 UTC 2017


Hello!

I use xml-curl module - bindings="directory|dialplan"

I want use IVR in dialplan, so, return this XML:

<document type="freeswitch/xml">
   <section name="configuration">
     <configuration name="ivr.conf" description="IVR menus">
       <menus>
         <menu name="ivr-test" 
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" 
exit-sound="voicemail/vm-goodbye.wav" timeout ="3000"
                inter-digit-timeout="2000" max-failures="2" 
digit-len="3" phrase-lang="en">
           <entry action="menu-exec-app" digits="0" param="transfer 11 
XML voicemail" />
         </menu>
       </menus>
     </configuration>
   </section>
   <section name="dialplan" description="IVR call">
     <context name="public">
       <extension name="ivr_1">
         <condition field="destination_number" expression="^([1-9]\\d+)$">
           <action application="ivr" data="ivr-test"/>
           <action application="bridge" 
data="sofia/internal/1000%10.10.10.10"/>
         </condition>
       </extension>
     </context>
   </section>
</document>


As I see in log, FS ignore IVR configuration part and ERROR happen

[ERR] mod_dptools.c:2055 Unable to find menu


Does it possible attach IVR menu with dialplan response?

Or I need use another way to load dynamic IVR?






More information about the FreeSWITCH-users mailing list