control stream file
Created by: pinhole,Last modification on Thu 03 of Nov, 2005 [15:53 UTC]
Send the given file, allowing playback to be controled by the given digits, if any.
Use double quotes for the digits if you wish none to be permitted.
If <skipms> is provided then the audio will seek to sample offset before play starts.
<ffchar> and <rewchar? default to * and # respectively.
Remember, the file extension must not be included in the filename.
Returns:
failure: 200 result=-1 endpos=<offset>
failure on open: 200 result=0 endpos=0
success: 200 result=0 endpos=<offset>
digit pressed: 200 result=<digit> endpos=<offset>
<offset> is the stream position streaming stopped. If it equals <sample offset> there was probably an error.
<digit> is the ascii code for the digit pressed.
Go back to Asterisk AGI

Comments