Displaying 1 result from an estimated 1 matches for "defaultprompts".
2016 Oct 10
2
AGI: How to break out of AGI when stream_file escape_digits are detected in middle of long sequence of files?
...es in quick succession.
Like this:
escape_digits = str("0")
agi.stream_file(promptFile,escape_digits)
and this is what I see on the AGI debug:
<Local/s at root-00000061;2>AGI Tx >> 200 result=0 endpos=6784
<Local/s at root-00000061;2>AGI Rx << STREAM FILE
/home/DefaultPrompts/en_GB/female/wx/low "0" 0
-- <Local/s at root-00000061;2> Playing
'/home/DefaultPrompts/en_GB/female/wx/low.alaw' (escape_digits=0)
(sample_offset 0) (language 'en_GB')
<Local/s at root-00000061;2>AGI Tx >> 200 result=48 endpos=1440
The FIRST line is...