OPNsense relies on a classic "PC speaker" device present since the first IBM PC. If the Sophos firewall has different hardware, that is not going to work.