Realtime quote of SMS and MMS sending in Twilio - twilio

I need to know the price to send a SMS or MMS message to a specific country in realtime... having trouble understanding the data returned by the API... also seems to be missing the MMS price quotes.... help?
I have used the API to return the prices for the different countries.
Thanks!

Related

Twilio Response from a non-twilio number

When my friends text my Twilio bot, Twilio responds from another number which is not even Twilio's and is named "SMSInfo". I expect the bot to respond from the same number. I assure you that I haven't set any logic there that a response should come from another number. Also, note that "SMSInfo" is a number which often sends them verification codes for Fiverr or other things.
I just submitted a ticket to Twilio support and a bot automatically suggested me few articles. One of them solved the issue.
Sender ID change may occur when you send messages from a Twilio number
that is not local to your recipients, for example using a US Twilio
number to send SMS to Polish mobile users. This is often done to
comply with local regulations, or to ensure the highest possible
delivery rate for your messages.

Twilio MMS Messages within the UK

I have an app that integrates with Twilio for SMS and MMS. In the US, when a MMS message is received, the app accesses the attached picture via one or more MediaURL tags in the incoming message.
Now the app may be used in the UK. In the Twilio docs it says that Twilio does not support MMS between US and UK numbers, but what about receiving MMS sent from a UK number to a Twilio UK number? Is that supported? If so, will the app still access the attached picture via MediaURL tags?
Thanks
I know this question is a year old, but I too have this problem and have just had a definitive answer from Twilio on this very topic.
Marcos Placona is correct that there is a setting called MMS Converter that will append a short URL linking to the media content to the end of an SMS messages where the carrier can't handle an MMS message.
However - this is again only available to US and Canadian users. I know this because I enabled it on my account today and sent some test messages from my UK mobile to my Twilio number. Any message that contained a photo didn't arrive. Nor did it appear in any inbound logs in my Twilio account anywhere.
I had this confirmed by Twilio support on Live Chat today. He also said there was no roadmap to add in either MMS support or MMS Converter support for the UK. This contradicts Twilio's own website content that talks about guidlines for UK SMS messaging using Twilio:
See for yourself here: https://www.twilio.com/sms/guidelines/gb
It's pretty frustrating for guys like us who use Twilio services in the UK! I think Twilio is great, but I will need to find a suitable alternative provider that does support MMS messaging or at least conversion to SMS with an embedded URL.
If anyone has any suggestions, I'd love to hear them!
Twilio developer evangelist here.
Currently MMS is only supported in the US and Canada. However, we do realise it's a pain to have to change your system based on which country the message was sent from.
So if you go into the settings page for programmable SMS here, you can configure MMS Converter. That way, messages sent with a MediaUrl to a recipient whose carrier does not support MMS can be sent as an SMS with a shortened URL linking to your media.
Hope this helps you!
I solved this problem, by renting an MMS enabled US number and sending the MMS to my other Twilio number from there.

What can we do with Twilio api in iOS?

I want to integrate Twilio in my iOS app. I read Twilio documentation but I am getting confused on some points. I have few questions:
Q 1) Can Twilio number receive messages from Mobile numbers (non twilio numbers)? Is it possible on trial Twilio number?
I am trying to send SMS from Twilio verified Indian number(e.g.+919435XXXXXX) to my trial Twilio number. My message was not delivered to trial Twilio number. While I am able to send SMS form trial Twilio no. to my mobile number. Is reason is trial account or anything else?
Q 2) Can we get two trial Twilio numbers for single account?
Q 3) How can send message using “Application url: https://hardw.herokuapp.com/"?
This url got when we created app using following way https://www.twilio.com/docs/quickstart/php/ios-client/setup
I have trial account. I am able to call using this app url with the help of BasicPhone app. Now I want to send SMS using app url.
Currently I am sending sms as described here Case 1: This is my native objective-c working code..
Please help me.Thanks...
Twilio Developer Evangelist here.
I'll try to answer your questions below:
Yes, a Twilio number is a number like any other, so you can send and receive SMS messages from any other number as well as making telephone calls. However, because you mentioned you're in India, it's worth reading about the limitations in India.
No, you can only have one number under a trial account, so in order to get more numbers you will need to upgrade your account, and put at least enough money to allow you to purchase a second number.
If all you want is to send SMS messages, all you need to have is a backend application that you can invoke via an HTTP request. That application will then make an API request to Twilio and send the SMS message. An example of how to send an SMS message can be found here.
Let me know if you have any other questions.

Receive MMS message in Twillio

Does anyone know how I can receive an MMS through Twilio? I checked online and found software to receive an SMS but not an MMS, since it's a new feature. The number I have is MMS-enabled. If I can receive it through an app, on email, anything would help.
Twilio evangelist here.
As long as your Twilio phone number is MMS-enabled you can receive MMS messages with it. Twilio currently offers MMS-enabled Twilio phone numbers in Canada and MMS-enabled Twilio short codes in the US.
If someone sends an MMS to your Twilio phone number or short code, Twilio is going to make an HTTP request to the Messages URL you have configured for your phone number. That request is going to include a bunch of parameters:
https://www.twilio.com/docs/api/twiml/sms/twilio_request
For each media element included in the MMS message, the Twilio request will include a MediaUrl parameter that has a URL you can use to grab the media element.
Hope that helps.
If you have a twilio number, and it is indeed MMS enabled, you should first verify that it is actually getting where its supposed to go. Not only does the twilio number need to support MMS, whatever number you are sending needs to as well.
After you send a test MMS to your twilio number, log into you account and check the message log - if you don't see it there, one of your numbers isn't supported.
https://www.twilio.com/user/account/log/sms
if you can't see the message in the log, no code is going to help.
If the message is indeed making it to your twilio number, then this is the relevant documentation on how to receive MMS in your app:
https://www.twilio.com/docs/api/rest/message

Can I retrieve the location of a phone number with Twilio?

I'm working on a project that uses the Twilio API to send and receive text messages, but I'd like to be able to show the location of those cellular users in a table on my customer's dashboard.
In short, I'm looking for the data that shows up when you're shopping for a phone number on Twilio and it tells you it's from Newport Beach, California, etc.
Is there any way to retrieve that information from Twilio for a number besides one that is available for purchase?
Twilio Evangelist here. When Twilio makes a request to your server using a web hook, the SMS and voice will sometimes have geographical information.
FromCity
FromState
FromZip
FromCountry
But this information is not always available. There is no facility in the API to allow you to look up these outside of this context.
Hope this helps!

Resources