Put it at the very start of the scene, before the other person reacts, then follow it with a record scratch when the greeting lands badly and a soft door creak as they step back. Save a cheerful laugh for the end, after the reaction, so the hello sets up the whole exchange.