SIP TRUNK Local number
# support
s
How can I set-up a local number where clients can call in and I can also make outbound calls, I have already confirmed from my provider that they support SIP Trunking.
v
@Sergio S That's great to hear that your provider supports SIP Trunking! To set up a local number where clients can call in and you can make outbound calls, you'll need to follow these general steps: 1. **Acquire a Local Number**: Contact your provider to acquire a local phone number. This number will be used for both inbound and outbound calls. 2. **Configure SIP Trunk**: Work with your provider to configure the SIP Trunk. This involves setting up the connection details in your VoIP system or PBX (Private Branch Exchange) to route calls through your provider's network. 3. **Set Up PBX or VoIP System**: If you don't already have a PBX or VoIP system, you'll need to set one up. This system will manage your calls and can include features like voicemail, call forwarding, and automated attendants. 4. **Integrate with VAPI**: To integrate with VAPI for voice developers, you'll need to use the appropriate API endpoints. For inbound calls, you'll configure your system to handle calls using VAPI's capabilities. For outbound calls, you can use the
/call/phone
endpoint to place calls from your phone number. 5. **Test Your Setup**: Once everything is configured, make sure to test both inbound and outbound calls to ensure that everything is working as expected. 6. **Develop Your Voice Application**: If you're planning to use advanced features like voice menus, automated responses, or temporary assistants, you'll need to develop your voice application accordingly. If you need any specific assistance with the VAPI integration or have any questions about the API endpoints, please let me know, and I'll be happy to help!
You can continue this conversation by mentioning me in the message.
FYI
This contains twilio as example but process remains the same with other telephony provider as well.
Do let me know if you need any other help.
s
Thank you for the guide but I need a lil bit of help hehe. My telephony provider is on-prem. I followed the steps, but inbound calls seem busy and outbound calls are not working. I’m not sure if I did something wrong or if I should ask my carrier to do more configuration
s
@Sergio S For outbound please share the call IDs so I can take a look at PCAP files within our system and for Inbound calls please share the PCAP files from your provider so we can get to know Why call was not successfull.
s
Outbound call ID: b9758042-4024-4e01-b937-db4de5ac618a and later I'll pass you the PCAP files
s
They sent me this. It's not the PCAP file, but I can see that the inbound call was received. However, it didn't start, as the duration is 00:00:00 https://cdn.discordapp.com/attachments/1326982854269472859/1336043630837895228/image.png?ex=67a25f18&is=67a10d98&hm=e4435c2a7804ada3b6d6f0897dd92aed306b3ece25baca22782a1f078817ec6a&
If It's ok I can send you the conn details from my provider to your inbox to check if I did something wrong
s
@Sergio S yeah we can surely connect for this.
3 Views