[asterisk-users] [1.4.39.2] Simple AGI doesn't reply
Steve Edwards
asterisk.org at sedwards.com
Thu Feb 24 10:27:13 CST 2011
On Thu, 24 Feb 2011, Gilles wrote:
> ============= /var/tmp/basic.agi
> #!/bin/bash
>
> #Ripped from
> #http://lists.digium.com/pipermail/asterisk-users/2003-July/008554.html
>
> while read -e ARG && [ "$ARG" ] ; do
> done
>
> echo "NOOP Here"
> while read line
> do
On Thu, 24 Feb 2011, Gilles wrote:
> Turns out Bash doesn't allow empty loops.
Bash has a thing about syntax too. Note you're not 'done' with your second
loop.
--
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