On Thu, 24 Feb 2011 11:56:25 +0100, Gilles <[email protected]>
wrote:
>The following, dead simple Bash script ran as AGI doesn't reply to
>Asterisk:

Turns out Bash doesn't allow empty loops. This version does reply as
expected:

==============
#!/bin/bash
read line
while [[ "$line" != "" ]] ; do
    read line
done

echo "NOOP Here"
read line

exit 0
==============

HTH,


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to