Call controll answer action returning unprocessable entity

kumol

SMB User
Joined
Jun 2, 2025
Messages
4
Reaction score
0
To answer call I am using the api billow
JavaScript:
https://{{PBX_FQDN}}/callcontrol/{call_receiver_dn}/participants/{participants_id}/answer
here participants_id is fetched by
https://{{PBX_FQDN}}/callcontrol/{10009/call_receiver_dn}
JavaScript:
{
    "dn": "10009",
    "type": "Wextension",
    "devices": [
        {
            "dn": "10009",
            "device_id": "sip:[email protected]:5483;rinstance=cdd4a1affd5d7ead",
            "user_agent": "3CX Mobile Client"
        },
        {
            "dn": "10009",
            "device_id": "sip:[email protected]:5060;rinstance=0-ccfbe1c42e564f51ab845035022a3cb1",
            "user_agent": "3CXPhone for Windows20.0.751.0"
        }
    ],
    "participants": [
        {
            "id": 791,
            "status": "Ringing",
            "party_caller_name": "Nuruzzama Akash",
            "party_dn": "10004",
            "party_caller_id": "10004",
            "device_id": "sip:[email protected]:5483;rinstance=cdd4a1affd5d7ead",
            "party_dn_type": "Wextension",
            "direct_control": false,
            "callid": 220,
            "legid": 3,
            "dn": "10009"
        },
        {
            "id": 792, //    * Participants_id * which is being passed to the call answer api parameter
            "status": "Ringing",
            "party_caller_name": "Nuruzzama Akash",
            "party_dn": "10004",
            "party_caller_id": "10004",
            "device_id": "sip:[email protected]:5060;rinstance=0-ccfbe1c42e564f51ab845035022a3cb1",
            "party_dn_type": "Wextension",
            "direct_control": false,
            "callid": 220,
            "legid": 4,
            "dn": "10009"
        }
    ]
}

And in the body of call answer is
JavaScript:
{
  "reason": "None",
  "destination": "10004", // Which is the caller dn
  "timeout": 30
}

I am getting 422 in response which is unprocessable entity
 
This is already answered here:
 
  • Like
Reactions: Evolute IT

Members Online Now

No members online now.

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK