Priorities of resources

Asterisk-IM correctly changes to “On the phone” when I make or take a call. However, after that, my status frequently switches back to “Available” before the call terminates. I am wondering if my client is overwriting “On the phone” with “Available.” Could this be the case? Might my client resource have a higher priority than the Asterisk-IM resource?