AppRoot.php:
Code: Select all
<?php
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
?>
<vxml version="2.1">
<property name="recordcallappend" value="false"/>
<property name="recordcall" value="true"/>
<!-- Other global stuff -->
</vxml>
Code: Select all
<vxml version="2.1" application="AppRoot.php">
<form>
<block>
<prompt>
Hello.
</prompt>
</block>
<subdialog src="API.xml#startCall" fetchaudio="https://myaudiofile">
<filled>
<goto next="Page1.xml"/>
</filled>
</subdialog>
</form>
</vxml>
Code: Select all
<vxml version="2.1" application="AppRoot.php">
<form>
<block>
<prompt>
This is audio on the first page.
</prompt>
<goto next="Page2.xml"/>
</block>
</form>
</vxml>
Code: Select all
<vxml version="2.1" application="AppRoot.php">
<form>
<block>
<prompt>
This is audio on the second page.
</prompt>
</block>
</form>
</vxml>
Though the prompts all play correctly to the caller, the recording goes a little more like this:
- This is audio on the first page.
This is audio on the second page.
I would expect that setting recordcall = true in the AppRoot would turn on recording immediately, and only turn it off once I added a
Code: Select all
<property name="recordcall" value="false" />
I have tried a few things, like adding the recordcall = true property in CallStart.xml, Page1.xml, and/or Page2.xml, and removing it from the AppRoot. The results when I do so are similar, in that I am always 'missing' part of the recording.
I would like to know more details you may have on the recordcall property and how it may be affected by document transitions.