SIP trunk with 1 concurrent call limit
# support
n
how can I set the limit on my phone number to 1, as my trunk has only 1 SIM? and also, Vapi just sends all the calls to the trunk, first goes through, second fails, I need it to batch call and wait for one call to complete before dialing the other.
c
Hi, It is not directly possible reduce the concurrency on Vapi. However to achieve the one call at a time functionality, you can initiate a single call, and then run a webhook which will listen for
end-of-call-report
server messages from Vapi. and whenever you receive and end of call report, that means the call has ended, now your webhook can initate a new call using Vapi API, which will call your webhook after that call has finished, and it continues the loop until all your calls are completed. If you are not comfortable with writing your own API for webhooks, you can also use automation platforms like n8n or Zapier to achieve this functionality.
n
Thanks @Bharath found that out the hard way.
c
Hi, glad you got it figured out, please feel free to create a new ticket if you are facing any issues in the future.