Place calls via API with WebRTC phone

Hello Everyone,

I am facing an issue when I try to use /api/v2/conversations/calls in API Explorer that the outbound call is not made.

As you can see in the below image:

the call window appears but without any effects/ sounds!

Please note, I already enabled "Placing calls with another app?", and it is always on.

Anyway, this is the request body:

{
   "phoneNumber": "0576890000",
   "callerId": "2184700",
   "callerIdName": "",
   "callFromQueueId": "c9d70451-343d-4ede-80ab-08b1eab5b3d6",
   "callQueueId": "",
   "callUserId": "",
   "priority": 0,
   "languageId": "",
   "routingSkillsIds": [],
   "conversationIds": [],
   "participants": [
      {
         "address": "",
         "name": "",
         "userId": "",
         "queueId": ""
      }
   ]
}

However, I am planning to use JS code to place the call, but before going through the code, I want to make sure it works as our customer want. I was thinking to go with /api/v2/conversations/callbacks to create the callback as it seems it is much smoother and working directly as it is supposed to.

Best Regards,
Ali

Hello Everyone,

It is working fine after using the following body request:

{
   "phoneNumber": "0576890000",
   "callFromQueueId": "2385d804-1777-485f-8f15-4583333239b4"
}

Best Regards,
Ali

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.