Joe Carroll wrote:
>
> 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…
>
> Any ideas?
>
> Thanks in advance..
>

If you use a goto based on the variable afterwards, it should jump to 
the 'i' (invalid) if the option entered does not exist.

Does that make enough sense? If not, feel free to ask more questions....

paulH


_______________________________________________
-- 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