check the internal pin or surface inside the connector is shorted to which pin.. thats is signal and the external metallic surface shorted to the pin is ground
It is visible from the picture, the outer big metal barrel is the ground and is connected to the front pin,
the pin in the center of the plug is the signal and is connected to the rear side pin.