I am trying to send SMS to indian numbers using plivo Api. I have set src as sender number (9185623XXXXX).
obj.src = "9185623XXXXX";
But all my sms's are getting received as "VM-PLVS". How to enable sending sms as sender number. Please help.
In India, SMS gateway providers usually replaces your src/from number to their default sms short code while sending out. This comes under promotional and transactional sms. Refer link
You should opt for long code sms and a DID number (valid From number from sms gateway provider) to set a proper 10 digit number as From number and to get reply back.
There is no possibility of setting a dynamic From/src number in SMS gateway provider in india, like you do in VOIP calling.
To conclude this is not an issues with your nodeJS application. Call/Email Plivo team to get few clarity on this.
Plivo Sales Engineer here.
Due to the Telecom Regulations in India, it is not possible to set any number as the Sender ID while sending a message. However, you can send SMS to Indian numbers using an Alphanumeric Sender ID like HAPPYY. Please reach out to our support team to get a Sender ID registered.
Related
I integrated twillio for signup user in my application. From my application twillio SMS send to User for One Time Password(OTP). If user can verify OTP then and then he can register in my App.
But Sometime Twillio give error code 30004. But I want to send SMS forcefully to user without any restriction. Is there any way to fulfill my requirement.
I also read this page of twillio for my error https://support.twilio.com/hc/en-us/articles/223134167-Limitations-sending-SMS-messages-to-Indian-mobile-devices
But I want to send SMS to user any how.
Twilio developer evangelist here.
I am guessing, since you mention the article on limitations of sending SMS to India that you are trying to send to an Indian device.
As you have read, there are a number of issues with sending to India that all follow from India's classification of services like Twilio as marketing. For this reason, you are unable to send messages outside of the hours of 9am - 9pm and if a number is on the Do Not Call registry your message will never be delivered.
If you are trying to implement two factor authentication for India then I recommend you do so using an authenticator application. You can do this using Twilio's Authy API or by generating a secret and sharing it to applications like Authy or Google Authenticator.
This is more secure than 2FA over SMS and means you do not need to send SMS and rely on delivery in India. Instead the authentication can happen between the server and the device. This is what GitHub did for their 2FA and you can read why about that here.
Let me know if that helps at all.
Error 30004 "Message Delivery - Message blocked" when Sending SMS
If a message you sent is not delivered to the end device and returns a 30004 error code, this means that delivery of your message failed because the destination is blocked from receiving this message
I want to make a service for existing business so if they receive a message it automatically gets parsed by my bot and if necessary bot responds to it from the same number.
With Twilio, you need to move your number over to them, which is very inconvenient for businesses who often have land phone lines.
Twilio developer evangelist here.
You need to move numbers to Twilio in order to use the Twilio service because that is the only way that Twilio can receive calls and SMS messages from the phone network for that number.
If you are working on behalf of a business that has a landline, then why not purchase a Twilio mobile number for them that can be used for the chat bot? That way they keep their existing number for calls, but customers can interact with them in a new way via the mobile number and your chat bot.
I am building customer service application and I have integrated Twilio for all SMS operations.
Now when customer request for the service system will generate one ticket and details will be messaged on customer's number.
and then the customer can message to my Twilio number which is service center specific(I mean each service center has been assigned one Twilio number) and service center executive can reply him back so I want to make this SMS conversation.
I can use cookies twilio SMS conversations but it won't work in the case when my application will first message as I can only set cookie when my server is actually acting as a server which will be only in receiving SMS
which is narrated in Application Initiated Conversations section in above article.
and another problem is there can be multiple tickets for single user with particular service center so how to manage it.
Any help is appreciated.
Twilio developer evangelist here.
SMS is a simple protocol that has no idea of different conversations, simply a chronologically ordered set of messages. There are two ways to get around this.
You can either insist that your user include an ID for the ticket they are referring to so that you can parse it out of the message and associate it to the right conversation.
Alternatively, you can add more than one number per service centre that can be used for different conversations.
Let me know if that helps at all.
I am trying to set up a node.js app as listener for twilio inbound sms.I have created a twilio account which gave me trial sandbox number(USA).
Using this trial number I was able to successfully send SMS to verified mobile numbers But when I send SMS to the sandbox trial number my app is not able to receive the same and twilio logs also didn't show up the inbound SMS details.
I have configured the end point in twilio SMS URL and the end point is accessible.
Are there any restrictions for inbound SMLS for twilio trial sandbox number. I have sent multiple messages to the number but still no luck.
Please note am trying to send SMS to a US twilio sandbox number from India. Could you suggest what I am missing.
Twilio Developer Evangelist here,
I apologize for this issue you are running into. I have just recreated this issue, as did another member of my team. A bug report has been filed.
Keep in mind, you can still obtain a unique Twilio number while using a trial account. See the Getting Started page to get your Twilio number. This will allow you to use our API while still being on a trial account. The limitations of trial accounts can be found here.
Thanks for bringing this to our attention, we'd love to mail you a Twilio t-shirt to say thank you. Since Stack Overflow doesn't allow for private messaging, please shoot me a private message on twitter to #br0dan with your address and t-shirt size.
I am developing a project where I need to send an sms to the contact and if the contact doesn't receives the sms I have to send him another or choose another contact. So, for notifying my midlet of successful sms delivery i'll need to receive and read the sms delivery report.
How to read delivery report using j2me? Or Is there any other way to achieve this?
If you put your application on the Nokia store it will be automatically signed by Nokia to the 3rd party trusted domain, so the prompts will be less. Also i think if you implement SATSA JSR http://en.wikipedia.org/wiki/Security_and_Trust_Services_API_for_J2ME you can talk to the Sim card and get relevant information maybe on delivery of SMS also, but you need the app to be signed to the operator domain for permission. On the other hand, if you have an SMPP connection to a server you can send SMS to users with a port number and also view the message status there.