Page 1 of 1

ERROR LOGIN AND LOGOUT CAMPAIGN

PostPosted: Thu Oct 15, 2020 11:16 pm
by dgxa
Hello I am new here, and recently we install a vicidial clouster solution in my job. During the last week we are presenting issues with the vicidial cluster solution with one campaign

We are configurate 4 campaign in our first server pbx and one of that four campaign has the following problem:

The campaing called campaign_1 , this campaign have 10 agents that when all the agents are conneted one of the agent logout authomactly (involuntarily)and produce a chain reaction, this desconection that is provoked logout all the agents in the campain.

I am saw the httpd log and asteriks log and I can only see this information in /var/log/httpd/erro_log

[Thu Oct 15 16:48:42.109545 2020] [php7:warn] [pid 20951] [client 192.168.1.2:56631] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vicidial/admin.php on line 6004, referer: http://192.168.6.232/vicidial/admin.php
[Thu Oct 15 16:48:42.128887 2020] [php7:warn] [pid 23966] [client 192.168.1.2:56634] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vicidial/admin.php on line 6004, referer: http://192.168.6.232/vicidial/admin.php
[Thu Oct 15 17:02:45.438023 2020] [php7:warn] [pid 23967] [client 192.168.1.2:62927] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vicidial/admin.php on line 6004, referer: http://192.168.6.232/vicidial/admin.php ... d=10020001
[Thu Oct 15 17:04:02.681052 2020] [php7:warn] [pid 23963] [client 192.168.1.2:62951] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vicidial/admin.php on line 6004, referer: http://192.168.6.232/vicidial/admin.php

This is my version of my cluster component
APACHE
Server version: Apache/2.4.6 (CentOS)
Server built: Apr 2 2020 13:13:23

SO Cento 7

MariaDB
mysql Ver 15.1 Distrib 5.5.65-MariaDB, for Linux (x86_64) using readline 5.1

Asterisk
Asterisk 13.21.0-vici

WebPanel version
VERSION: 2.14-772a

Re: ERROR LOGIN AND LOGOUT CAMPAIGN

PostPosted: Fri Oct 16, 2020 2:24 am
by striker
which document you referred to install vicidial cluster in centos

better for cluster setups, use vicibox which has option to setup cluster smoothly.
http://vicibox.com/server/index.html

Re: ERROR LOGIN AND LOGOUT CAMPAIGN

PostPosted: Fri Oct 16, 2020 8:50 am
by dgxa
This solution was installed by other person, rigth now i don`t have the scope that how he made the installation. He has experience installing vicidial but he can`t solve us the problem at the moment.

So I don`t know the reason that he uses CentOS how base operative system for vicidial, I know that the vicibox solution come from with SUSE SO by default

Additional some idea to suggest me.

By other part i ask to my boss about the reason to use CenOS how base and says this:
1.- Because if you use SUSE how base SO you need the support from vicidial team. I don`t know if this is true.
2.- Because SUSE solution it`s not better than CentOS solution, the specialist says that SUSE give more problems that CentOS with the cluster solution

Re: ERROR LOGIN AND LOGOUT CAMPAIGN

PostPosted: Fri Oct 16, 2020 10:49 am
by salartelcast
Cluster works flawless on Vicibox. I've never faced any problems regarded to cluster in Vicibox. It will install the operating system and all packages needed for the environment to support Vicidial. As per support is concerns feel free to message here about the problems regarded to vicidial you'll get great support from here. you should give a try using vicibox thanks..!

Re: ERROR LOGIN AND LOGOUT CAMPAIGN

PostPosted: Fri Oct 16, 2020 2:30 pm
by williamconley
There is no "need" to get support differently from either CentOS (with instructions from Goautodial's old site) or OpenSuSE (usually via Vicibox's installation .iso). Both are Open Source and have no restrictions on PUBLIC access right down to the code. BUT: CentOS is NOT supported by The Vicidial Group (the guys that made and maintain Vicidial! The guys you call if you MUST have it fixed NOW some day in the future ... or just call us, of course, since we support all OSs for Vicidial... but I digress).

There are thousands of linux support techs that support Vicidial on either platform, but there are MORE that support it (and have experience with it) in OpenSuSE. This has been true for about a decade. Before that, it was split 50/50 whether CentOS or Ubuntu was your best bet.

All that being said: Your description makes it sound like there may be something "custom" happening on your server. Please post a few lines before and after line 6004 from the file specified in the error message. It's possible that there is a bug in the code or a restriction put in place by your coder.

Remember: Vicidial is free. Installation is free if you do it yourself (Vicibox.com!). Installation can start at $249 if you have someone like us do it for you (there are plenty of other prices from other coders out there).

Repair (to find out what is wrong on line 6004) can of course be made, to try to get you up to the number of agents you want without crashing. But I feel a need to warn you that if your coder put in a limit, and someone removes the limit, he may just go back in and put it in again (or break something else on purpose). There are bad coders out there.

Re: ERROR LOGIN AND LOGOUT CAMPAIGN

PostPosted: Thu Nov 26, 2020 4:15 pm
by dgxa
With this problem we found a solution, result that we had to recreate agent extension and update the password extension and user password too. We had some agents replicating the access of other agent. After we made this change we are working normally. Thank you to all for your help.