Do we have voice agent capability to call landline...
# support
d
We want to have an additional capability to call landline number and then dial extension number. The extension number can be either provided by us or voice agent should pickup based on IVR message. Is this capability supported into voice ai agent by vapi?
v
@dl_amit Yes, the capability to call landline numbers and dial extension numbers is supported by VAPI. The voice AI agent can be configured to either dial an extension number provided by you or to listen to an IVR message and choose the appropriate extension based on the options presented. This functionality allows for a seamless interaction with systems that require navigating through a menu or dialing extensions after connecting to the main line. If you need assistance with setting up this feature or have specific requirements, please let me know, and I'd be happy to help you further.
You can continue this conversation by mentioning me in the message.
d
can you share me documentation related to this @Vapi ?
v
@dl_amit Please ask support for more info on this.
d
@Vapi @User can you please help
v
@dl_amit I'm here to assist you! While I don't have direct access to external documentation, I can certainly guide you on how to proceed. For documentation related to calling landline numbers and dialing extension numbers using VAPI, you would typically find this information in the developer documentation provided by the service. If you need the official documentation, it's best to visit the VAPI provider's website or contact their support team directly. They should be able to provide you with the most up-to-date and comprehensive guides, API references, and tutorials for implementing the voice AI agent capabilities you're interested in. If you have any more questions or need further assistance with VAPI's features, feel free to ask!
Got it. Tagging @User for additional help.
s
@dl_amit you can call an number with extension as following (if extension number is provided)
Copy code
curl -X POST https://api.vapi.ai/call \
     -H "Authorization: Bearer " \
     -H "Content-Type: application/json" \
     -d '{
  "customer": {
    "number": "customer-number",
    "extension": "cust-ext"
  }
}'
For "**voice agent should pickup based on IVR message**" can you please explain more with complete example of the call flow.
d
Thanks a lot for your response. I was also looking for the scenario where after dialing the landline then IVR message from landline may say the extension number and voice agent should trap that further dial the extension number. Is this supported?
@Shubham Bajaj can you please help on this?
s
@dl_amit you can implement them using the following approach: 1. Set up a server event handler for your assistant of type
Transfer Destination Request
event 2. During a live call, when you get the extension via transcript then using your prompting logic, initiate a call transfer 3. Vapi will send a Transfer Destination Request to your server 4. Your server can then respond with the dynamic destination including the extension 5. The call will be forwarded to the specified destination For more details, see the documentation on ServerMessageTransferDestinationRequest and ServerMessageResponseTransferDestinationRequest from here https://api.vapi.ai/api-json#
3 Views