[asterisk-bugs] [Asterisk 0016052]: Shell Function is missing and very needed in all editions.

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 11 01:44:35 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16052 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16052
Category:                   Functions/NewFeature
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.27-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 221303 
Request Review:              
====================================================================== 
Date Submitted:             2009-10-11 01:44 CDT
Last Modified:              2009-10-11 01:44 CDT
====================================================================== 
Summary:                    Shell Function is missing and very needed in all
editions.
Description: 
Please look at the code below. I need to play this date, 2009-06-18 18:57,
and the only way to use the function SayUnixTime is to use the Shell
function before, according to Digium's support, not me.

exten => s,n,Set(ASTDATE=${SHELL(date --date="${ARG2}" +%s)})
exten => s,n,SayUnixTime(${ASTDATE},EST5EDT,ABdY \'digits/at\' IMp)

Therefore, we need the Shell function back in 1.4. It currently is only in
Trunk, but it compiles perfectly in version 1.4, no changes needed. The
Digium's engineer who took my case could not get the result back from a
call to a linux function using any other trick. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-11 01:44 falves11       New Issue                                    
2009-10-11 01:44 falves11       Asterisk Version          => 1.4.27-rc2      
2009-10-11 01:44 falves11       Regression                => No              
2009-10-11 01:44 falves11       SVN Branch (only for SVN checkouts, not tarball
releases) =>  1.4            
2009-10-11 01:44 falves11       SVN Revision (number only!) => 221303          
======================================================================




More information about the asterisk-bugs mailing list