Page 1 of 1

Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 9:38 pm
by smead
Customer Time and Channel is missing on agent screen. Where would I look to correct this?

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 10:33 pm
by williamconley
Modify the User and check permissions. Also consider making a superuser with ALL permissions and log in as that user. Just to be sure. :)

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 10:41 pm
by smead
What specifically would I be looking for? I tried as admin, with all permissions enabled under Users, and it still showed blank. There is no data displayed after "Customer Time:" and "Channel:" Also, just to be sure, I ran:
/usr/share/astguiclient/ADMIN_area_code_populate.pl --purge-table –debugX
/usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debugX

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 10:44 pm
by williamconley
Just to be funny ...:) Is there a ... customer? Or just a logged in agent? (Sorry, I HAVE to ask ... you've been a little light with details so ... I have to assume it's possible that there is no customer ...)

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 10:48 pm
by smead
Yes, I wish it was something that simple (and I'm sure it'll turn out to be something simple). I've tried multiple leads. Not sure what other details to give...

Also, as a side note. Is it possible to add timezone's to existing leads? In other words, display "EST, CST, etc" in a predefined field such as the "show" field.

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 10:58 pm
by williamconley
smead wrote:Yes, I wish it was something that simple (and I'm sure it'll turn out to be something simple). I've tried multiple leads. Not sure what other details to give...

Also, as a side note. Is it possible to add timezone's to existing leads? In other words, display "EST, CST, etc" in a predefined field such as the "show" field.

LOL. Bummer. Perhaps you should try different call types (inbound/outbound/manual dial/autodial) and see if any of them work properly.

As this is a Vicibox 5.0.3, please also be sure your "asterisk version" in admin->servers matches the asterisk version shown by
Code: Select all
asterisk -V

This being wrong has been known to cause all sorts of "strange" things, and last I knew it was showing as "1.4" instead of "1.8.23.0-vici" in 5.0.3.

As for visible time zone, that's not part of vicidial at present but the client time can be made visible. If you wanted to, however, you could certainly run a script every morning at 2AM to copy the GMT field to another field that happens to be visible to the agents. Just be sure that field is not already populated to avoid data loss.

You could also toy with a "start call URL" script that actually calculates the client time and places it in a field and see if that will "precede" the agent screen pulling the data to be useful. It would be a static time, but having the "started at" time would be more useful than "GMT-8" for most agents, I'm betting. :)

Happy Hunting! 8-)

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 11:11 pm
by smead
I did just recently update that. Admin>Server showed 1.44 while "axterisk -V" showed 1.8.25.0-vici. I modified so it displays the correct version, rebuilt config files (not sure this was necessary, but did it anyway), and rebooted. Still no data displaying

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 11:20 pm
by williamconley
rebuild may not be all that was necessary. reboot!

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Feb 27, 2014 11:24 pm
by smead
Did that after rebuilding, still the same

Re: Customer Time and Channel missing on agent screen

PostPosted: Fri Feb 28, 2014 10:23 am
by williamconley
williamconley wrote:Perhaps you should try different call types (inbound/outbound/manual dial/autodial) and see if any of them work properly.

Re: Customer Time and Channel missing on agent screen

PostPosted: Fri Feb 28, 2014 10:55 am
by smead
Interesting... It did work when I switched it to Ratio dial. So, now what?

Re: Customer Time and Channel missing on agent screen

PostPosted: Fri Feb 28, 2014 11:35 am
by williamconley
Dial with ratio a lot? LOL

What were you dialing before? Adapt ... manual ...?

And google it. I don't remember that value going missing in manual dial, but I've been wrong before. Find someone else who had the problem.

Re: Customer Time and Channel missing on agent screen

PostPosted: Fri Feb 28, 2014 11:57 am
by smead
We need manual dial. If someone could point me to a similar post with a solution that'd be great, but I do pretty extensive looking in that regard before even posting here. Obviously I didn't find anything.

Why would the dialing method impact that particular information being displayed? Where does it pull from, surely there is a line that can be copied/modified from one dialing method to the other to make this work. I mean it has nothing at all to do with the actual dialing, just pulling info from a table.

Re: Customer Time and Channel missing on agent screen

PostPosted: Fri Feb 28, 2014 1:13 pm
by williamconley
What makes you believe this is "just pulling info from a table"? It could be a request/response from asterisk directly. It could be a value calculated and then SENT to the table (it's not, of course, but just sayin' ...).

You'll need to find the different methods by which the vicidial.php acquires this information and see why there is a difference. It is entirely possible that this information is pulled from the "auto-calls" table (which happens when the autodialer makes a call ...) and since the autodialer did not make the call, there is no entry in the table from which to pull this information. In which case, if you "need" this information when using manual dial, it will need to be acquire/calculated from a different source and/or by a different method.

Vicidial.php is a fairly heavy file. PHP/MySQL/Javascript/AJAX with javascript functions that make AJAX requests which are then sent to another php page which gathers data from the mysql database and then passes the data back to the original calling javascript function which disseminates the response to the necessary page locations. But since it is all there and already built, your goal would merely be to find the difference between Manual and Autodial. Or just find where this data is acquired (and go look there during a live call ... see if it exists!). You'll obviously also need to trace this through the php page to which it makes its request.

Re: Customer Time and Channel missing on agent screen

PostPosted: Thu Mar 06, 2014 6:31 pm
by smead
UPDATE:

I put this one on hold for a while, made no changes. Well today it magically started working! Even went and tested the exact leads I had tested with before and they all show up now. I have no explanation, but it's nice to have it working