[Freeswitch-users] Channel variable usage in IVR
Michael Collins
msc at freeswitch.org
Fri May 24 01:43:01 MSD 2013
AFAIK there is no variable expansion at this point in the IVR processing.
If you need dynamic IVR the you're best bet is mod_xml_curl or mod_httapi.
<shameless_plug>
The new FS 1.2 book has a great chapter on httapi as well as useful
information on serving up dynamic configs via xml curl.
</shameless_plug>
-MC
On May 23, 2013 11:48 AM, "John M" <j_mj at aol.com> wrote:
> Hi list...
>
> Is it valid to use a variable inside the digits="" element in an IVR?
>
> Eg; <entry action="menu-exec-app"
> digits="/^([${default_ivr_actionkeys}])$/" param="transfer $1 XML
> features"/>
>
> The value of ${default_ivr_actionkeys} is: 12345
>
> It works if I put the list of number in the regex manually but when I try
> using it with the variable it won't work.
>
> I need to create a dynamic set of digits options for our IVR feature
> because different customers set different keypress options and I need to
> dynamically generate this from a db.
>
> Is there a better way?
>
> Thanks,
> Jm
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20130523/28c19ebf/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list