full-greenF

Handle assistant-request type without returning an assistant?!

Is there a way to hang up or preferably forward the call that comes INBOUND instead of returning an assistant to the message type assistant request by vapi? I need to handle a process (with other logic) that if a call comes inbound to a twilio number that is imported into vapi, it will hang up or forward it to another number. Twilio fallback webhook url is not an option because the request from vapi to twilio doesn't actually fail, it responds "Couldnt get assistant". I need to handle this without returning a valid assistant payload. This is ultimately needed to handle the case of if my calls exceed my concurrent call limit
Was this page helpful?