Hi Salim,
in an element-boundary integral, the normal vector is always pointing outside of the element.
The problem with your 'wrong solution' is that a discontinuous H(div) has no Trace anymore.
To build the right hand side with the jump1 - term, you can do element-boundary integrals everywhere, and multiply with a selection function set to 1 at the interface.
Joachim