Switch subscriber properties (API version 4 or higher)

Function call (URL)PermissionsPossible parameters
/app_tn_setUser
Sub-Admin
function

cfu
Tn¬Call diversion immediately

cfb
Tn¬Call forwarding on busy

cfnr
Tn¬Call diversion on no reply
(see cfnTime)

par
Parallel call

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 call – Activate “immediate” call forwarding (transfer saved destination number):
https://192.168.0.240/app_tn_set?function=cfu&switchOnOff=1

Example call – 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

Example call – Switch off parallel call:
https://192.168.0.240/app_tn_set?function=par&switchOnOff=0


Note: 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 typePossible content
successfultrue Switching
false Switching not successful

Example response:

{"successful":true}

Call waiting


Function call (URL)PermissionsPossible parameters
/app_tn_setUser
Sub-Admin
function
cw Call waiting
switchOnOff
1 switch on
0 switch off


Example call – Deactivating call protection:
https://192.168.0.240/app_tn_set?function=cw&switchOnOff=0

Response typePossible content
successfultrue Switchover successful
false Switching not successful

Example response:

{"successful":true}

Do not disturb


Function call (URL)PermissionsPossible parameters
/app_tn_setUser
Sub-Admin
function
dnd Call waiting
switchOnOff
1 switch on
0 switch off


Example call – Deactivating call protection:
https://192.168.0.240/app_tn_set?function=dnd&switchOnOff=0

Response typePossible content
successfultrue Switchover successful
false Switching not successful

Example call:

{"successful":true}