Change the status from 3CX Phone

Discussion in '3CX Phone System - General' started by dynatech1, Nov 3, 2014.

Thread Status:
Not open for further replies.
  1. dynatech1

    Joined:
    May 3, 2010
    Messages:
    6
    Likes Received:
    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:
    Code:
    p.CurrentProfile.Name = "Available";
    p.CurrentProfile.CustomName = "Available";
    
    
    p.CurrentProfile.Save();
    p.Save();
    
    Any idea why this isn't work?
     
Thread Status:
Not open for further replies.