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

Vallimamod Abdullah vma at vallimamod.org
Sat Dec 23 16:06:58 UTC 2017


Hi,

The IVR menu you want to return is from configuration section so, the associated binding would be "configuration". 
If the url is the same for all sections, you can just put bindings="all" for simplicity.

Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma at sipsolutions.fr
.


> On 23 Dec 2017, at 12:38, Dmitry Mordovin <d.mordovin at dwide.com> wrote:
> 
> 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?
> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> 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/20171223/8c745fc1/attachment.html>


More information about the FreeSWITCH-users mailing list