<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What are the permissions on the module you are trying to run? (ls –l /var/lib/asterisk/agi-bin/module)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Ahmed Munir<br><b>Sent:</b> Wednesday, January 04, 2012 12:15 PM<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> Re: [asterisk-users] asterisk -> AGI (perl) -> sqlplus (oracle)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi,<br><br>I installed the modules in asterisk user home directory with read and excitable permissions for asterisk but still my AGI not working.<br><br>Please provide me other advise to resolve this issue.<br> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal style='margin-bottom:12.0pt'>Date: Wed, 4 Jan 2012 11:30:34 -0600<br>From: "Danny Nicholas" <<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>><br>Subject: Re: [asterisk-users] asterisk -> AGI (perl) -> sqlplus<br> (oracle)<br>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"<br> <<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>Message-ID: <00ca01cccb06$911e8300$b35b8900$@<a href="http://debsinc.com" target="_blank">debsinc.com</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>The module probably isn't readable/executeable from Asterisk<br><br><br><br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Ahmed Munir<br>Sent: Wednesday, January 04, 2012 10:45 AM<br>To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>Subject: [asterisk-users] asterisk -> AGI (perl) -> sqlplus (oracle)<br><br><br><br>Hi all,<br><br>I'm trying to run an AGI in PERL which uses the module DBD-Oracle. Currently<br>my AGI is working fine in my two servers but not in my other four servers.<br>When I tried execute an AGI (as a user asterisk) in command line it works<br>fine (even I also declare environmental variables in user profile and in my<br>AGI), but when I tried to call my AGI (perl) in dial plan, it don't get<br>executed.<br><br>Please advise me to resolve this issue.<br><br>--<br>Regards,<br><br>Ahmed Munir Chohan<br><br><o:p></o:p></p></blockquote></div><p class=MsoNormal style='margin-bottom:12.0pt'>- <br>Regards,<br><br>Ahmed Munir Chohan<br><br><o:p></o:p></p></div></body></html>