in fs_cli run version.

For Example:
fs_cli -x "version"
FreeSWITCH Version 1.0.4 (exported)