[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
Sat Apr 23 12:04:49 CDT 2011


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:              2011-04-23 12:04 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0134057) arywyr (reporter) - 2011-04-23 12:04
 https://issues.asterisk.org/view.php?id=16595#c134057 
---------------------------------------------------------------------- 
Hi, RoadKill, slimey,

if you specify the format in the dialplan as the 3rd parameter then
SayUnixTime will NOT use the default rule in the say.conf file so you need
to specify a line with the exact same format.

My say.conf contains this for hungarian:
    _datetime:BdAk:. => date:BdA k 'ora':${SAY}

In the dialplan (I use AEL and this is a line with fixed date for
testing):
        210 => {
                Wait(1);
                Answer();
                CHANNEL(language)=hu;
                SayUnixTime(${STRPTIME(2011-05-02
08:00:00,Europe/Budapest,%Y-%m-%d %H:%M:%S)},Europe/Budapest,BdAk);
        }

This works with Asterisk 1.8.3.2 built by root @ localhost.localdomain on
a x86_64 running Linux on 2011-03-30 09:55:35 UTC on CentOS. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-23 12:04 arywyr         Note Added: 0134057                          
======================================================================




More information about the asterisk-bugs mailing list