-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I'm trying to get my head around the answer action, without succeeding.
Following the https://www.3cx.com/docs/call-control-api-endpoints specification I keep getting an 422 error
curl --location --globoff --request GET '/callcontrol/{dnnumber}/participants/{id}/{action}'
--header 'Content-Type: application/json'
--header 'Authorization: ••••••'
--data '{
"destination": 3333333333,
"reason": "None"
}'
I'm trying with destination and reason, only destination, only reason or without any of them.
Unfortunately i'm keeping the same 422 error.
Even in the example on the current repository I can't find the answer action to figure out what I'm missing.
When I receive a call the answer button seems to be disabled.
Is it possible to answer a call with the current API? Can I get an example?
Thank you so much!