I don’t know what Elastix is. Some Linux distro probably. If it has its own packaging system and Openfire was installed this way then you should use it to update. If not, then you should know how it was installed and download the same package. Some packages (zip, tar.gz) can just be extracted on top of the older installation. Some have installation process which does the upgrading (exe, rpm, etc.).