Opener configuration with a generic 2 wire intercom

Hi, I have tried configuring the Opener, but I keep getting the invalid wire config error, with both green wires linked to the black or both reds (assuming the polarity was not right). See image for current config, although I think the reds should normally go with the black.
The right white wire is the outside one.
Any clues? Thank you