Skip to content

Can't perform answer action #2

@DanieleOutsiderCode

Description

@DanieleOutsiderCode

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions