Fetch Live Call from AMI using Mysql

I need a help, i need particular cli base live call.
I can fetch the live call from AMI, but it shows all calls in my system.
Need to put it in mysqsl database and then fetch the call against cli.
anyone could help me plz.

regards,
adil

By default there is no way to achieve this. You should have custom logic(probably using agi or func_odbc) to insert records in MySQL when a call comes in and remove it when a call gets hung up.

–Satish Barot