Call and extension monitoring

Hi,
I want to monitor the extensions/call/agnts like TSAPI and TAPI.
How can I do it?

Thanks
Samir

What exactly do you want to monitor, you can use AMI actions and Events

Thanks,
In the case of using actions and Events, you have to constantly poll it.
I want to listen the events of channel activities, like In Call, CPA in case of out call, Disconnection of calls and metadata of each call.

Events are pushed, not pulled.