[asterisk-bugs] [Asterisk 0018505]: SPEECH_ENGINE should be readable
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Dec 21 12:20:49 UTC 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18505
======================================================================
Reported By: kenner
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18505
Category: Applications/app_speech_utils
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: 1.6.2.15
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-12-20 15:24 CST
Last Modified: 2010-12-21 06:20 CST
======================================================================
Summary: SPEECH_ENGINE should be readable
Description:
If you want to temporarily change one parameter, you want to save and
restore the old value. But you can't current read it.
======================================================================
----------------------------------------------------------------------
(0129831) kenner (reporter) - 2010-12-21 06:20
https://issues.asterisk.org/view.php?id=18505#c129831
----------------------------------------------------------------------
Let's suppose there's a parameter named foo and I want to modify it for one
particular SpeechBackground call to have a value of 7 and then restore the
previous value. So what I'd like to do is:
exten => s,n,Set(save_foo=${SPEECH_ENGINE(foo)})
exten => s,n,Set(SPEECH_ENGINE(foo)=7)
exten => s,n,SpeechBackground ...
exten => s,n,Set(SPEECH_ENGINE(foo)=${save_foo})
I can't do this now but instead have to KNOW what the original value was.
But that value is likely in some other config file which means that if I
change it later, I have two places to change. That's bad.
Issue History
Date Modified Username Field Change
======================================================================
2010-12-21 06:20 kenner Note Added: 0129831
======================================================================
More information about the asterisk-bugs
mailing list