Used as an antispasmodic in bronchial asthma and whooping cough.