Change presence when 3CX Windows Phone is closed

Status
Not open for further replies.

bustel

Customer
Joined
Nov 20, 2018
Messages
5
Reaction score
1
Hi,

We have the 3CX Windows phone installed on Microsoft Terminalserver 2008.

I found a way to automatically change the presence status of users on Windows logon.

By running logon script like this:
Code:
"C:\ProgramData\3CXPhone for Windows\PhoneApp\3CXWin8Phone.exe"
timeout /T 15
"C:\ProgramData\3CXPhone for Windows\PhoneApp\calltriggercmd.exe" --set-active-profile=129
First the Windows Phone has to be started and logged into 3CX system, then we can set the profile by calltriggercmd.exe

Now we want to do the same when users log off from the server by logoff script.

The problem is, that Windows Phone has to be running and logged into 3CX to run calltriggercmd.exe. But when users logout, the Windows phone gets closed before the logoff script can be performed.

Has anyone an idea how to get presence change working on Windows logoff?
Is there a way to run calltriggercmd.exe without Windows Phone running?

Thanks for help
 
Haven't tried it, but couldn't you include in your logoff script executing a launch of the windows phone app, then the calltriggercmd?
 
Yeah, already tried that. It is working. But thats not the way in my view.

Terminal server user logoff:
  • User calls logoff by windows start menu
  • Server starts to close users applications (including 3CX Phone)
  • at the same time the logoff script is started
    • 3CX Phone has to be started again
    • run <calltriggercmd.exe>
  • Server closes connection with user
This way 3CX Phone gets closed, opened and closed again each time the user logs off. The whole logoff process normally takes about 3 seconds, but with this script, it takes about 20 seconds.

I would like to find a way to run the script, before windows starts closing applications.
 
Status
Not open for further replies.

Forum statistics

Threads
112,025
Messages
590,365
Members
164,976
Latest member
Roman Mazur