How to use Channel Variables in AGI exec function?

A post was split to a new topic: AMI AGI Getting channel variable