Caller ID on Serial Port

Hi all, is there any way that FreePBX can present Caller ID information on a serial port?
I want to integrate FreePBX with an application that accepts CDR in real-time. The application currently receives the CDR information from a 9-pin serial port of a Toshiba PBX.

Many thanks!