[asterisk-bugs] [JIRA] (ASTERISK-20848) [patch] ReadExten timeout interrupts audio file playback
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Fri Dec 28 14:57:45 CST 2012
Corey Farrell created ASTERISK-20848:
----------------------------------------
Summary: [patch] ReadExten timeout interrupts audio file playback
Key: ASTERISK-20848
URL: https://issues.asterisk.org/jira/browse/ASTERISK-20848
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_readexten
Affects Versions: 1.8.19.0
Reporter: Corey Farrell
Severity: Minor
ReadExten(variable[,filename[,context[,option[,timeout]]]])
Timeout handling for ReadExten can't compensate for length of the audio prompt. I've created a patch for 1.8 branch that allows option 'd' to be specified to delay timeout until after playback. Option 'd' has no effect on indications (option i).
{code}
same => n,ReadExten(OUTVAR,menu-playback,ivr-context,d,10)
{code}
This tells patched ReadExten to timeout 10 seconds after menu-playback finishes playing. The audio is still interruptible by DTMF. With a 20 second audio file and 10 second timeout the user is allowed up to 30 seconds to press the first key.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list