recordcallappend

recordcallappend

Default Value: false

If this property is set to true when call recording transitions from disabled to enabled any previous call recorded audio will be appended to instead of being overwritten.

Example

<?xml version="1.0"?>
<vxml version="2.0">
  <property name="recordcallappend" value="true"/>
  <form id="form1">
    <property name="recordcall" value="true"/>
    <block>
      <prompt>
        Normally, you wouldn't hear this message in your recording, 
        but the recordcallappend property allows you to hear this message.
      </prompt>
      <goto next="#form2"/>
    </block>
  </form>

  <form id="form2">
    <property name="recordcall" value="true"/>
    <block>
      <prompt>
        You will hear this message in your recording.
      </prompt>
      <submit next="callrecord.php" namelist="callrecording"
        method="post"/>
    </block>
  </form>
</vxml>

Explanation

From this example, the “recordcallappend” property allows for a concatenation of the two recorded parts from each of the forms. Thus, the recording from form1 is not overwritten by the recording from form2. Make sure that you reference “callrecording” in your server-side script when capturing the posted call recording.

Notes

None

Last updated