<... filename="">

 

Type

attribute

Elements

file | prompt

Data type

char[100]

Values

alphanumeric

Description

The name of a WAV file.  When included with promptfilename overrides call campaign default behavior and plays the WAV file specified by filename in place of the WAV file in the call campaign. 

 

Example 1: Deleting an existing WAV file from your VoiceShot account

<file filename="hello.wav" fileaction="delete"/> 

 

Example 2: Sending a call with a WAV file you have previously uploaded with the API

<campaign menuid="1-1234" action="0">

   <prompts>

      <prompt promptid="2" filename="hello.wav" />

   </prompts>

   <phonenumbers>

      <phonenumber number="8185550100" callid="123abc" callerid="8182238964" />

   </phonenumbers>

</campaign>

 

Example 3: Call Command

<prompt goto="6" filename="imsorry.wav" />