Change the status from 3CX Phone

Status
Not open for further replies.

dynatech1

Customer
Joined
May 3, 2010
Messages
8
Reaction score
0
Hi,

Is there any option to change the status of 3CX Phone from "available" to "out of office" or any other status when a users is logging into Windows and when a user is logging out?

I want to auto update the status because the list will then represent an actually list of employees wich are inside the office or not available.

Has anyone created a script for this or can someone give me some tips to do this?
 
Hi there,
There is no such functionnality in 3CXPhone, but one could make his own tool with Call Control API to change status and run it on AD loggin/logoff.
 
I agree with Dynatech1 that would be the best solution to set the users status automatically, better than fixed office hours. Why is this feature not included in version 14? :cry:

Thanks & Regards, Chris
 
There is no such feature at the time, but potentially something you could use to create your own solution for this is found here:
http://www.3cx.com/blog/docs/3cxphone-for-windows-api/

Specifically, the part where it describes how you can trigger calls from the command prompt by running:
CallTriggerCmd.exe -cmd makecall:<Number>

Something you could try is creating bat files that run on startup and shutdown that call numbers e.g. *30 (change to Available) and *32 (change to Do Not Disturb).

A couple of things to keep in mind if you decide to try something:
- In order to use this command, 3CXPhone must already be running.
- If ran on shutdown, make sure that the call is completed before the computer loses network connectivity.
 
Imho it is not advisable to use 3CX API to implement this, because Windows sends a shutdown or logoff signal to all running applications. Thus it is very uncertain, if 3CXPhone will still be running, when logoff scripts are processed.
My solution was to use sipcli.exe and send *34 and *63 to the 3CX server in a GPO logoff script and *30 and *62 in a logon script.
You may need to map Windows username and 3CX extension and password to do this in your enterprise.
 
Status
Not open for further replies.