What is the major function of muscularis externa?

The muscularis externa is the layer of the digestive tube consisting of smooth muscle. This is responsible for the segmental contractions of peristalsis..