get option
Behaves similar to STREAM FILE but used with a timeout option.
Returns:
failure: 200 result=-1 endpos=0
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.
<digit> is the ascii code for the digit pressed.
Note that if you do not pass <timeout> there seems to be a default. Passing 0 however, works as expected (exactly like STREAM FILE).
Go back to Asterisk AGI
Created by: pinhole, Last modification: Wed 05 of Apr, 2006 (17:35 UTC) by negativeview
Featured -
Search:

Page Changes















