GoToIf Help

So i’m trying to use GoToIF() to complete the following:

  1. Call a number, ask if activate or deactive message. If active, record message and set variable to true. If deactivate, set variable to false.

  2. Then in the dialplan read if variable is active. If it is, play a message. If not, then continue on.

Anyone have any ideas on how I can go about accomplishing this? I apologize, as I am a newb at programming.

thank you.

Don’t be. For a beginner, it is always good to download/read this Asterisk: The Future of Telephony, 2nd Edition e-book to learn on how to configure/maintain/operate a plain-vanilla Asterisk PBX system.