<div dir="ltr">Thanks... I got it working actually I found with this command /usr/bin/perl -d <agi file name> from this I got to know that my library is missing and installed Asterisk-perl module and now its fine. <div>
<br></div><div>Once again thank you. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 3:05 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Library is Asterisk Perl library and module DBI. The same script working in different machine with same Asterisk version and same Perl version. Am able to see Tx and Rx from script. <div>
<br></div><div><br></div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 8:08 AM, Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sounds like you are violating the AGI protocol. Which Perl AGI library are you using?<br>
<div><div><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Gopalakrishnan N<br>
Sent: Saturday, November 30, 2013 1:27 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: [asterisk-users] AGI Script not working<br>
<br>
I have a Perl AGI script updating some values to database like recorded file path, unique ID and callerid. When I run the script with test dialplan, its not updating to database.<br>
<br>
Whereas database connection is fine, when I run agi debug I see only Tx packets not Rx packets, firewall is also OFF.<br>
<br>
Any other specific reason why there is no Rx.<br>
<br>
The same script working in one more Asterisk machine.<br>
<br>
Regards<br>
<br>
</div></div><span><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>