Page 1 of 1

Vicidial undefined variable

PostPosted: Wed Jun 21, 2006 8:49 am
by arunvoip
hi,

I'm trying to install vici with my asterisk. My asterisk is working fine I can make all outbound call. But when my vicidialer try to make calles it say you are the only person in this conference meanwhile I look on the logs of my apache it says
[error] PHP Notice: Undefined variable: DB in /var/www/html/agc/conf_exten_check.php on line 78
[Wed Jun 21 19:10:27 2006] [error] PHP Notice: Undefined variable: DB in /var/www/html/agc/conf_exten_check.php on line 99

any help soon will be great.

thanks in advance.

PostPosted: Wed Jun 21, 2006 8:57 am
by mflorell
What version of astGUIclient are you using?

As for no dials, that Apache error has nothing to do with it.
Is your AST_VDauto-dial.pl script running?
Are there leads in your hopper for your campaign?

Vicidial undefined variable

PostPosted: Wed Jun 21, 2006 9:09 am
by arunvoip
hi

I'm running astguiclient_1.1.11 version. No AST_VDauto_dial.pl script is not running where I have to place this script to run. thank for your prompt reply.

thanks

PostPosted: Wed Jun 21, 2006 9:15 am
by mflorell
Have you read through the entire SCRATCH_INSTALL document?

There are several crontab entries that need to be present for the server-side scripts(like AST_VDauto-dial.pl) to be run properly. These server-side programs have to run for any dialing through VICIDIAL to happen.

PostPosted: Wed Jun 21, 2006 9:18 am
by arunvoip
yes I have put all enteries as per the install document and even I started that script It was not running now I see the following output:

loop counter: |5759833|
TIME DEBUG: 5|5|0| GMT: 14:47
2006-06-21 19:47:38|LIVE AGENTS LOGGED IN: 0|
2006-06-21 19:47:38| : agents: dial_level: 0|
2006-06-21 19:47:38| : Calls to place: 0 (0 - 0) |
2006-06-21 19:47:38| : CALLING|
TIME DEBUG: 5|5|0| GMT: 14:47
2006-06-21 19:47:38|| lagged call vla agent PAUSED 0|20060621194708|20060621194728|20060621194738||
2006-06-21 19:47:38|| lagged call vac agent DELETED 0|2006-06-21 19:45:38||

and the apache is the same output.

thank

PostPosted: Wed Jun 21, 2006 10:07 am
by mflorell
are there any records in the vicidial_hopper table?
are there any entries in the vicidial_auto_calls table?

What is the output when you type "screen -r" at the Linux command line?

PostPosted: Wed Jun 21, 2006 10:53 am
by arunvoip
hi,

thanks for your help. your help was good. I'm really thankful to you. Now I'm able to call.

thanks for all your prompt reply.

thanks...


;-)

PostPosted: Wed Jun 21, 2006 1:25 pm
by enjay
What was the solution to the problem?

One problem Im experiencing is that I cant modify any of the campaigns if I try to change the hopper level or the Dial Status or anything for that matter after the initial campaign has been completed I get errors in my apache error_log.

-Snippet-
[client 192.168.0.156] PHP Notice: Undefined variable: force_logout in /var/www/html/vicidial/admin.php on line 262, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/admin.php on line 274, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined offset: 29 in /var/www/html/vicidial/admin.php on line 314, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined offset: 30 in /var/www/html/vicidial/admin.php on line 315, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/vicidial/admin.php on line 435, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: reports_hh in /var/www/html/vicidial/admin.php on line 1279, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: reports_hh in /var/www/html/vicidial/admin.php on line 1315, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined offset: 33 in /var/www/html/vicidial/admin.php on line 3201, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined offset: 34 in /var/www/html/vicidial/admin.php on line 3202, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined offset: 35 in /var/www/html/vicidial/admin.php on line 3203, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: HKstatuses_list in /var/www/html/vicidial/admin.php on line 3229, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined index: in /var/www/html/vicidial/admin.php on line 3251, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined index: in /var/www/html/vicidial/admin.php on line 3255, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined index: in /var/www/html/vicidial/admin.php on line 3259, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined index: in /var/www/html/vicidial/admin.php on line 3263, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: filtername_list in /var/www/html/vicidial/admin.php on line 3270, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: scriptname_list in /var/www/html/vicidial/admin.php on line 3301, referer: http://192.168.0.8/vicidial/admin.php
[client 192.168.0.156] PHP Notice: Undefined variable: filtersql_list in /var/www/html/vicidial/admin.php on line 3431, referer: http://192.168.0.8/vicidial/admin.php
-end Snippet-


-enjay

PostPosted: Wed Jun 21, 2006 1:52 pm
by mflorell
First of all those are not ERRORS, they are NOTICEs and WARNINGs which are not fatal. I usually recommend turning off NOTICES in your php.ini file(they are off by default on PHP source installs)

What version of astGUIclient are you using?

PostPosted: Wed Jun 21, 2006 2:40 pm
by enjay
true my apologize, I know they are more informational than anything however I assume they have something to do with the fact of why I cannot make any modifications to the campaigns or anything else for that matter..

Im using:

/agc/vicidial.php
VICIDIial web-client version 1.1.78

/agc/astguiclient.php
astGUIclient web-client VERISON: 1.1.11

/astguiclient/admin.php
version 1.1.10-3

/vicidial/admin.php
version 1.1.10-3

-enjay

PostPosted: Wed Jun 21, 2006 2:53 pm
by mflorell
What is the campaign ID of your campaign that you are trying to modify?

What version of PHP are you running?

I would suggest upgrading to the latest snapshot, or if you can wait until tomorrow, upgrading to 1.1.12 which will also have several bug and security fixes for the admin.php pages.

PostPosted: Wed Jun 21, 2006 2:58 pm
by enjay
PHP 5.0.4

I've tried modifying a few differnet campaigns they are called:

20
campan
testtes

none of them will allow modification it SAYS they have been modified however none of the new values show up.. I will update.

-enjay

PostPosted: Wed Jun 21, 2006 3:22 pm
by enjay
Yea that didnt resolve the issue unfortunately, I'll keep plugging away.

-enjay

PostPosted: Wed Jun 21, 2006 3:55 pm
by enjay
Very wierd though that only the vicidial.php is experiencing this. I cannot update anything from users to campaigns lists etc. I've double/triple/quadruple checked the dbconnect.php script to ensure it has all the proper settings but still notta..

-enjay

PostPosted: Wed Jun 21, 2006 4:06 pm
by mflorell
vicidial.php? Do you mean vicidial/admin.php?

I have not run into that particular problem before and don't know what could be causing it. let us know if you figure it out.

PostPosted: Wed Jun 21, 2006 4:07 pm
by enjay
yea vicidial/admin.php... Will let you know what I figure out.