I'd agree with esshup. Take a look at the rest of the pipe, and if the other sections look good, you should just be able to bolt on a splicing collar. I don't think that's what they are actually called, but if you call a pipe supply store and describe that what you want to do, they should be able to identify the part you need.