Does anyone know about any possible limitations with the FILE function?
what i’d like to do is use it to write a line (CDR) when i hangup a call.
Problem is, i’m getting advice to watch out for problems regarding “file locks” or “threading” issues, which, put simply, stops a program from writing to it constantly if it’s currently in use on another call that’s writing to it (so you can’t write twice in the same moment).
I know i can use the CDR or CEL function in asterisk, however i’m looking for something that i can embed in the dialplan and make something pretty exotic with.
I’m using the file function like this (below), which appends a newline to the txt file when called
If anyone knows if this isn’t a problem, that’d be awesome.
Thanks in advance