AGI not running?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

AGI not running?

Postby s0lid » Wed Sep 19, 2007 1:23 pm

hi, im having a problem running AGI when i try to dial i get this froma sterisk console

Sep 19 14:20:59 WARNING[3935]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused

what seems to be the problem?
s0lid
 
Posts: 67
Joined: Thu Jun 15, 2006 3:32 pm
Location: Manila, Philippines

Postby Op3r » Wed Sep 19, 2007 2:20 pm

check /etc/astguiclient.conf for the password for mysql.

check if mysql is running.

if it is, then check if you have asterisk-perl .
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mcargile » Fri Sep 21, 2007 11:14 am

Please post the results of:
Code: Select all
screen -ls


Also try running the FastAGI_log script on the command line. It should output why it is failing to start up. Do so by running the following command (assuming you install the software in the default location).
Code: Select all
/usr/share/astguiclient/FastAGI_log.pl
If there are any errors please post them, if not and the program runs for longer than a minute or so you probably do not have cron starting on boot up.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Postby wilson » Thu Oct 02, 2008 12:36 pm

Same problem here, I ran the command and it came back with this.


root@mydomain:/etc/asterisk# /usr/share/astguiclient/FastAGI_log.pl
Can't locate Asterisk/AGI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/share/astguiclient/FastAGI_log.pl line 133.
BEGIN failed--compilation aborted at /usr/share/astguiclient/FastAGI_log.pl line 133.



There are several suitable screens on:
2543.asterisk (Detached)
2598.ASTupdate (Detached)
2601.ASTsend (Detached)
2604.ASTlisten (Detached)
2607.ASTVDauto (Detached)
2613.ASTVDadapt (Detached)

Any ideas on what is wrong? As far as I can tell I have done everything on the scratch install.
wilson
 
Posts: 30
Joined: Thu Oct 02, 2008 12:31 pm

Postby mflorell » Thu Oct 02, 2008 6:43 pm

You don't have asterisk-perl installed.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby wilson » Fri Oct 03, 2008 2:37 am

Thanks that was the problem.

I have been running vicidial for a while now, I must have had a typo when installing it and did not notice.

What effect other than the error message I was seeing on the CLI would it have had not having asterisk-perl installed?
More to the point what change can I expect to see now?
wilson
 
Posts: 30
Joined: Thu Oct 02, 2008 12:31 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 269 guests