Asterisk-IM and FreePBX 12

We’re using FreePBX 12 for VoIP and would like to connect OpenFire to it to get presence information (on the phone, available, etc.). I was able to setup Asterisk-IM and get things connected, and it sort of works. If one user calls another, they’ll get an “on the phone” away message, but shortly into the call (30 sec to a minute) everyone will go back to available, even if the call is still connected. Has anyone run into anything like this and found a solution?

I have not been able to get it working right at all, after I added the asterisk plug in it kept all of my Active Directory users from logging in so I had to remove the plug in.