[Asterisk-Users] Auto callout - reminder - is it possible?
Peter Svensson
psvasterisk at psv.nu
Mon Jan 24 07:36:42 MST 2005
On Mon, 24 Jan 2005, Andrew Kohlsmith wrote:
> As far as integrating with a website or database -- that is a piece of cake.
> Your backend logic just determines when a call is needed and gerates the
> approprate .call file. Just remember to create it in /tmp or something,
> close it and then MOVE it to the outgoing spool instead of creating and
> working on it in the outgoing spool.
You need to create the temporary file on the same device as the call spool
resides on. Otherwise the move from the temporary location the the call
spool will not be an atomic operation but rather a read-write-unlink
sequence. This has been discussed earlier on the mailing list.
Just make a temporary directory next to the call spool directory and
create the files there.
Peter
More information about the asterisk-users
mailing list