thank you for reply
yes i do but my problem is messages those not deliver and not stored in offline message.
i think if openfire has a mechanism which test the availability of user and then send messages
this problem may be solved. in previous versions like 3.7.1 which i work with this problem was not
and openfire save messages as offline if a user was not reachable but has a session in server.