<play>


Role: <play> This verb plays the audio file back to the call.

Use:  Announcement:  Playing an announcement.

  • Play can be used by itself or it can be nested in gather keyword.
  • Here is an example of an announcement that can be played to prompt the user to press keys:-
    • Press 1 for Support
    • Press 2 for Sales
    • Press 3 if your know your parties extension

Attributes

Attribute
Value
Default
loopinteger value1

Simple play example.

Here is an example of how <play> can be nested with <gather> within code.

Once the user enters the response. It will call http://yourserver/handle-key.php