The major parties are campaigning on the final day of the crucial Upper Hunter by-election in NSW, making their last pitch to voters.