alert after x amount of time on pause

Hi I would like to generate some event or alert when agent's pause time is greater than > 10 minutes. I dont think that such option exists on vicidial, but my question is does the paused time is saved on some DB table, because if so I could write a php script that do the job runing through a cron job.