Difference between revisions of "WorkMan Agent+ShellAPI"
Line 35: | Line 35: | ||
− | === PhoneManager Integration == | + | === PhoneManager Integration === |
The registry value UsePhoneManager indicates a TRUE or FALSE value if WorkMan Agent should try to detect PhoneManager for it's settings. | The registry value UsePhoneManager indicates a TRUE or FALSE value if WorkMan Agent should try to detect PhoneManager for it's settings. |
Revision as of 18:37, 13 March 2011
This feature requires a specific license and can be purchased seperately
Configuration
This must be configured manually in the registry. This is a sample of an registry-file
[HKEY_CURRENT_USER\Software\WorkMan\WorkManAgent] "UseShellAPI"="TRUE" "ShellApp"="c:\\phonetest.bat" "ShellParams"="%VMID% %CALLERID% %CALLEDID%" "ShellWindow"=dword:00000001
UseShellAPI TRUE means it's being used. FALSE means it's not.
ShellApp is the shortcut to the application, excluding the parameters!
ShellParams is the parameters being sent to the application and the value %VMID% is used when the callerid triggers a call with extended information (e.g. VoiceMail Pro on IP Office) where %VMID% is the ID entered by VoiceMail Pro, %CALLERID% is caller id and %CALLEDID% is of course Called ID.
ShellWindow is how the window will be displayed, following integer-values exists:
SW_HIDE = 0; SW_SHOWNORMAL = 1; SW_NORMAL = 1; SW_SHOWMINIMIZED = 2; SW_SHOWMAXIMIZED = 3; SW_MAXIMIZE = 3; SW_SHOWNOACTIVATE = 4; SW_SHOW = 5; SW_MINIMIZE = 6; SW_SHOWMINNOACTIVE = 7; SW_SHOWNA = 8; SW_RESTORE = 9; SW_SHOWDEFAULT = 10; SW_MAX = 10;
PhoneManager Integration
The registry value UsePhoneManager indicates a TRUE or FALSE value if WorkMan Agent should try to detect PhoneManager for it's settings.
Testing
You can easily test this using a bat-script e.g. something like this:
@echo off echo ID %1 echo CallerID %2 echo CalledID %3 pause
Note that you need to restart WorkMan Agent for the new settings to be valid.