> I've search the world over....  but I haven't figured out a way to
have 
> valid/invalid options for entry when using the Read command...    
> I need to set a variable, but only want to allow certain values to be 
> valid options for that variable...   

I hope I understand your question.
You can use Read(<var-name>,<msg>,<length of input>);
You can then use switch to control the input.

Alternatively, you can use WaitExten() instead of Read().

Also, try to code your dialplan using AEL2 instead of AEL.


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to