<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">The IVR menu you want to return is from configuration section so, the associated binding would be "configuration". </div><div class="">If the url is the same for all sections, you can just put bindings="all" for simplicity.</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Best Regards,<br class="">-- <br class="">Vallimamod Abdullah</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">SIP Solutions</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><a href="mailto:vma@sipsolutions.fr" class="">vma@sipsolutions.fr</a><br class="">.</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 23 Dec 2017, at 12:38, Dmitry Mordovin <<a href="mailto:d.mordovin@dwide.com" class="">d.mordovin@dwide.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello!<br class=""><br class="">I use xml-curl module - bindings="directory|dialplan"<br class=""><br class="">I want use IVR in dialplan, so, return this XML:<br class=""><br class=""><document type="freeswitch/xml"><br class=""> <section name="configuration"><br class=""> <configuration name="ivr.conf" description="IVR menus"><br class=""> <menus><br class=""> <menu name="ivr-test" invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" exit-sound="voicemail/vm-goodbye.wav" timeout ="3000"<br class=""> inter-digit-timeout="2000" max-failures="2" digit-len="3" phrase-lang="en"><br class=""> <entry action="menu-exec-app" digits="0" param="transfer 11 XML voicemail" /><br class=""> </menu><br class=""> </menus><br class=""> </configuration><br class=""> </section><br class=""> <section name="dialplan" description="IVR call"><br class=""> <context name="public"><br class=""> <extension name="ivr_1"><br class=""> <condition field="destination_number" expression="^([1-9]\\d+)$"><br class=""> <action application="ivr" data="ivr-test"/><br class=""> <action application="bridge" data="sofia/internal/1000%10.10.10.10"/><br class=""> </condition><br class=""> </extension><br class=""> </context><br class=""> </section><br class=""></document><br class=""><br class=""><br class="">As I see in log, FS ignore IVR configuration part and ERROR happen<br class=""><br class="">[ERR] mod_dptools.c:2055 Unable to find menu<br class=""><br class=""><br class="">Does it possible attach IVR menu with dialplan response?<br class=""><br class="">Or I need use another way to load dynamic IVR?<br class=""><br class=""><br class=""><br class=""><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div></blockquote></div><br class=""></div></body></html>