Solved

Beta Call Pickup API

  • 6 December 2022
  • 3 replies
  • 490 views

In sandbox, I am attempting to park a call to a public park location via the park API, then pick it up again via the pickup API. Parking the call works great and returns the extension to which the call was parked, a new party ID, etc. I am unable to pick the call back up, however. The documentation is unclear as to what I should be passing as party ID, so I tried:

  1. The party ID returned from the park API (ends in -3): {"errorCode" : "TAS-102", "message" : "Incorrect State"}
  2. The party ID I used before parking the call (ends in -2): {"errorCode" : "TAS-102", "message" : "Incorrect State"}
  3. The party ID of the original caller (ends in -1): {"errorCode" : "TAS-106", "message" : "Operation is not allowed"}
  4. The park location's extension (*803): Invalid Request

How do I pick up a call off a public park location via the API?


icon

Best answer by Phong1426275020 8 December 2022, 19:58

View original

3 replies

Userlevel 1

The park API is for parking a call to a public location. The pickup API is for picking up a parked call from a private location. Unfortunately, we don't have API to pickup call from public location.

To park a call to a private location, please use the transfer call party API to transfer the call to a park orbit (you must define it using the service web tool at Groups - Park Locations), then you can use the pickup API to pickup that parked call.

That is not ideal. I decided to try to use a private park location. What ID do I pass for the park orbit? I tried the extension (10001) and the ID from the extension list (346781004) and both return {"errorCode" : "TAS-106", "message" : "Operation is not allowed"}. Are park orbits not supported in sandbox? Or am I doing something else wrong?



Userlevel 1

Ok, I found the differences. I always run my tests on production and it works well.

I just test on my sandbox account and found the same issues as what you are facing. I don't think that there will be a quick fix for sandbox. But I could say that your code should work well on production. Here is the recap of the issues in sandbox.

- Transfer a call to a park location using the park location internal id specified in the "parkOrbit" body param will fail with "Forbidden" error.

- Transfer a call to a park location using the park location extension number specified in the "extensionNumber" body param will pass but the call will not be parked because the park location does not accept calls even the park location is enabled and having members.

Reply