asterisk -> AGI (perl) -> sqlplus (oracle)

Home » Asterisk Users » asterisk -> AGI (perl) -> sqlplus (oracle)
Asterisk Users No Comments

Ahmed Munir wrote:
> Hi,
>
> I installed the modules in asterisk user home directory with read and
> excitable permissions for asterisk but still my AGI not working.

IMO, it would have been better to install it in it’s normal location.

Is your script using the warnings and strict pragmas?

What error message do you receive when running the script from the command
line?

Did you add the proper “use lib ‘….'” statement to add the install
directory to the @INC array?

Ron Bergin

>
> Please provide me other advise to resolve this issue.
>
>
>> Date: Wed, 4 Jan 2012 11:30:34 -0600
>> From: “Danny Nicholas”
>> Subject: Re: [asterisk-users] asterisk -> AGI (perl) -> sqlplus
>> (oracle)
>> To: “‘Asterisk Users Mailing List – Non-Commercial Discussion'”
>>
>> Message-ID: <00ca01cccb06$911e8300$b35b8900$@debsinc.com>
>> Content-Type: text/plain; charset=”us-ascii”
>>
>> The module probably isn’t readable/executeable from Asterisk
>>
>>
>>
>> From: asterisk-users-bounces@lists.digium.com
>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Ahmed
>> Munir
>> Sent: Wednesday, January 04, 2012 10:45 AM
>> To: asterisk-users@lists.digium.com
>> Subject: [asterisk-users] asterisk -> AGI (perl) -> sqlplus (oracle)
>>
>>
>>
>> Hi all,
>>
>> I’m trying to run an AGI in PERL which uses the module DBD-Oracle.
>> Currently
>> my AGI is working fine in my two servers but not in my other four
>> servers.
>> When I tried execute an AGI (as a user asterisk) in command line it
>> works
>> fine (even I also declare environmental variables in user profile and in
>> my
>> AGI), but when I tried to call my AGI (perl) in dial plan, it don’t get
>> executed.
>>
>> Please advise me to resolve this issue.
>>
>> —
>> Regards,
>>
>> Ahmed Munir Chohan
>>
>>
>> –
> Regards,
>
> Ahmed Munir Chohan
> —
> _____________________________________________________________________
> — 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