The Error Which I face I have attached. I need a clarification of Why I face this error and how to overcome this. Anybody know Please help...... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150309/51d674d5/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: asterisk tts.PNG Type: image/png Size: 13939 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150309/51d674d5/attachment.png>
On Monday 09 Mar 2015, janani m wrote:> The Error Which I face I have attached. > I need a clarification of Why I face this error and how to overcome this. > Anybody know Please help......That's a very common error and what it means is, the AGI script "/var/lib/asterisk/agi-bin/googletts.agi" either has an incorrect #! line, or needs chmod +x run on it. What do you get if you run # ls -l /var/lib/asterisk/agi-bin/googletts.agi and # head -n1 /var/lib/asterisk/agi-bin/googletts.agi respectively? -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk .
> On Monday 09 Mar 2015, janani m wrote:>> The Error Which I face I have attached.Please do not attach pictures. Please cut and past text. On Mon, 9 Mar 2015, A J Stiles wrote:> That's a very common error and what it means is, the AGI script > "/var/lib/asterisk/agi-bin/googletts.agi" either has an incorrect #! > line, or needs chmod +x run on it. > > What do you get if you run > # ls -l /var/lib/asterisk/agi-bin/googletts.agi > and > # head -n1 /var/lib/asterisk/agi-bin/googletts.agi > respectively?Another possibility if Windows boxes have been involved in downloading/extracting/copying the script -- incorrect line endings. What does: od -c /var/lib/asterisk/agi-bin/googletts.agi | head --lines=2 look like. Any '\r \n' (Windows line ending) where '\n' (Unix line ending) should be? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000