Server URL is not being called with end-of-call-re...
# support
e
Call ID: 848388ed-2141-4540-91b6-71d62b0a4245 Hello, I create a call with assistant.serverMessages and assistant.server.url but my webhook URL is not called with the end-of-call-report. I've tested calling it manually and the webhook works, it just doesnt get called by Vapi Could you please assist?
Copy code
server: {
        // Vapi server webhook configuration 
        url: Reframe.env.APP_URL + "/handle-call-end",
      },
      transcriber: transcriberConfig,
      artifactPlan: {
        recordingEnabled: enableRecording
      },
      firstMessage: finalOpenerText,
      firstMessageInterruptionsEnabled: true,
      hipaaEnabled: false,
      summaryPrompt: "<string>",
      clientMessages: [
        "transcript",
        "hang",
        "tool-calls",
        "speech-update",
        "metadata",
        "conversation-update"
      ],
      endCallMessage: "Pleasure to speak with you. Till next time",
      endCallPhrases: [
        "bye for now. Speak soon",
        "talk soon",
        "goodbye",
        "bye",
        "good night"
      ],
      serverMessages: [
        "end-of-call-report",
        "hang"
      ],
v
Suggestion: Double-check that your server URL is set at the correct level and is publicly accessible. According to the documentation, the order of precedence for webhook delivery is:
Copy code
js
// Highest precedence: assistant.server.url
server: {
  url: "https://your-domain.com/handle-call-end"
}
Make sure there are no typos and that your endpoint is reachable from the public internet. If the assistant-level URL is set correctly and still not receiving the
end-of-call-report
, try temporarily setting the URL at the phone number or org level to rule out configuration issues. [Reference](https://docs.vapi.ai/api-reference/assistants/update) Source: - [Update Assistant](https://docs.vapi.ai/api-reference/assistants/update)
e
ok i am receiving it, theres an issue on my end it seems, thank you
c
Hey, I'm closing this ticket now. Let me know if you need anything else.
2 Views