The receiver adds a senderId to each message it receives. Is the sender aware of that id? Where can it be found?
That would help greatly during development.
That senderId is not something that a sender knows about.
Related
While exploring RingCentral C# SDK, we have a requirement of receiving SMS.
I know how to use C# SDK for sending SDK, but wanted to get an idea of receiving it.
I am not sure any plugin I need to fit here.
I haven't got proper answer even searching the Internet.
Any help will be appreciated.
You can receive inbound SMS by subscribing to event notifications for new SMS or by polling the message store API.
Subscribing for Event Notifications
There are to ways to subscribe, using PubNub and using Webhooks.
Using PubNub, you can receive SMS. Check it out here:
https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/SubscripotionTest.cs#L31
If you want WebHook, check the reference:
https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/WebHookTest.cs
Polling
The direct API of RingCentral APIs to receive SMS content is:
/restapi/v1.0/account/~/extension/~/message-store/<message id>/content/<attachment id>
Here you need to put the message id and the attachment id which you can use in your C#.
I want my bot to respond only if anyone mentions its name like #mybot.
How to achieve this?
For that you need to use the Events API and subscribe to the event app_metion.
That way your app will receive all message that directly mention your bot with #mybot.
Those messages will be sent as request from Slack to the endpoint provided for receiving events.
I am trying to test a service. I need Twilio to receive SMS from specific SMS service provider. When the sender sends with a number I can receive the message. But when the sender user SenderID like 'RZ SMS' I can not receive the message. The structure of the message in both situations is the same.
Has anybody faced this problem before?
Twilio developer evangelist here.
It is not possible to respond to SMS messages sent from an alphanumeric ID. You also cannot initiate messages to an alphanumeric ID. Please see more details on alphanumeric sender IDs here: https://support.twilio.com/hc/en-us/articles/223181348-Getting-started-with-Alphanumeric-Sender-ID
I am sending SMS using Twilio API. During testing i found that it sometimes delivered message to the phone number but does not sends all the time. This is the case of DND activated numbers(Do Not Call List).
I knew this is because of Sender routing done by Twilio. When Twilio sends SMS using a number(only numeric sender-FROM), i received the message, but when it sends message using some alphanumeric sender(like DM-044138), it does not delivers the message.
Now my question is do we have any access to change this ? Can we set something that could guarantee the delivery even for the DND numbers ?
Any help would be highly appreciated.
Your problem is you are sending it to India.
Please review the following.
This feature is only available when sending messages to supported countries
As you can see from the list below India is not a supported country.
https://www.twilio.com/help/faq/sms/what-countries-does-twilio-support-alphanumeric-sender-id
When I send the message by Twilio to someone, there is the "[CEG]" in the sending message.
I don't know how to change the message [CEG] or hide the message.
Please, help me.
Thank you.
Twilio developer evangelist here.
This is intentional behaviour in China. Chinese phone carriers require an ID to be appended to the end of a message before delivery. Twilio's ID is CEG so we append it to all messages in China, it is not possible to remove it.