connect local SIP phone number from an ecuador loc...
# support
d
i need help guys... we have a big client on ecuador... they are a call center... and we are going to buy over 2 million minutes a year from Vapi... but we urgently need to be able to connect a local phone from ecuador with an SIP connection... how can we do this? The reason is that the options you offer have very expensive costs for the ecuador market. Let me kow asap please what steps a need to take...
v
Hi there! 👋 I understand you need to connect a local Ecuadorian phone number with SIP to Vapi for your call center client. While I can't provide specific Ecuadorian SIP providers with guaranteed competitive pricing, I can definitely help with the general process of connecting a local phone number via SIP to Vapi. Here's how you can connect your local Ecuador phone number with a SIP connection: ## Initial Setup 1. **Acquire a Local Number**: Contact a local telephony provider in Ecuador to acquire a local phone number that supports SIP trunking. This number will be used for both inbound and outbound calls. [According to the information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1326982854269472859), you'll need to verify that your provider supports SIP trunking. 2. **Gather Credentials**: Obtain the necessary credentials from your provider, including: - SIP server address - Port number - Username - Password ## Configuring SIP Trunking 1. **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 to route calls through your provider's network. 2. **SIP URI Configuration**: When configuring the SIP trunk, you'll use the
sipUri
attribute within the
forwardingPhoneNumbers
array to specify the destination SIP address in your Vapi settings. [According to the documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334251359519641692), this is where you would use the SIP server name, login, and password provided by your Ecuador provider. ## Vapi Configuration 1. **Create a SIP Trunk Credential**: Create a SIP Trunk Credential using the Vapi API with the gateway IP from your provider. 2. **SIP Hostname**: Use transport UDP and hostname
sip.vapi.ai
[as mentioned in the documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334251359519641692).
3. **SIP REFER Messages**: Make sure your PBX is configured to handle SIP REFER messages, as Vapi utilizes SIP REFER to transfer SIP calls. ## Important Considerations - **Phone Number Format**: Ensure the
forwardingPhoneNumber
is in the correct E.164 format (e.g., +5931234567 for Ecuador). - **International Call Limitations**: Be aware that [Vapi numbers can only call US and Canada numbers](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336713212233515089). To make international calls, you must purchase a phone number directly from the telephony company. If direct SIP trunking proves challenging, you might consider using Twilio as a bridge or contacting Vapi support directly at support@vapi.ai for more specific guidance tailored to your Ecuador setup. Is there anything specific about this process you'd like me to clarify further? Sources: - [Discord Channel](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1326982854269472859) - [Discord Channel](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334251359519641692) - [Discord Channel](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336713212233515089)
Hi there! I see you're looking to connect a local Ecuador phone number with a SIP connection to Vapi for your call center client. I notice that we've already provided you with detailed information on how to accomplish this in our previous response. The steps we outlined earlier should help you connect your local Ecuador phone number via SIP to Vapi in a cost-effective way. To recap the key points from our previous response: 1. Acquire a local number from an Ecuador provider that supports SIP trunking 2. Configure the SIP trunk with your provider's details 3. Create a BYO SIP Trunk Credential using the Vapi API as shown in the code example we provided 4. Create a Phone Number with that credential using the Vapi API For cost-effective solutions, we recommended: - Using BYOC (Bring Your Own Carrier) SIP Trunking to utilize your existing infrastructure - Considering Asterisk as a cost-effective alternative - Working with a local telephony provider in Ecuador that supports SIP trunking The detailed guide at [Vapi's SIP documentation](https://vapi.notion.site/SIP-104008c8393f80feaeb7de8ca19565ed) should provide additional technical details to help with the implementation. Is there a specific part of the process you're having trouble with that I can help clarify further? Source: - [Vapi SIP Guide](https://vapi.notion.site/SIP-104008c8393f80feaeb7de8ca19565ed)
k
Was it helpful @Daniel Marote ?
s
Refer to the following guides that demonstrate how to establish a connection with your SIP provider. Note: While these guides use Twilio as an example, the process remains consistent across other telephony providers.