- Joined
- May 3, 2010
- Messages
- 8
- Reaction score
- 0
Hi,
I am trying to find a way that the status of the user / 3CX Phone is automatically updated upon logging in Windows or logging out from Windows.
Trying to use this information:
http://www.3cx.com/blog/docs/call-control-api/
But the code wich is written doesn't give any error and executes succesfully, but the status doesn't change.
Part of the code:
Any idea why this isn't work?
I am trying to find a way that the status of the user / 3CX Phone is automatically updated upon logging in Windows or logging out from Windows.
Trying to use this information:
http://www.3cx.com/blog/docs/call-control-api/
But the code wich is written doesn't give any error and executes succesfully, but the status doesn't change.
Part of the code:
Code:
p.CurrentProfile.Name = "Available";
p.CurrentProfile.CustomName = "Available";
p.CurrentProfile.Save();
p.Save();
Any idea why this isn't work?