Summary: | ASTERISK-20848: [patch] ReadExten timeout interrupts audio file playback | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2012-12-28 14:57:16.000-0600 | Date Closed: | 2015-04-03 16:20:59 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_readexten |
Versions: | 1.8.19.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-readexten.patch | |
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. | ||
Comments: |