Difference between revisions of "WorkMan Agent"

From WorkManSoft Wiki
Jump to navigationJump to search
Line 11: Line 11:
  
 
If you are using Avaya IP Office then try to go to Phone and Modem options and remove/re-add the Avaya TAPI device.
 
If you are using Avaya IP Office then try to go to Phone and Modem options and remove/re-add the Avaya TAPI device.
 +
 +
=== Exception occurs and only a reboot solves the problem ===
 +
 +
In case of an error occurs (typically when trying to send to many dial clicks to WorkMan Agent) and you typically need to reboot your computer then you can try this instead. Right-click on the taskbar, select Process Manager (Aktivitetshanteraren) then click on the page processes and then right-click on workmanagent.exe in the list and then select terminate/close process. It will prompt you if you are shure then click yes. After that workmanagent.exe has been terminated and you can start it normally again.
  
 
== API - Command line parameters ==
 
== API - Command line parameters ==

Revision as of 10:57, 17 September 2011

Troubleshooting

Trayicon not visible

You must enable that the WorkMan Agent trayicon is ALWAYS visible. This is done through control panel in Windows 7: Enable tray icon.

TAPI Device has been disable for security reasons

This means that the TAPI-device that has been configured earlier wasn't found when WorkMan Agent tried to start. If you enter CTI Configuration and de-activate and then activate and it starts then everything is OK. If the same problem happens again then try to add the "Delayed startup" alternative which makes WorkMan Agent start TAPI a minute later.

If you are using Avaya IP Office then try to go to Phone and Modem options and remove/re-add the Avaya TAPI device.

Exception occurs and only a reboot solves the problem

In case of an error occurs (typically when trying to send to many dial clicks to WorkMan Agent) and you typically need to reboot your computer then you can try this instead. Right-click on the taskbar, select Process Manager (Aktivitetshanteraren) then click on the page processes and then right-click on workmanagent.exe in the list and then select terminate/close process. It will prompt you if you are shure then click yes. After that workmanagent.exe has been terminated and you can start it normally again.

API - Command line parameters

With the API for command line parameters any program that can trigger parameters can launch and send data to WorkMan Agent. Notice that only one instance of WorkMan Agent is created so several applications wont be running.

Where is WorkMan Agent located?

Normally under programfiles\WorkMan\agent but it can of course be changed during installation. During every startup of Agent it updates this string in the registry: HKEY_CURRENT_USER\Software\WorkMan\AgentFileName The value is like this "I:\workman\develop\bin\workmanagent.exe" and states exact path and filename to WorkMan Agent.

Dial through WorkMan Agent

This is done by launching the filename with parameter /DIAL and a phonenumber (shellexec in Windows terminology). It can look like

 "I:\workman\develop\bin\workmanagent.exe" /DIAL "+46 (0)708 65 68 20"

Notice that the filename are in brackets. This is due to that the filename might have a space (e g c:\program files). The phonenumber parameter is also enclosed by brackets. This it because our phonumber contains spaces. Notice that WorkMan Agent fixes this number so that it dials correctly according to your dialing rules.

Hangup through WorkMan Agent

Hanging up a call can also be done through parameters.

 "I:\workman\develop\bin\workmanagent.exe" /HANGUP


How does it work?

WorkMan Agent - system flow.jpg


Known bugs

  • Tray icon might not be flashed in Windows 7 64-bit. (Confirmed bug 2011-02-15)


See also

Release History