setPlanSwitchTimer
setPlanSwitchTimer
Permissions:
user
Description:
Sets timer information.
Parameters:
extension – a string representing an extension. It can only be user or schedule extensions.
number – 1 or 2 represents Timer 1 or Timer 2 in the extension setting. Default setting is 1.
schedule – a string with format “P<start-end-date>A<days-of-week>W<weeks>D<date-pattern>T<times>.” For details about the returned string format, refer to the “Schedule Extension” table in section 7, “Extension Settings Properties.”
Returns:
If the method succeeds, it returns “OK” in the result field.
Related methods:
getPlanSwitchTimer