>#!/bin/bash
>while true; do
>     tail -f /var/log/asterisk/cdr-custom/Master.csv | nc -p 1024 -l
>done 

 

Thank you John, this bash script is exactly what I was looking for. Very 
simple, yet works.

 

As for doing this with insert into database and then polling for it... well I 
don‘t like polling. It‘s a good idea, but in the end, for this solution/in this 
case, the system reading the socket will in fact file the data (post 
processing) in a sql database for storing and querying.

 

tnx,

Baldvin

 

From: John Hass [mailto:[EMAIL PROTECTED] 
Sent: 24. október 2007 22:39
To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to get TCP access to CDR Master.csv

 

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Reply via email to