Page 1 of 1

Agent Script Override Issue

PostPosted: Wed Sep 13, 2017 4:36 pm
by DefLeppard
Hello,

I have a an issue with the Agent Script Override feature. In my campaign, I have set Script to None and in the list, the Agent Script Override is set to my script. Each list has a different script. The problem is that when the agent get a call, the Script tab shows up blank. The agent has to hit Refresh on the script tab to be able to actually see the script. Any inputs to resolve this would be appreciated.

Vicidial version info:
Vicibox 4.0.3 x64
VERSION: 2.12-574a BUILD: 161106-2058 SVN 2613

Hardware:
2x Intel Xeon X5650 CPU, 24GB RAM, 240GB SSD

Note that I have tried this with the latest SVN 2813 (VERSION: 2.14-628a BUILD: 170913-0908) installed on Vicibox 7.0.4 VM and I am able to reproduce this issue on this latest version as well.

Re: Agnet Script Override Issue

PostPosted: Wed Sep 13, 2017 10:36 pm
by jjohnson78
Is this on a campaign where the leads are auto-dialed, or is this on a manual dial campaign? Does this happen regardless of which dial method you use?

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 3:49 am
by DefLeppard
I haven't really tested with Manual dial method. It's happening with Ratio for sure.

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 4:26 am
by blackbird2306
Maybe a browser compatibility problem. Which browser do you use? Please check the browser error console while this happens.

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 4:39 am
by DefLeppard
@mflorell
Any inputs?

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 4:45 am
by williamconley
DefLeppard wrote:I have a an issue with the Agent Script Override feature. In my campaign, I have set Script to None and in the list, the Agent Script Override is set to my script. Each list has a different script. The problem is that when the agent get a call, the Script tab shows up blank. The agent has to hit Refresh on the script tab to be able to actually see the script. Any inputs to resolve this would be appreciated.

Have you tried setting the campaign script to something other than None? (Perhaps just a script with "push refresh!" in it) As a test to see if this activates some previously inactive code?

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 5:17 am
by blackbird2306
Yes,that's it. The campaign script field must not be empty.
if ( (view_scripts == 1) && (campaign_script.length > 0) )
{ ...
RefresHScript('CLEAR');
...
}


I believe even a blank dummy script without script text is enough.

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 6:27 am
by mflorell
This has been fixed in svn/trunk. There were multiple places in the code affected. Please upgrade to at least svn/trunk revision 2815 and test.

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 12:06 pm
by DefLeppard
Wow, this is amazing! I just assigned an 'empty' script to the campaign and that fixed it! Thanks a ton guys!!

Re: Agent Script Override Issue

PostPosted: Thu Sep 14, 2017 1:49 pm
by mflorell
You're welcome, thanks for reporting the issue :)