Hi there! New to vapi and looking for
# general-english
b
Hi there! New to vapi and looking for some debugging tips. I am trying to initiate calls to my own cell. They are showing up as initiated when using the ts SDK, but they time out and don't go through at all to my cell in the end. It seems like the phone call just doesn't happen, but vapi still spins up an agents and talks to nothing for 45 seconds. Code in the thread
Copy code
const call: Vapi.Call | Vapi.CallBatchResponse = await this.vapiClient.calls.create({
        assistantId,
        phoneNumberId: companyPhoneIDInVapi,
        customer: {
          number: targetPhoneNumber,
        },
      })


      if ('id' in call && 'status' in call) {
        // Create call log entry
        return {
          callId: call.id,
          status: call.status || 'queued',
        }
      }
v
I’ve seen this happen when the agent spins up but the telephony leg to the cell never connects. I can help you debug it—usually it comes down to how the phone number is set up in Vapi or carrier settings. Quick question: is your companyPhoneIDInVapi a purchased/verified number inside Vapi that’s allowed to dial out? @Benjamin Morehouse
b
It's not purchased but it's a phone number that's given to us by Vapi, yes @Vercel . I don't know if it's allowed to dial out, let me look for settings like this.
4 Views