## Blocks: SMS Notifier

block_sms
Maintained by 3i Logic LMS
A one way SMS messaging block.
148 sites
22 fans

SMS notifier is a one way SMS messaging block that allows managers, teachers and administrators to send text messages to their student and teacher.

New Features in Version 3.7
• Added Support for Moodle version 3.7
• Removed SendSMS.Pk and Yuboto APIs
• Added New API’s Nexmo, Twilio, Clickatell.
• Added Pagination & Search features using different filters
• Fixed alignment issues for edit buttons
• Fixed navigation bar button issues
• Removed errors and warnings
• Defined classes and functions used in code using comments

Plugin Installation
1) Copy plugin folder in Moodle blocks folder
3) Install the plugin by clicking on 'update database' now button
______________________________
Supported API's
For Clickatell API: See http://www.clickatell.com
Nexmo API: See https://dashboard.nexmo.com/sign-up
Twilio API: Seehttps://www.twilio.com/try-twilio

### Awards

• Tue, Dec 12, 2017, 4:14 PM
Dear Tumelo,

Thank you for using SMS notifier. Please check number where you're messaging is in correct format. This issue happens normally when the destination number you are attempting to send to is invalid. We've successfully tested with adding a country code i.e 92xxxxxxxxxx

If you still face the problem. Please confirm us plugin version we'll look into the matter.

Regards,
3i Logic LMS team
• Fri, Feb 23, 2018, 9:06 PM
Hi there,

I'm trying to set this up to work with a Moodle 3.3 and Clickatell.

I'm getting: "Message(s) not sent due to an error: ERR: 105, Invalid Destination Address"

So that I can check I’ve set up everything correctly,

1) Can you confirm the settings I should use to set up an integration?

2) Also what format should the users use for their mobile numbers? eg 07XXX XXXXXX, or +447XXX XXXXXX or..?

Noel
• Tue, Mar 13, 2018, 10:11 PM
Thanks for your Skype support, but still no joy. I've tried all sorts of things, still got the same message:
"Message(s) not sent due to an error: ERR: 105, Invalid Destination Address"
In you lib.php file I see you use the command:

$url = "http://api.clickatell.com/http/sendmsg?user=" .$username . "&password=" . $password . "&api_id=" .$api_id . "&to=" . $numbers . "&text=" .$message;

whereas in the Clickatell example it uses "https://platform.clickatell.com/messages/http/send?apiKey=XXXXXX==&to=XXXXXX&content=Test+message+text"

is this the problem?
• Fri, Jun 15, 2018, 8:02 PM
I'm experiencing the same problem as Noel. Is there any solution to this?
• Sun, Jul 1, 2018, 6:52 PM
I am also getting the same error. Not able to send message. Any solution of this problem.
• Mon, Jul 2, 2018, 2:55 PM
@mudit
No, we are still searching for a solution
• Sat, Jul 28, 2018, 11:35 PM
I am also getting the same @Noel issue:
"Message(s) not sent due to an error: ERR: 105, Invalid Destination Address"
any suggestion ???
• Wed, Aug 29, 2018, 5:37 PM
" Message(s) not sent due to an error: ERR: 105, Invalid Destination Address "
any help???
• Thu, Oct 4, 2018, 9:13 PM
Hi,
when i send and sms to selected users, the status column shows 'error'. i'm using 3.1
• Tue, Nov 27, 2018, 3:05 AM
Hi all,

To fix the "ERR: 105, Invalid Destination Address" issue in the 3.3 version of this plugin, you can patch sms_form.php with the following modification (happens on line 124): https://gist.github.com/MortimerMcMire315/2e8673c662cc9cc9fba15d09857627f4

That is, add "usr.id" in to the SELECT statement to make sure that user IDs are grabbed as well.

I hope the maintainers will patch this in ASAP.
• Mon, Feb 11, 2019, 3:41 PM
Hi
its support Moodle 3.5+ ?
• Tue, Apr 30, 2019, 7:16 PM
Assalam O Alaikum . Kindly help me with the plugin . There is no site "sendsms" as mentioned in the combobox . Please kindly help me integrate your plugin with any local / Pakistani sms api .
• Wed, May 1, 2019, 12:22 AM
Need some advice from the experts / Development team on how to modify the code to work with a sms gateway service in Pakistan. a response would be appreciated.
• Fri, May 31, 2019, 4:18 PM
• Tue, Feb 18, 2020, 2:56 AM
Assalam O Alaikum . Kindly help me with the plugin . There is no site "sendsms" as mentioned in the combobox . Please kindly help me integrate your plugin with any local / Pakistani sms api // sendsmspk.com