[asterisk-users] use of Read cmd with AGI

Steve Edwards asterisk.org at sedwards.com
Tue May 22 12:36:20 CDT 2012


Un-top-posting...

> From: alejandro.beltran at setcolombia.com

> Hi, try some like this:

[PERL snippet using get_data AGI command]

On Tue, 22 May 2012, Kamlesh Kumar wrote:

> I tried it but it doesn't work.
>
> beep file gets played, and when I enter any digit(s), it doesn't get 
> stored in $keys variable.

1) Does enabling AGI debugging on the Asterisk console shed any clues?

2) Try reducing your AGI script to the bare minium.

3) Post the full source of your AGI and the Asterisk console log with AGI 
debugging enabled.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list