[asterisk-bugs] [JIRA] (ASTERISK-20870) [patch] ReadExten timeout interrupts audio file playback

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Jan 3 17:26:46 CST 2013


Rusty Newton created ASTERISK-20870:
---------------------------------------

             Summary: [patch] ReadExten timeout interrupts audio file playback
                 Key: ASTERISK-20870
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20870
             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