Speciation can occur even when there is no specific extrinsic barrier to gene flow. Imagine a situation in which a population extends over a broad geographic range, and mating throughout the population is not random. Individuals in the far west would have zero chance of mating with individuals in the far eastern end of the range. So we have reduced gene flow, but not total isolation. This may or may not be sufficient to cause speciation. Speciation would probably also require different selective pressures at opposite ends of the range, which would alter gene frequencies in groups at different ends of the range so much that they would not be able to mate if they were reunited.
Image use policy: For non-commercial, educational purposes, this image may be used with a Creative Commons CC BY-NC-SA 4.0 license. Please credit as follows: © University of California Museum of Paleontology, Understanding Evolution, www.understandingevolution.org