Set subscriber properties#
Minimum API level
API version 4.0 or higher
Function call (URL) | Permissions | Possible parameters |
---|---|---|
/app_tn_set | user / sub-admin | function: Which property to access: - cfu: call diversion immediately - cfb: call forwarding on busy - cfnr: call diversion on no reply (see cfnTime) - par: parallel call - cw: call waiting - dnd: do not distrub cfnrTime: 1..60 seconds (cfnr only) switchOnOff: 2 Switch on (FMC behaviour, only with parallel call), 1 switch on (For parallel call: parallel call behavior), 0 switch off number: Specifies the destination number without trunk access digit of the call diversion. |
Example calls:
-
activate "immediate" call forwarding (transfer saved destination number): https://192.168.0.240/app_tn_set?function=cfu&switchOnOff=1
-
activate call forwarding "on no reply", including destination number and delay time: https://192.168.0.240/app_tn_set?function=cfnr&cfnrTime=30&switchOnOff=1&number=0530692000
- switch off parallel call: https://192.168.0.240/app_tn_set?function=par&switchOnOff=0
Info
In order for the user to be able to switch call forwarding, the option "Set up call forwarding" must be selected in the subscriber properties under Permissions. (Tn) to external" must be activated under Permissions in the subscriber properties.
Response type | Possible content |
---|---|
successful | true or false |
Call waiting#
Function call (URL) | Permissions | Possible parameters |
---|---|---|
/app_tn_set | user / sub-admin | function: Call waiting: cw switchOnOff: 1 switch on, 0 switch off |
Example call:
https://192.168.0.240/app_tn_set?function=cw&switchOnOff=0
Response type | Possible content |
---|---|
successful | true or false |
Do not disturb#
Function call (URL) | Permissions | Possible parameters |
---|---|---|
/app_tn_set | user / sub-admin | function: Do not disturb: dnd switchOnOff: 1 switch on, 0 switch off |
Example call:
https://192.168.0.240/app_tn_set?function=dnd&switchOnOff=0
Response type | Possible content |
---|---|
successful | true or false |