incorrect error message when trying to set a forward that is blocked by the PBX

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

incorrect error message when trying to set a forward that is blocked by the PBX

Post by ssteiner »

I'm trying to forward 1033 to 7800 (immediate forward) on OTMS 2.3.1

So I'm doing a POST to https://chdevot01.nxodev.intra/api/rest ... cateltest5 with this content

{"forwardRoutes":[{"destinations":[{"type":"NUMBER","number":"7800","selected":true}]}],"requestId":"PMGR_598dd7d6-722e-41e9-a01f-da041f0135a2"}

The response I get is this:

{"httpStatus":"INTERNAL_SERVER_ERROR","code":1007,"helpMessage":"Server general problem. Please contact the administrator to fix the problem.","type":"SERVER_PROBLEM","innerMessage":"Error: SERVICE_ERROR Message: OTS error: ERROR - AcapiNotReady (code=20)","canRetry":false,"routing":{"errorType":"SERVICE","message":"OTS error: ERROR - AcapiNotReady (code=20)"}}

That had me running to my colleagues asking them to fix ACAPI ASAP. The, I discovered that when I try to make the forward using mgr, I get this error

Processing Failure x
x OBJECT -1: Instance (reserved): Forbidden forward operation

So, the forward shouldn't work. But, the error message should contain "Forbidden forward operation" or something similar, after all it's not Acapi that is not ready but the forward is simply not allowed.
Post Reply

Return to “Web Services”