Hi @Vapi#3739 @Shubham Bajaj @Sahil ,
# general-english
p
Hi @Vapi @Shubham Bajaj @Sahil , Facing a very peculiar error. Basically, when i place a call, and send a server url with the agent configuration, I am not getting the end-of-call-report, for cases, where the call is not picked up. I do get the end-of-call report, when the call is picked up, but not getting it, when it is rejected, or not-answered. The general payload structure that I am using to send the server-url, is as follows:
Copy code
{
            "name": f"calling {first_name} {last_name}",
            "customer": {
                "numberE164CheckEnabled": False,
                "number": serialize_phone_number(phone),
                "name": f"{first_name} {last_name}",
            },
            "assistantId": vapi_assistant_id,
            "phoneNumberId": phone_number_id,
            "assistantOverrides": {
                "variableValues": {
                    "first_name": first_name,
                    "last_name": last_name,
                    "company_name": company_name,
                    "phone": phone,
                    "greeting_word": "Good Afternoon."
                },
                "voicemailDetection": {
                    "provider": "vapi"
                },
                "serverMessages": [
                    "end-of-call-report",
                    "status-update"
                ],
                "server": {
                    "url": server_url
                }
            }
        }
s
Can you share a call_id?
3 Views