EE had his finger mashed in the door of the haul truck cab. He was pulling the CB cable that was dragging inside the cab. Another EE was training on the truck. He got out of the cab & pulled slack out of the CB cable line. Injured was trying to hold the cable out of the way while the door was shut. Injured thought he was OK & told other EE to shut the door. Finger was fractured.