我正在使用voicexml
处理来自客户的呼入电话。这是vxml
我正在使用的:
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1" >
<menu dtmf="true">
<property name="inputmodes" value="dtmf"/>
<prompt>Hello, Welcome! If you are an existing customer, press 1, For support press 2</prompt>
<choice dtmf="1" next="#existing"/>
<choice dtmf="2" next="#support"/>
</menu>
<form id="existing">
<record name="recording" beep="true" maxtime="100s">
<block>
<prompt>Please wait while we transfer the call</prompt>
</block>
<transfer name="MyCall" dest="tel:+911111111111" bridge="true" connecttimeout="20s"/>
<filled>
<submit next="call_inbound.php" method="post" namelist="recording" enctype="multipart/form-data"/>
</filled>
</record>
</form>
<form id="support">
<record name="recording" beep="true" maxtime="100s">
<block>
<prompt>Please wait while we transfer the call</prompt>
</block>
<transfer name="MyCall" dest="tel:+9111111111111" bridge="true" connecttimeout="20s"/>
<filled>
<submit next="call_inbound.php" method="post" namelist="recording" enctype="multipart/form-data"/>
</filled>
</record>
</form>
</vxml>
任何想法,xml中的错误是什么。xml中似乎有一些错误。如果我删除记录标签,它会起作用。
谢谢