Skip to content

Commit

Permalink
Clarification on supported audio file URL formats
Browse files Browse the repository at this point in the history
  • Loading branch information
bklang committed Oct 28, 2014
1 parent 8aacf2f commit 6a824db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions views/docs/call-controllers.md
Expand Up @@ -150,6 +150,12 @@ class MyController < Adhearsion::CallController
end
```

**IMPORTANT: Notes on audio file URLs**

Fetching the audio file and playing it back is the job of the telephony engine (or, in some cases, of the media server when using SSML documents that contain both audio and text). This is important because when referencing a `file:///` URL it needs to be visible from the telephony engine (Asterisk or FreeSWITCH). Additionally:
* Asterisk *only* supports `file:///` URLs for playback
* FreeSWITCH supports both `http:///` and `file:///` URLs for playback

### #say

In many circumstances, it is desireable to speak certain output using a text-to-speech engine. This is simple using the `#say` method, providing either a simple string or an SSML document:
Expand Down

0 comments on commit 6a824db

Please sign in to comment.