GoAutodial 3.3 Manual Calls On-Hook Agents
For anyone who has this problem.
Using the default GoAutodial configuration, i tried to place Manual Calls using an On-Hook agent, but the ring link at the top of the Agent Console never showed up.
Searching in the file /var/www/html/agent/agent.php, i found the code to show up the link in the line 13932.
The solution i found is:
In the file /var/www/html/agent/agent.php, in the line 14856, is this line:
<span id="DialNowLinkActive" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; display: none;"><a href="#" onclick="NeWManuaLDiaLCalLSubmiT('NOW');return false;">Dial Now</a></span>
I've replaced the line with this:
<span id="DialNowLinkActive" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; display: none;"><a href="#" onclick="NeWManuaLDiaLCalLSubmiT('NOW');;return false;">Dial Now</a></span>
I resorted to this because i found the condition in agent.php to display the ring link, but for some reason it was not appearing in the Agent Console. I double-checked the Phone definition, where On-Hook Agent was in Y.
With this modification, when the agent uses the Manual Dial option and, after inputting the number clicks the Dial Now link, GoAutodial calls the agent and enters him in the conference.
The function NoneInSessionCalL() is what does this. And with the validation checking if the agent is On-Hook, it doesn't causes harm to Off-Hook agents.
Updating manually from git the issue still exists.
I've registered an issue: http://goautodial.org/issues/2967
GoAutodial installed from ISO goautodial-64bit-ce-3.3-final.
Harware: testing KVM-based virtual machine. 1 GB RAM - 20 GB HDD - QEMU Virtual CPU version email@example.com MHz CPU
kindly take note that by default on hook is only used for inbound calls, inbound calls going to an agent logged in with this phone. This feature will call the agent and will not send the customer to the agents session until the line is answered. Default is N for disabled.