Thank you for creating such a useful module. I always admire and appreciate the efforts developers put in bringing opensource tech to drupal. Because for a person like me, it is not possible to integrate anything without spending money or time or both. So Hats off.

Is it possible to use rocket chat as an sms gateway using its api or something?

I am already using envaya sms app (It is installed on my phone and converts my phone to an sms gateway. Then there is a drupal module which integrates envaya with drupal) and its working, but the problem is that it uses my mobile carrier to send sms to the user and hence incurs cost which is ok if sending to local numbers, but international sms will cost higher and this solution becomes unfeasible.

So, I want something which can use internet to send message to the user on their mobile.

There is a module https://www.drupal.org/project/sms_simplegateway which asks to fill some info and automatically creates a gateway. It means you do not have to create your own gateway module to integrate with drupal. This is a snapshot with some example details filled for labsmobile.com api in (sms simple gateway) module. I am sharing this example just as one of the options available.

Base URL for sending messages => http://api.labsmobile.com/get/send.php
HTTP method => GET
Username field name => username
Username field value => _your_labsmobile_username@domain.com_
Password field name => password
Password => _your_labsmobile_password_
Sender (from) field name => _default_sender_
Number (to) field name => msisdn
Message field name => message

Comments

ugintl created an issue. See original summary.

sysosmaster’s picture

Component: Code » Miscellaneous
Status: Active » Closed (works as designed)

Using Rocket chat as a SMS Gateway is probably possible...
but it is a really round about way of sending SMS to users.

You are almost serctainly better off using a dedicated SMS gateway module instead (imho).
(Except if you already are using Rocket chat and just want to send messages to a user, but than why would you need SMS?)

ugintl’s picture

I am currently exploring the possibilities of free web to phone sms or push notifications without relying or depending on external services api. I want to host everything on my own server or phone.

Actually I want something which can be used with sms framework module. So SMS gateway. I thought may be rocket chat has an api which somehow I can use to send messages or notifications to the user phone. Not necessarily an sms. May be some kind of alert or notification.

May be Combining my app with rocket chat and then using drupal to send messages or notifications on events triggered. I am not sure what I am saying. Just sharing what came in my mind. There are services which send sms from web to phone for free, but you have to register and use their api. This is I want to avoid.