Hi, I have /dev/ttyS0 set up with a serial cable so a call centre system can
pick up CallerID.  How can I redirect the log output of asterisk to
/dev/ttyS0 or /dev/console?

I think you might be better off with a System() call in your dial plan such as:
System(echo ${CALLERIDNUM} > /dev/ttyS0)

That will send the callerID number followed by a new line. You can of
course change the format to your desire. Make sure /dev/ttyS0 is
writable by the asterisk user, and is also properly set up (baud rate,
bits, ...).

--Luki
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to