Levsin is an anticholinergic agent and is used for many reasons. I do not know if it would be useful with esophogeal spasms.
Good question for your physician.
Take care
Kitt