I am trying to find out what are the call prices before make / Receive calls. Let's say I have a Twilio phone number ABC and customer Phone number XYZ. I want to know the twilio pricing in below scenarios
- When Calling from ABC to XYZ, what would be the outgoing price/ minute (Outbound call from Twilio Number)
- When calling from XYZ to ABC, what would be the incoming price/ minute (Inbound call to Twilio Number)
I have checked this voice pricing article. There is a REST call mentioned like below.
number = client.pricing.v2 \
.voice \
.numbers('+15017122661') \
.fetch(origination_number='+15108675310')
Response:
{
"country": "United States",
"destination_number": "+15017122661",
"inbound_call_price": {
"base_price": null,
"current_price": null,
"number_type": null
},
"iso_country": "US",
"origination_number": "+15108675310",
"outbound_call_prices": [
{
"base_price": "0.013",
"current_price": "0.013",
"origination_prefixes": [
"ALL"
]
}
],
"price_unit": "USD",
"url": "https://pricing.twilio.com/v2/Voice/Numbers/+18001234567"
}
But I couldn't figure out what exactly this response means. is the outbound_call_prices means the prices to make calls from +15108675310 to +15017122661? inbound_call_price means the prices to receive calls from +15017122661 to +15108675310?
Can someone help to understand this.