<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Kindly note if I run the script from shell using sudo everything looks greate as below:<br>
sudo /var/lib/asterisk/agi-bin/dial.pl<br>
sudo: unable to execute /var/lib/asterisk/agi-bin/dial.pl: Success<br></div></blockquote></div><br>Please read that command output again. It may not be as great as you think. &quot;unable to execute&quot;. hmmh.<br><br>Have you installed Perl on your systerm? Do you have it installed in the same location that the script expects it? Do you know how to check that? (hint: look at the first line of your script, the one starting with #!. I would expect it to contain the full path to your perl interpreter. Make sure that path is correct. Do not modify any commandline arguments that may also be specified in the script header.)<br>
<br>