[asterisk-bugs] [Asterisk 0016461]: [patch] for reading and writing to text file

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 14 08:40:20 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16461 
====================================================================== 
Reported By:                skyman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16461
Category:                   Functions/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.1.11 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-17 09:55 CST
Last Modified:              2010-01-14 08:40 CST
====================================================================== 
Summary:                    [patch] for reading and writing to text file
Description: 
this patch adds 7 functions in func_env :
FILE_FORMAT
FILE_COUNT_LINE
FILE_READ_LINE
FILE_WRITE
FILE_WRITE_LINE
FILE_APPEND
FILE_APPEND_LINE
====================================================================== 

---------------------------------------------------------------------- 
 (0116670) skyman (reporter) - 2010-01-14 08:40
 https://issues.asterisk.org/view.php?id=16461#c116670 
---------------------------------------------------------------------- 
The WRITE functions are intended to replace :
system(echo "string" > file.txt)
used by many users, by :
FILE_WRITE("file.txt","string")

The READ functions are used to read text files, written by a web
application for example. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-14 08:40 skyman         Note Added: 0116670                          
======================================================================




More information about the asterisk-bugs mailing list