[asterisk-bugs] [JIRA] (ASTERISK-20848) [patch] ReadExten timeout interrupts audio file playback
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Fri Dec 28 15:01:45 CST 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell updated ASTERISK-20848:
-------------------------------------
Description:
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.
was:
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.
> [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
> Attachments: asterisk-readexten.patch
>
>
> 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