To make an application to see who's calling in real time, I was thinking I had to use the CallDetailRecord table in the CDR SQL database. Unfortunately, when I enable the CDR Enables Flag and the Call Diagnostics Enabled in the Call Manager Administration, there is only the CallDetailRecordDiagnostic table witch is filled, and not in real-time...
Does anyone knows how to fill the CallDetailRecord table in real time ?
There is no way to get CDR in real-time on the CallManager.
However, if you use tapi or jtapi to monitor the lines on the CallManager you can observe call events occuring on the CallManager in real-time. Not as convenient as CDR, but will probably provide you with what you are looking for.
Check the tapi/jtapi specs from the programming reference guides:
You'll also want to join the Cisco Developer Support program if you have not yet already done so. There is more information on these interfaces there with samples applications:
If you are using IOS based Gateways you should be able to setup some SNMP based log-traps to provide some real time ISDN logging. (assuming that you are using PRI with Caller ID enabled).
I haven't seen a way to do this within CM for MGCP gateways (6608 etc).
Thank you for your response.
We are already use thise method, with snmp trap, we log every dial-in, but we can't see h323 dial, transfert...
Perhaps we can do the same thing on the callmanager, with the log, we are trying...