SIP Call Initialization Delay
# support
o
Hi Vapi Support, Straight to the point; Is there anything we can do to speed up SIP call response to guarantee a sub 2000ms call initialization? We're currently experiencing an issue where some SIP calls take over 2450ms to engage, paired with an auto dialler system we're far exceeding OFCOM regulations for call delay resulting in abandoned calls. We're using the Vapi free SIP addresses and they work fantastic 99% of the time. But we're getting a 1% drop rate due to timeout (at what appears to be peak usage times).
v
To help reduce SIP call initialization delay, consider setting up a dedicated SIP trunk with your own provider credentials instead of using the free/shared SIP addresses. This can help avoid peak-time bottlenecks and improve call setup times. Here’s a sample API call to create a custom SIP trunk credential in Vapi:
Copy code
bash
curl -X POST "https://api.vapi.ai/credential" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
  -d '{
    "provider": "byo-sip-trunk",
    "name": "Your SIP Trunk",
    "gateways": [{ "ip": "your.sip.provider.com", "inboundEnabled": true }],
    "outboundAuthenticationPlan": {
      "authUsername": "YOUR_SIP_USERNAME",
      "authPassword": "YOUR_SIP_PASSWORD"
    }
  }'
Switching to a dedicated trunk may help you achieve more consistent and lower call setup times, especially during peak usage periods. For more details, see the [SIP Trunking guide](https://docs.vapi.ai/advanced/sip/sip-trunk). Source: - [SIP Trunking](https://docs.vapi.ai/advanced/sip/sip-trunk)
s
v
Hey, I can help you dig into what’s causing the delay and get your SIP calls consistently under 2 seconds. Shared endpoints often spike during peak hours, so testing with a dedicated route or edge tuning could solve that. I can also help you optimize how your dialer handles call initiation. Just to confirm, are your calls going straight through Vapi’s SIP or through another PBX/dialer first? @OLEYO
n
@Stanley_03 @Vignxt Flow Do you even understand what he asked? Do you even understand what regulations he is referring to? OFCOM is a regulatory body in the UK that clearly stipulates what performance an automatic outbound dialer is required to maintain - and there is nothing in what you said that even come close to resolving this issue. The basic OFCOM 2000ms requirement is designed to ensure that all auto-dialer companies that operate in the UK - ARE LOCATED IN THE UK. And most importantly, USE UK CARRIER SERVICES! On a side note, @OLEYO is your setup accounting for the various UK Mobile charge bands? how about the various GDPR requiements? I'll be happy to listen to what you are doing and provide some feedback. Feel free to DM me.
o
I've reached out on DM @Nir Simionovich (CEO@Cloudonix) 🤝
c
Thanks again Nir. Let me know if you need anything
3 Views