https://retellai.com/?utm_source=discord&utm_medium=seo logo
Where do I find the IP Address Range andCIDR Netwo...
# ❓・ai-evy-support
s
@AI Evy Where do I find the IP Address Range and CIDR Network Address, that I need to import to twillio to make outbound call work ?
a
Thanks for tagging me @simonlaplante. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, when setting up Twilio's Elastic SIP Trunking with Retell AI, you need to whitelist Retell's IP address ranges in Twilio's IP Access Control List [(1) ]() [(2) ]() . The IP address ranges to whitelist are [(2) ]() : - 143.223.88.0/21 - 161.115.160.0/19 You should add these to the IP Access Control List in your Twilio Elastic SIP Trunk configuration . This is necessary because Retell AI's SIP server does not have a static IP, so you need to whitelist all IP addresses in these ranges [(1) ]() . Alternatively, instead of using IP whitelisting, you can set up authentication with username and password credentials in Twilio . If you choose the credentials route, you'll need to specify the username and password when importing the number to Retell [(1) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] HELP Outbound calls don't work](https://discord.com/channels/1186424376300679209/1438261528364056667) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
so after I have import the number in Retell with the termination URI and I selectionned the right agent with the phone number I am supposed to be able to make an outbound call right ?
so after I have import the number in Retell with the termination URI and I selectionned the right agent with the phone number I am supposed to be able to make an outbound call right ? @AI Evy
a
Thanks for the follow-up, @simonlaplante. I'll get back to you soon.
### Answer Yes, after importing your number with the termination URI and binding it to an agent, you should be able to make outbound calls [(1) ]() . When you import a phone number, you can bind an outbound agent to it using the
outbound_agent_id
parameter . You can also optionally specify the
outbound_agent_version
- if not provided, it will default to the latest version . Here's what the import structure looks like:
Copy code
json
{
  "from_number": "+14157774444",
  "termination_uri": "sip:your-termination-uri",
  "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "outbound_agent_version": 1
}
Once imported and configured with an
outbound_agent_id
, the number will automatically use that agent when conducting outbound calls . If the
outbound_agent_id
is null, the number would not be able to initiate outbound calls without using an agent id override . Make sure your Twilio Elastic SIP Trunk is properly configured with either IP whitelisting (the IP ranges mentioned in the previous response) or authentication credentials for the termination to work correctly.
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
hello @AI Evy I just take a look at my call history and I can see that I only have 219 minutes on the phone, and the LLM that I use for my phone call is 0,115 per minutes. On retell.Ai it says that it would be $51.16 for the next billing. But the math doesn't add up. It should be something around 25,13$, am I missing something or their's other fees that I didn't took into consideration?
a
Thanks for the follow-up, @simonlaplante. I'll get back to you soon.
### Answer Based on the available sources, your bill includes more than just the LLM cost. The Billing page shows a detailed cost breakdown by category including Voice Engine, LLM, Telephony, and other services [(1) ]() . Your total charge of $51.16 likely includes: 1. Voice Engine costs (text-to-speech) 2. LLM costs (the $0.115/min you mentioned) 3. Telephony costs (phone line usage) 4. Potential concurrency charges Important: LLM minutes can exceed actual call minutes. LLM minutes represent the time the AI language model spends processing and generating responses, which can be more than the actual conversation time [(2) ]() . Complex conversations require more LLM processing, so the LLM may process multiple times per actual call minute . Additionally, there are two billing exceptions that could affect your costs [(3) ]() : 1. Calls shorter than 10 seconds with dynamic opening messages are billed at a minimum of 10 seconds 2. Prompts exceeding 3,500 tokens are scaled proportionally in cost using the formula:
Billed Duration = Original Duration × (Prompt LLM Tokens ÷ 3,500)
To understand your exact breakdown, check the Usage tab on your Billing page, which provides a detailed breakdown of expenses across all providers and categories [(1) ]() . **
​ To learn more, see the sources I considered: [[1] Billing Overview](https://docs.retellai.com/accounts/billing) [[2] Billing Issue](https://discord.com/channels/1186424376300679209/1400945926343753929) [[3] Exceptions to Our Per-Minute Pricing](https://docs.retellai.com/accounts/billing-exceptions) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.