Callback problem: mixup of fields

All installation and configuration problems and questions

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

Callback problem: mixup of fields

Postby gschaller » Wed Apr 01, 2009 12:26 pm

Hello,
I have a problem with callbacks. Agent calls customer and sets up a callback after the call. All right in table vicidial_callbacks. Later agent click to callbacks in agent interface. Looks good, Callbacks are listed the right way. But after selecting a lead it should take the lead data and put them in the right fields of the mask. But for example in field address1 I have the phone-code. In field city the first_name. And in province the last_name. The phone-number is in field address2.
You see - it is impossible to dial the customer with click to "dial lead". Any hints why the fields are mixed up?

Vicidial 2.0.5rc4
Debian Lenny
PHP 5.2.6
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby mflorell » Wed Apr 01, 2009 12:33 pm

I cannot duplicate the problem on our test system. Was this an upgrade you did, or a fresh install of 2.0.5rc4?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gschaller » Wed Apr 01, 2009 12:40 pm

Was an upgrade from 2.0.4, but I had the same problems there. Auto dialing and all other things are working well.
I have the same problem with manual dial.
I will compare my database structure with scratch install.
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby gschaller » Wed Apr 01, 2009 3:31 pm

Database structure is the same as in MySQL_AST_CREATE_tables.sql of 2.0.5. Matt can you help? I don't see the problem.
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby mflorell » Wed Apr 01, 2009 6:48 pm

Not sure what to say, I cannot duplicate. I have tried this on an upgraded system and a fresh install of 2.0.5rc5 and I do not have the same problem.

Are your data fields in the right place if you do a SELECT * from vicidial_list where.... ?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gschaller » Thu Apr 02, 2009 2:05 am

Yes the data fields are in the right place. I tried something: In vdc_db_query.php in line 972 I added some debug lines. They wrote some variables to a flat file. I had a look to the file - everything is good and in the right place. So the mixup is caused by transfering the data to agent screen or while processing it in the agent screen. I will try to debug it in vicidial.php.
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby gschaller » Thu Apr 02, 2009 2:35 am

Found the problem. Mea culpa!
vdc_db_query.php tried to write to log file xfer_log.txt. But it can't cause not writeable. So it returned back the normal data AND the error message about xfer_log.txt. And that mixed up the fields.
I changed file system rights so xfer_log.txt is writeable. All works fine now. Thanks for your help.

I hit the rock bottom. :oops:
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby mflorell » Thu Apr 02, 2009 6:00 am

Ah you have enabled the "Enable Agent Transfer Logfile" feature in System Settings. Are you actually using this file for something?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gschaller » Thu Apr 02, 2009 6:27 am

No. But I thought having logs is good because the system startet 3 weeks ago and is very "new". I think I have to reorganize and disable unused log files.
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby mflorell » Thu Apr 02, 2009 8:22 am

Well, this one specifically is a bit unique, it doesn't really help that much in debugging system issues which is why i asked. The server logs are a good idea to have enabled to debug problems if you have any.
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: Bing [Bot], Google [Bot] and 268 guests