Box2d 2.0.1: contact point and contact side

Hi

I use box2D 2.0.1 and I need convert contact point to information about: from which side box collide with another box (top, bottom, left or right). How Can I do this?

Both boxes do not rotate.
You'll need to figure out which box's body is bodyA and which one is bodyB, if you are doing something interesting with the contact when it gets handled.
I have contact point data, so I know which bodies are collide:
-contact point,
-contact normal,
-contact separation,
-normal force,
-tangent force,
-contact ids.
-shape1
-shape2

I'm trying to determine, in which side of shape2, shape1 hit. Top, bottom, left or right.

All bodies have rectangle shapes, and do not rotate.

Original thread: https://box2d.org/forum/viewtopic.php?t=6314