listen all incoming mms in blackberry - blackberry

i can track outgoing mms using sendlistener of mms.
what about incoming mms?
how to distinguish between sms and mms if i use datagram connection?

Related

Twilio not sending SMS to phone number

I've enough account on my twilio account. My twilio phone number is from US but when I tried to send message from my twilio to other Region I couldn't received any text but the status shows sent.

How to send SMS from Chat flow in Studio

I have a studio flow that receives chat messages (from Whatsapp) and forward the conversation to Flex.
I'm trying to send a SMS notification to a hard-coded number as this happen.
The issue is that the SMS is never sent and the Send Message widget fails with the following log:
Failure sending message: Chat service or channel parameter missing
I understand that it's probably because the flow has a Chat context and that the widget expects a Chat Service. But I want to send a SMS.
I tried to configure the Send Message widget like this:
SEND MESSAGE FROM and SEND MESSAGE TO set and all other config fields empty
SEND MESSAGE FROM and SEND MESSAGE TO and PROGRAMMABLE CHAT SERVICE with a Messaging Service ID (which doesn't really make sense but hey...)
Neither worked.
How can I send a SMS from a Chat flow in Studio?
I was just able to knock up a quick Studio Flow that receives messages from WhatsApp and sends out an SMS to a hard-coded number and it worked for me. The way I did it was to hard code both the Send message from and Send message to numbers in the Messaging & chat config section of the Send Message widget, like this:
In this case you must ensure that the Send message from number is a Twilio number that is able to send SMS messages.

How to get SID of each phone used in twillio notification API call

I am sending SMS to the list of million of phone numbers Through twillio notification API.
But I want to keep track about SID against each phone used. so that I can process it further for any phone number.
So what's the better way.
is there a way that allow me to get phone SID by providing phone number to the API.But again there will be issue that sometimes I send multiple messages to the same phone number.
How can I do this. As making twillio notification call to send bulk sms it does not return SID's of every number used in binding
You can use the statusCallback in the Messaging Service Twilio Notify is using to get the Messaging SID's for each. Make sure your server infrastructure can handle the volume of webhooks Twilio returns to it.

No SMS text message notifications from SmartThings to my Twilio number

My Twilio number will not receive SMS text messages from SmartThings.
I have SmartThings set to send me SMS text message notifications to my Twilio number.
According to the API, SmartThings is sending the SMS text messages:
{
"destinations": {
"SMS": {
"status": "OK",
"to": "XXXXXXXXXX"
}
}
}
https://graph.api.smartthings.com/
According to my Twilio log I am getting no incoming SMS text messages.
https://www.twilio.com/console/sms/logs
This worked a few days ago. Now it doesn't.
SmartThings will successfully send SMS text messages to my mobile phone. And Twilio will successfully receive SMS text messages from my mobile phone.
Is there some rate based blacklist filtering? Do I need to whitelist the SmartThings short code somehow?
Why won't SmartThings send an SMS text message to my Twilio number?
Or, why won't Twilio receive SMS text messages from SmartThings?
It seems Twilio numbers cannot receive messages from short codes.
I found these in Twilio support documents:
Are you expecting to receive SMS from a short code?
Services like Google Voice, Facebook, and Skype, which use short codes
(e.g. 55555) to send SMS will not be able to send messages to Twilio
phone numbers. This is because short code carriers have arrangements
to exchange messages with mobile phone numbers only, and Twilio phone
numbers are not considered mobile numbers.
-- Not receiving SMS messages on Twilio phone number
and
Twilio numbers cannot send messages to or receive messages from
short codes at this time whether they are Twilio short codes or
external short codes.
-- Can my Twilio number send SMS to a non-Twilio short code?
This is disappointing and I do not understand why it worked a few days ago.

ios: How to send SMS in background

I know How to use MFMessageComposeViewController to compose message and forward the SMS and I want to send SMS in background without displaying message composer view. so If I click on button SMS will send in background without prompting to user.
There are 3rd party API's like Twilio, nexmo and tropo but i am not getting how to implement with those API's.
There is any other way to send SMS in background?
Using the standard API's you can only send an SMS with user interaction.
You can't send SMS or e-mail without user interaction unless there is any server interaction. If you really want to send SMS in background, send the content and reciepients to your server in background and from the server side you can send SMS to your receipients.

Resources