Currently we have an app. that we send the CDR data too via a serial port. It runs as a service, and reads the Matser.csv file using Perl’s TAIL command.
This all works fine and has for quite some time, BUT the issue is we need an extra cable for the serial data.
So I got to thinking how I could get the data via TCP.
The solution I came up with was, when a hangup happens, run an app. (or PHP script in this case) that also uses tail to read the master.csv file, thens end the data via TCP.
This so far has worked, but before I get carried away, can anyone see an issue with this approach??