The most readable way to get the version is in /tmp/snapshot_status/ivr_presence.txt in a snapshot zipped file. In there you will find one “server” entry for each LQ in the link group. For example:
Servers (1):
[ server-key[ 999a0398 ] name="LQ 4WG#1" ivp=398:999a:1:0 ip=172.23.1.1:6001 version=npl-4.1.1.0 status=Connected ]