Hi all,

(I am testing on Asterisk 11.7.0~dfsg-1ubuntu1)

I am using the following format to append to a logfile, according to the
documentation <http://www.voip-info.org/wiki/view/Asterisk+func+FILE>:

same => n,Set(FILE(/tmp/mylog.txt,,,a)=my-log-message)

But this does not append a newline. So I am trying:

same => n,Set(FILE(/tmp/mylog.txt,,,al)=my-log-message)

But this does not append (instead, it just overwrites - surprisingly, since
the documentation says that this should append!).

How can I append *and* make sure that a newline is added after the log
message?

Thanks,

Daniel Gonzalez
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to