[Asterisk-Dev] .call-file handling suggestion

Eric Wieling eric at fnords.org
Thu Feb 3 08:20:59 MST 2005


You can also create the file with a date/time in the future, then when 
you are done writing to the file, change the date/time to the current 
date/time and Asterisk will then process the file.

Michael Giagnocavo wrote:
> What's wrong with writing to a temp file and then moving?
> 
> Also, that'd be a breaking change...
> 
> -Michael
> 
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Daniel Nyström
> Sent: Thursday, February 03, 2005 9:10 AM
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] .call-file handling suggestion
> 
> I would suggest making Asterisk not only look for .call-files, but also make
> sure it's chmod +x before acting!
> That would make it easy to create files, and when finished, chmod +x to make
> Asterisk handle it.
> Why? Because in this manner, u can make the "outgoing" dir writable to
> specific users which only has the permissions to create .call-files.




More information about the asterisk-dev mailing list