The sphincter of Oddi is a muscular valve that controls the opening of the common hepatopancreatic duct (also called the common bile duct) into the duodenum. It regulates the flow of bile from the liver and digestive enzymes from the pancreas. It is not associated with the pyloric stomach, esophagus, or colon.