[asterisk-dev] RS232

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Aug 23 12:22:34 MST 2006


On Wed, Aug 23, 2006 at 01:43:23PM -0500, Brandon Galbraith wrote:
> You could always write a shell script to dump the contents of the CDR file
> or database to the serial port every so often as well.

What's wrong with using the character device file itself? The only
problem I see is that Asterisk tries to be over-smart and rotate some
logs. There must be a way to avoid that.

I can' really test this ATM with a serial console, but a simple

  chown asterisk /dev/tty9
  ln -s /dev/tty9 /var/log/asterisk/cdr-custom/Master.csv

seems to do the trick temporarily and lasted after a 'logger reload'

Sorry about the -users issue.

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-dev mailing list