Vicidial undefined variable

Any and all non-support discussions

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

Vicidial undefined variable

Postby arunvoip » Wed Jun 21, 2006 8:49 am

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.
arunvoip
 
Posts: 36
Joined: Fri Jun 16, 2006 1:46 am

Postby mflorell » Wed Jun 21, 2006 8:57 am

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?
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Vicidial undefined variable

Postby arunvoip » Wed Jun 21, 2006 9:09 am

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
arunvoip
 
Posts: 36
Joined: Fri Jun 16, 2006 1:46 am

Postby mflorell » Wed Jun 21, 2006 9:15 am

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.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby arunvoip » Wed Jun 21, 2006 9:18 am

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
arunvoip
 
Posts: 36
Joined: Fri Jun 16, 2006 1:46 am

Postby mflorell » Wed Jun 21, 2006 10:07 am

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?
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby arunvoip » Wed Jun 21, 2006 10:53 am

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...


;-)
arunvoip
 
Posts: 36
Joined: Fri Jun 16, 2006 1:46 am

Postby enjay » Wed Jun 21, 2006 1:25 pm

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
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby mflorell » Wed Jun 21, 2006 1:52 pm

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?
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby enjay » Wed Jun 21, 2006 2:40 pm

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
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby mflorell » Wed Jun 21, 2006 2:53 pm

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.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby enjay » Wed Jun 21, 2006 2:58 pm

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
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby enjay » Wed Jun 21, 2006 3:22 pm

Yea that didnt resolve the issue unfortunately, I'll keep plugging away.

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby enjay » Wed Jun 21, 2006 3:55 pm

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
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby mflorell » Wed Jun 21, 2006 4:06 pm

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.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby enjay » Wed Jun 21, 2006 4:07 pm

yea vicidial/admin.php... Will let you know what I figure out.
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 38 guests