cant add agents with the call-center module..

Trosky777

Joined
Apr 14, 2010
Messages
7
Likes
0
Points
0
#1
Hi, I just install the last version of Elastix and call center module and I've got a problem.. I can't add agents into it.. It says "Error when trying to insert an agent. Agent already exists".. Can you give a little help??? :dry:
 

Trosky777

Joined
Apr 14, 2010
Messages
7
Likes
0
Points
0
#2
i found out that there error comes from checking a variable that is an array instead.

on this file /var/www/html/modules/agents/libs/Agentes.class.php

// if (!is_null($this->getAgents($agent[0]))) { this is the original line, which i commented and replaced for the one below

if (count($this->getAgents($agent[0])) > 0) {
$this->errMsg = 'Agent already exists';
return FALSE;

This allows the agents to be created and they are written in the database. But for some reason more than 1 agents can b created since this info its written in the text files. Any comments about this might be helpful.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top