This is my first post and I really want to say thanks to everyone for coming together and helping each other.
I have a problem with queues with presence state of the agents in asterisk 15.6.2 and 13.23.1. Whenever an agent puts a caller on hold for long duration ( I have found out that above 15 minutes) agents presence state gets changed from Hold to Not In Use in queue show.
I have also personally found out that the moment agent puts call on hold he start to get another call even though ringinuse is set no.
I am using freepbx but I am using realtime queues and realtime sip peers in MySQL. This is the only problem I am facing.