<... altfilename="">

 

Type

attribute

Elements

prompt

Data type

char[50]

Values

alphanumeric

Description

Specifies the sound file in your account to play if an answering machine is detected in a dual message campaign.  Only valid for promptid 1.

 

Example 1: Sending a call, using the default sound file in the Campaign for live answers and sending the sound file name for answering machines.

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

   <prompts>

      <prompt promptid="1" altfilename="ansmachmessage.wav" />

   </prompts>

   <phonenumbers>

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

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

   </phonenumbers>

</campaign>

 

Example 2: Sending a call, using a sound file for both live answers and answering machines.

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

   <prompts>

      <prompt promptid="1" filename="livemessage.wav" altfilename="ansmachmessage.wav" />

   </prompts>

   <phonenumbers>

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

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

   </phonenumbers>

</campaign>

 

Example 3: Sending a call, using TTS for live answers and a sound file for answering machines.

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

   <prompts>

      <prompt promptid="1" tts="This is a message from the XYZ company."  altfilename="ansmachmessage.wav" />

   </prompts>

   <phonenumbers>

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

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

   </phonenumbers>

</campaign>