Example use of SMS Command for Mikrotik

When you have working playSMS with Kannel, and Mikrotik configured to do something (not related to SMS), you can integrate them to serve something to your users. In the article below the author mentioned that the goals are:

  1. To renew expired users via sending Username and SCRATCH CODE to playSMS (Ubuntu Server)
  2. To renew expired users via sending SCRATCH CODE & verify the code with the user profile [later]

Users will be asked to send SMS to playSMS, and playSMS will handle it on its SMS Command to run a script that verify the SMS and commands Mikrotik to do something.

Visit complete article here:

https://aacable.wordpress.com/2015/05/12/sharing-ideas-mikrotik-with-kannelplaysms/

Enjoy.

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Found this playSMS 1.0-rc9 and 1.0 manual

Browse around for latest entries on Google for keyword playsms and found this:

https://aacable.wordpress.com/2015/05/08/fun-with-sms-management-system-playsms/

The article is explaining playSMS 1.0-rc9 installation and its basic usage in a simple way but in my opinion the right way to do it, it has screenshots with markers and it is also targeting beginners. The article could also be used as playSMS 1.0 references as both playSMS 1.0-rc9 and playSMS 1.0 are only slightly different.

Enjoy.

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Usage example of SMS custom

Example of ‪how to‬ use SMS custom, a feature of ‪playSMS‬ provided by plugin SMS custom for accessing external script on remote URL to get proper SMS response.

Visit here to view example and discuss it: Auto collect sender mobile number

Another post worth to read: Manage custom keyword help – first time.

Try it on your own playSMS server, or use playSMS demo and menu Settings -> Simulate incoming SMS to simulate incoming SMS and the result.

Enjoy learning.

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

playSMS Webservices

More and more users using playSMS, and some of them ask about whether or not playSMS provides HTTP API. Well the answer is YES. Its been there quite sometime actually, it is called playSMS Webservices API.

For those PHP developers, you can also try to use PHP class specifically implements playSMS Webservices API. Read about it here: http://antonraharja.com/2014/04/28/playsms-webservices-class/

Enjoy.

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Why Texts Are Not Translated

There are in total 8 language translations available in current playSMS.

They are:

  • Catalan (Spain) ca_CA
  • Deutsch (Deutschland) de_DE
  • English (United States) en_US
  • Spanish (Venezuela) es_VE
  • French (France) fr_FR
  • Indonesian (Indonesia) id_ID
  • Portuguese (Brazil) pt_BR
  • Russian (Russia) ru_RU
  • Chinese (China) zh_CN

When user or admin activate one of them, sometime they saw changes on displayed text, but on some language no changes made. I’ve seen questions like this asked by playSMS users.

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Fix Timezone Problem

Messages are not delivered, they are queued. Admin saw all messages in View SMS queue.

Usually, before 0.9.9.2, this is the case of daemon scripts issue, they are not running or running improperly such as wrong path configured in /etc/default/playsms.

But since I introduced SMS scheduler, a way to schedule delivery of submitted SMS through Send SMS page or webservices, one more issue unfortunately has emerged. It’s the timezone settings, PHP simply cannot determine exact timezone used in the script. The result is every SMS submitted NOW will end up being scheduled for next hour depend on the timezone that actually guessed by PHP.

A discussion in the group shows an example of user experiencing this issue.

So, if you experienced an issue like the first paragraph in this article, and you already make sure that all daemon scripts are running and well configured, then its time to check the timezone settings.

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Modify Welcome Page

In 0.9.9.2 it is relatively easy to modify playSMS look and feel. A template engine has been added and now using Twitter Bootstrap 3.

Welcome Page 0.9.9.2

Welcome Page on 0.9.9.2

Above screenshot is a welcome page displayed after successful login. Most users probably want to change that page.

These are methods available to change that page:

  1. Edit common file plugin/themes/common/templates/page_welcome.html
  2. Add themes specific template file to override common file. For example if your active themes is flatly, then you can add your own page_welcome.html in plugin/themes/flatly/templates/
  3. Add another themes specific file. For example if your active themes is flatly, theme you can add page_welcome.php in plugin/themes/flatly/

Select the simplest. For me its method 3.

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon