Asterisk realtime and presence in FOP2

Hi,

I have searched in the forum and haven't found any thread with a solution to my problem. I use FOP2 and Asterisk 11 with realtime SIP.

I have qualify=yes and rtcachefriends=yes. As long as the user is cached in the realtime cache table FOP2 it will show correct presence and the behavior is always consistent.

However if the user is not yet logged in after a restart or a peer realtime purge from the realtime cache then the user have status "logged in", until the user logs in and the behavior will again work as intended.

Are there are solution to show correct presence before the user is logged in after being purged?

To refresh settings from database I would like to expire cache users on a regular basis and then this problem will become even more clear.

FOP2 are able to see the correct presence in this scenario when the user is logged into the queue and it will show unavailable in the queue button.

Any help is appriciated.

Comments

  • FOP2 will react to AMI events and responses to commands. It won't react to anything else, it does not care about databases, it only cares about AMI events or AMI responses to commands like "SIPPeers". I think your problem is related to that, the lack of proper AMI responses or events. I cannot give you a solution to that more than what you have already done (rtcachefriends=yes). Anything else should be considered an asterisk feature/bug.

    Best regards,
  • Thank you Nicolas - I would look into my configuration and/or follow up this AMI event with Asterisk support.
Sign In or Register to comment.