unable to set overflow to voicemail for CT user

Download the API here: http://api.aapp.al-enterprise.com
Post Reply
ssteiner
Member
Posts: 17
Joined: 05 Feb 2009 09:20

unable to set overflow to voicemail for CT user

Post by ssteiner » 04 Dec 2018 14:25

I'm trying to create a busy overflow to voicemail for one of my users. So I POST to https://chdevot01.nxodev.intra/api/rest ... cateltest5 with the following content

{"overflowRoutes":[{"overflowType":"BUSY","destinations":[{"type":"VOICEMAIL","selected":true}]}],"requestId":"PMGR_f997e295-21fe-4bd2-850a-831044631e31"}

The error response being:

{"httpStatus":"BAD_REQUEST","code":1006,"helpMessage":"Request parameters are not correct. Please fix the problem and resend the request.","type":"BAD_PARAMETER","innerMessage":"Error: BAD_PARAMETER_VALUE ErrorCause: INVALID_OVERFLOW_ROUTE Message: Wrong destinationType: it should be one of [ASSOCIATE] DestinationType: VOICEMAIL","canRetry":true,"routing":{"errorType":"BAD_PARAMETER_VALUE","destinationType":"VOICEMAIL","errorCause":"INVALID_OVERFLOW_ROUTE","message":"Wrong destinationType: it should be one of [ASSOCIATE]"}}

Now, the documentation on OT lists both VOICEMAIL and ASSOCIATE as valid types for CT users. So.. is there a restriction in the API that shouldn't be there, or is the documentation wrong?

Post Reply

Return to “Web Services”