VXML从变量获取子对话框的"src" [英] VXML getting 'src' for subdialog from variable

查看:102
本文介绍了VXML从变量获取子对话框的"src"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的业务正在从旧的asp系统过渡到新的ASP.NET系统,包括对数据库的重大改进.将有一个共存的时期,在此期间,旧的新版本将并排运行.

Our business is transitioning from an old asp system to a newer ASP.NET system, including massive improvements to our database. There is going to be a period of coexistence, during which old & new will run side-by-side.

一个需要共存的应用是我们使用的语音邮件系统.它的工作方式如下:

One app which needs coexistence is a voicemail system we use. It works as follows:

  1. 用户通话.
  2. 用户输入帐号.
  3. 用户记录该帐户的消息.
  4. 用户可以选择重新记录,接受或丢弃.

在共存期间,现有应用程序正在被修改.当用户输入一个已转换为新系统的帐号(使用不同的识别号)时,我们希望无缝地允许他们继续操作.帐户验证系统当前正在返回帐户名称,帐号和(共存)正确记录页面的路径.

During coexistence, the existing app is being modified. When a user enters an account number which has been converted to the new system (which uses different identifying numbers) we want to seamlessly allow them to proceed. The account verification system is currently returning the account name, the account number, and (for coexistence) the path to the correct recording page.

一旦用户记录了一条消息并接受(或挂断),我们就会触发一个子对话框以将消息记录到我们的数据库中.

Once the user has recorded a message and accepted it (or hung up), we fire a subdialog to record the message to our database.

如何修改子对话框调用以接受变量的内容作为src?

How can I modify the subdialog call to accept the content of a variable as the src?

推荐答案

您需要改用srcexpr.这是一个例子

You need to use srcexpr instead. Here is an example

<var name="VariableHere" expr="'nowhere.vxml'"/>
<!-- Populate your VariableHere through your logic, default to nowhere.vxml --> 
<subdialog srcexpr="'http://www.YourDomain.com/' + VariableHere">
</subdialog>

这篇关于VXML从变量获取子对话框的"src"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆