[asterisk-bugs] [Asterisk 0016595]: SayUnixTime plays nothing if say.conf mode=new and a format is specified
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Aug 20 19:01:26 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16595
======================================================================
Reported By: thedavidfactor
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16595
Category: Applications/app_sayunixtime
Reproducibility: always
Severity: minor
Priority: normal
Status: acknowledged
Asterisk Version: SVN
JIRA: SWP-719
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-01-13 11:29 CST
Last Modified: 2010-08-20 19:01 CDT
======================================================================
Summary: SayUnixTime plays nothing if say.conf mode=new and a
format is specified
Description:
There is no error generated, SayUnixTime simply does nothing. Any format
can be specified, I have even duplicated the default format with the same
result. I tried to debug it, but this seems be beyond my limited C
abilities to debug.
======================================================================
----------------------------------------------------------------------
(0126208) slimey (reporter) - 2010-08-20 19:01
https://issues.asterisk.org/view.php?id=16595#c126208
----------------------------------------------------------------------
I've just stumbled across this same issue whilst trying to get SayUnixTime
working correctly under 1.6.2.11
This isn't so much a code issue as a configuration issue in say.conf
If you pass in a format string to SayUnixTime, it passes this as the
middle 'parameter' when looking up the rules in say.conf (e.g. in your
example it'll look up datetime:abd:201008210057.xxxxx)
There's a rule in say.conf for "datetime::." (i.e. with no format
specified):
_datetime::. => date:ABdY 'digits/at' IMp:${SAY}
Assuming the parser allows it, a rule will need to be written along the
line of (yes, I know this won't work):
_datetime:.:. => date:${FORMAT}:${SAY}
Issue History
Date Modified Username Field Change
======================================================================
2010-08-20 19:01 slimey Note Added: 0126208
======================================================================
More information about the asterisk-bugs
mailing list