[asterisk-users] Read Command

Yves Räber yraber at mailup.net
Mon Aug 25 01:29:44 CDT 2008


You first use the Read application : 

exten => s,n,Read(ANS|filetoplay)

And then use GotoIfs by checking the ${ANS} variable to do the logic
(re-ask if bad response, else continue in dialplan).


On Sun, 2008-08-24 at 23:10 -0700, 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..
> 
>  
> 
> -JC
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> _______________________________________________
> -- 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




More information about the asterisk-users mailing list