AST_VDremote_agents.pl Error

All installation and configuration problems and questions

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

AST_VDremote_agents.pl Error

Postby xCape » Tue Oct 07, 2008 2:33 pm

Hello,

I am looking for anyone who could help me out with this error:

DBD::mysql::st fetchrow_array failed: fetch() without execute() at /usr/share/astguiclient/AST_VDremote_agents.pl line 406

AST_VDremote_agent causes the CPU to spike to 90-100% as it loops.

I am using the latest SVN trunk for astguiclient.
asterisk 1.2.19
Ubuntu 8.04.

Mysql server and client 5.0.51b

Thank you.
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby mflorell » Tue Oct 07, 2008 4:53 pm

Try downloading this script and run it with the --debugX flag and see if it will do that same thing, I've streamlined the count(*) statements and added debug output.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mflorell » Tue Oct 07, 2008 5:11 pm

sorry, here's the URL:
http://www.eflo.net/downloads/AST_VDremote_agents.txt

(you will need to save it as ".pl")
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby xCape » Wed Oct 08, 2008 10:12 am

This is the output:

DBD::mysql::st fetchrow_array failed: fetch() without execute() at AST_VDremote_agents.pl line 568

Thanks.
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby xCape » Wed Oct 08, 2008 11:14 am

Actually this output looks more like what you want:

-----DEBUGGING -----


----- SUPER-DUPER DEBUGGING -----

TIME DEBUG: |1|1| GMT: 11:13
DBI connect('asterisk:172.20.100.7:3306','cron',...) failed: Can't connect to MySQL server on '172.20.100.7' (111) at AST_VDremote_agents2.pl line 151
Couldn't connect to database: Can't connect to MySQL server on '172.20.100.7' (111) at AST_VDremote_agents2.pl line 151.

Edit: forget it i was using the wrong client version.
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby mflorell » Wed Oct 08, 2008 2:42 pm

just uploaded a new version to the same address. Please try it again.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby xCape » Thu Oct 09, 2008 8:50 am

Well, I think the problem had to do with the database. I installed MySQL server using apt-get. Once I removed it and compiled it maually I was able to make calls with out that problem. When I attach to ASTVDremote it gives me:

no command line options set

Is this what it is supposed to say?

Also, if this question was asked before I am sorry for repeating it. What would be your recommendation for the "Number of Lines" for a remote agent that has 4 full PRI T1s and has the web server and database on separate servers?

Thank you very much.
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby mflorell » Thu Oct 09, 2008 6:22 pm

I'm glad the system is working ofr you now. As for the recommendation, what is the hardware being used?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby xCape » Fri Oct 10, 2008 8:40 am

Each server is a Dell PE R200 with 4 gigs of ram and a 2.66ghz Zeon quad core.
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby xCape » Mon Oct 13, 2008 12:33 pm

Would 50 lines assigned to I remote agent be too much?
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby mflorell » Mon Oct 13, 2008 6:31 pm

What kind of dialing are you doing?

What is your maximum dial ratio set to?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby xCape » Thu Oct 16, 2008 9:04 am

What kind of dialing are you doing?
My dialing campaign dials a group of numbers and leaves one message if an answering machine is detected and separate message if it is answered by a human.

What is your maximum dial ratio set to?
Where is the dial ratio set? is it "Max VICIDIAL Trunks:"?
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby mflorell » Thu Oct 16, 2008 8:07 pm

max dial level is in the campaign modification screen.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby xCape » Fri Oct 17, 2008 8:09 am

I have "Maximum Adapt Dial Level" set to 4, Number of lines in "REMOTE AGENTS MODIFIED" set to 20, and I have "Max VICIDIAL Trunks" set to 92.

I was just wondering if I should increase my number of lines in "REMOTE AGENTS MODIFIED" to increase the amount of calls per hour.
Great discoveries and improvements invariably involve the cooperation of many minds.
-Alexander Graham Bell
xCape
 
Posts: 30
Joined: Tue Jul 01, 2008 9:49 am

Postby mflorell » Fri Oct 17, 2008 3:01 pm

If you are doing live agents with this then those settings should be fine. If you are doing a messaging campaign then you should set the Campaign dial ratio to 1 and the dial method to RATIO.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 294 guests

cron