VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
gopalakrishnan.an at g... Guest
|
Posted: Sat Nov 30, 2013 1:27 am Post subject: [asterisk-users] AGI Script not working |
|
|
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.
Whereas database connection is fine, when I run agi debug I see only Tx packets not Rx packets, firewall is also OFF.
Any other specific reason why there is no Rx.
The same script working in one more Asterisk machine.
Regards |
|
Back to top |
|
|
EWieling at nyigc.com Guest
|
Posted: Sun Dec 01, 2013 9:39 pm Post subject: [asterisk-users] AGI Script not working |
|
|
Sounds like you are violating the AGI protocol. Which Perl AGI library are you using?
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Gopalakrishnan N
Sent: Saturday, November 30, 2013 1:27 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] AGI Script not working
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.
Whereas database connection is fine, when I run agi debug I see only Tx packets not Rx packets, firewall is also OFF.
Any other specific reason why there is no Rx.
The same script working in one more Asterisk machine.
Regards
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
gopalakrishnan.an at g... Guest
|
Posted: Mon Dec 02, 2013 4:36 am Post subject: [asterisk-users] AGI Script not working |
|
|
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.
On Mon, Dec 2, 2013 at 8:08 AM, Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)> wrote:
Quote: | Sounds like you are violating the AGI protocol. Which Perl AGI library are you using?
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Gopalakrishnan N
Sent: Saturday, November 30, 2013 1:27 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] AGI Script not working
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.
Whereas database connection is fine, when I run agi debug I see only Tx packets not Rx packets, firewall is also OFF.
Any other specific reason why there is no Rx.
The same script working in one more Asterisk machine.
Regards
--
_____________________________________________________________________
-- 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
|
|
|
Back to top |
|
|
gopalakrishnan.an at g... Guest
|
Posted: Mon Dec 02, 2013 4:59 am Post subject: [asterisk-users] AGI Script not working |
|
|
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.
Once again thank you.
On Mon, Dec 2, 2013 at 3:05 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com (gopalakrishnan.an@gmail.com)> wrote:
Quote: | 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.
On Mon, Dec 2, 2013 at 8:08 AM, Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)> wrote:
Quote: | Sounds like you are violating the AGI protocol. Which Perl AGI library are you using?
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Gopalakrishnan N
Sent: Saturday, November 30, 2013 1:27 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] AGI Script not working
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.
Whereas database connection is fine, when I run agi debug I see only Tx packets not Rx packets, firewall is also OFF.
Any other specific reason why there is no Rx.
The same script working in one more Asterisk machine.
Regards
--
_____________________________________________________________________
-- 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
|
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|