I’m trying to modify personal voicemail & video settings found on the Policy tab of the Phone User accounts using the Update User Profile method.
I’m able to modify other policy settings but anything under the voicemail
property is ignored.
I’m able to replicate the problem in my application and in Postman through the following steps:
-
Create a new phone user without selecting a template
-
On the Policy tab, disable ‘Personal Voicemail & Videomail’ and ‘Ad Hoc Call Recording’
-
Do a
GET /phone/users/{userId}
to verify the policy values:
// truncated GET phone user response before update
{
"policy": {
"sms": {
"enable": false
},
"voicemail": {
"enable": false,
"allow_transcription": true,
"allow_download": false,
"allow_delete": false,
"allow_videomail": false
},
"voicemail_access_members": [],
"ad_hoc_call_recording": {
"enable": false,
"recording_start_prompt": false,
"recording_transcription": false,
"play_recording_beep_tone": {
"enable": false
}
}
}
}
- Do a
PATCH /phone/users/{userId}
with the following body:
{
"policy": {
"voicemail": {
"enable": true,
"allow_transcription": true,
"allow_download": true,
"allow_delete": true,
"allow_videomail": true
},
"ad_hoc_call_recording": {
"enable": true,
"recording_start_prompt": true,
"recording_transcription": true
}
}
}
Response is a 204
- Do another
GET /phone/users/{userId}
to verify the updated policy values:
// truncated GET phone user response after update
{
"policy": {
"sms": {
"enable": false
},
"voicemail": {
"enable": false,
"allow_transcription": true,
"allow_download": false,
"allow_delete": false,
"allow_videomail": false
},
"voicemail_access_members": [],
"ad_hoc_call_recording": {
"enable": true,
"recording_start_prompt": true,
"recording_transcription": true,
"play_recording_beep_tone": {
"enable": false
}
}
}
}
Note the ad_hoc_call_recording
values were updated but the voicemail
values were not.
Please let me know if you need any other information.
Thanks