Code Monkey home page Code Monkey logo

playsms's Introduction

README

Latest development release is playSMS version 1.5.0-beta8

Latest stable release is playSMS version 1.4.7

Official project website:

Official playSMS forum:

Description

Free and Open Source SMS Gateway Software. Not A Free SMS Service.

Feature Highlights

  • Multiple database engine supported (using included PHP PEAR DB)
  • Send SMS to single mobile phone
  • Send SMS broadcasted to a group of mobile phones, or SMS bulk
  • Support sending text, flash and unicode messages
  • Receive private SMS to Inbox and forward it to email or user's mobile phone
  • Forward single SMS from mobile to a group of mobile phones
  • Provides SMS to email and email to SMS by polling mailbox
  • SMS autoreply, for easy autoreplying formatted incoming SMS
  • SMS board, forward received SMS to email, export output in JSON and a few other formats
  • SMS command, execute server side shell script using SMS
  • SMS custom, forward incoming SMS to custom apps, locally or hosted on external URL
  • SMS poll, manage polling system using SMS, export output in graph, JSON and other formats
  • SMS quiz, serve quizzes on SMS
  • SMS subscribe, manage user subscribes to a service using SMS
  • Blacklist, stoplist and firewall plugin for SMS services protections
  • Create your own features, tools, themes and gateway modules as a plugin
  • Supports Gammu, Kannel, SMS Server Tools, Jasmin, Playnet, Uplink, and several SMS service providers
  • Supports multiple active SMSC
  • Supports simulation gateway for testing incoming and outgoing SMS
  • Route outgoing SMS by prefix
  • Route outgoing SMS per user
  • Route incoming SMS to users or URL
  • Webservices for sending SMS, retrieving delivery reports, checking credits and more
  • Long SMS support, length of text is configurable
  • Rate SMS by destination prefix
  • SMS credit system per user
  • Multiple SMSC activated and routable
  • Timezone settings
  • Multi-language user interface (English, French, Bahasa Indonesia, Russian and a few others)
  • Easily add new language for user interface
  • Web-based interface
  • Multi-domain from single playSMS installation with site branding

License

playSMS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

playSMS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with playSMS. If not, see http://www.gnu.org/licenses/gpl-3.0.html.

The GPLv3 full text is included in file LICENSE.md

Installation

Please read INSTALL.

Project Founder and Maintainer

Contributors

Information about code contributors can be found here:

Information about security contributors and reporters can be found here:

playsms's People

Contributors

ajiwo avatar antonraharja avatar aristide avatar aseques avatar astrakid avatar bitdeli-chef avatar bootsector10 avatar dmtg avatar duasfl8r avatar dvoryanchikov avatar endymuhardin avatar enumanc avatar ewahalley avatar fbonzon avatar filipovic avatar florentdotme avatar gschanuel avatar himic avatar hyllegaard avatar ibsoman avatar mancy avatar neoscopio avatar opmat avatar roy-orbison avatar sbrawner avatar sentabi avatar t-ony avatar touhidshaikh avatar waffle-iron avatar yahia007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

playsms's Issues

Encoding problems when receiving messages from Kannel

Kannel forwards SMS messages to playSMS using what is called an 'sms-service':
when it receives a message, it connects to
''plugin/gateway/kannel/geturl.php'', sending the message, the sender and the
receiver via HTTP GET.

When I send a unicode message, though, playSMS gets it wrong:

I tried to send the message isso é um teste, um dois três, açaí, using skype's SMS capabilities (that's why the sender is my skype login).

The URL kannel accessed was:

``http://imotiro.org/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=2013-07-31+15:34:24&q=lucasrfl&a=%00i%00s%00s%00o%00+%00%E9%00+%00u%00m%00+%00t%00e%00s%00t%00e%00%2C%00+%00u%00m%00+%00d%00o%00i%00s%00+%00t%00r%00%EA%00s%00%2C%00+%00a%00%E7%00a%00%ED&Q=%2B552188888888`

The parameter "a", the message contents, is what matters here:

%00i%00s%00s%00o%00+%00%E9%00+%00u%00m%00+%00t%00e%00s%00t%00e%00%2C%00+%00u%00m%00+%00d%00o%00i%00s%00+%00t%00r%00%EA%00s%00%2C%00+%00a%00%E7%00a%00%ED

In the logs, the message appears as:

isso um teste, um dois trs, aa

While in the "all received SMSs" screen, it appears as:

isso

SMS_Subscribe Feature for message of already subscribed members to group

In the feature SMS_Subscribe in the fn.php file, I had to correct a grammatical error on the message of already subscribed members from "You already a member" to "A custom message".

Would it be possible to add a input field on the Manage Subscribe menu that would allow for a custom message for each Subscribe group?

partially processed queue

There is a race condition between sendsms() or sendsms_bc() that pushing SMS into a queue and sendsmsd() that read the queue resulting in queue processed partially.

For example user sending 10k SMS in one go and sendsmsd() only process about 200 of them. But then sendsmsd() will flag=1 the queue, which means the queue will not be read in next sendsmsd iteration.

What we want is if in one time sendsmsd read the queue it will check whether or not all queue members have been processed.

add better reporting module

report plugin will contain:

  • detail of how many messages were sent daily, monthly and annually
  • detail of how many inbox messages were received daily, monthly and annually
  • detail of how many feature messages were received daily, monthly and annually
  • admin views everyone and each account views their own

Two-way SMS supports in uplink gateway

From Faizan Mirza:

Hello, I am using kannel with playsms on local system with GSM Devices connected. SMS going and coming to admin panel. I have uploaded also playsms to my hosting with uplink gateway. Messages going but how to get messages in inbox to make hosted playsms as two way sms system? I have low bandwidth so cant use local playsms for worldwide access. Please tell me what are possibilities and what sms sync help us..

Basically a way to make uplink gateway become two-way instead of one way like now.

One contact in different groups, phonebook

In tools/phonebook currently one contact can be assigned to one group. If the same contact belongs to different groups I need to configure this contact as often as groups are assigned.
It would be better to be able to assign more than one group to this contact.

DB error connect failed

Hi ,
Im new in this wiki.I have installed playsms under Ubuntu 10.4 following step by step the installation prcedue on playsms.org.
now im facing this issue:when i try localhost/playsms i get this message:DB Error :connect failed.

please would you help me?

regargs!

Send to subscribe group from webservice

It would be nice to be able to send a message to a subscribe group from the user interface. If this feature is possible then maybe it would be possible to use the autosend feature and be able to also send to a subscribe group.

Working playSMS on MS Windows

Add scripts and make some changes so that at least playSMS can work normally in MS Windows with one gateway, Gammu

Can't send more than 3212 sms

I have a phonebook with 24,000 numbers. And when i use bulk sms the task is marked as done with only 3212, so i have to go to phpmyadmin and change the flag of the task to 0 to keep doing the task. How i can fix it?

Unicode sms broken

if the message is too long, only the first part is send out for Unicode. In standard no problem when splitting the text. Before it was working fine for Unicode.
Tested in 0.9.8

Incoming SMS checking

Hello,

Is it possible we setup 2 way sms service but replies should come without any @username. and it detect uid or sender id of sender and receiver. For example if A and B is sending SMS to C, if C replied to A message it goes to A and if C replied to B message it goes to B and if C direct send message without replying it goes to nobody account only main admin account.

Buttons on the contact to add new contact does not work!

When I click the button it returns nothing to me I click create group to add to the group number and does nothing, and in the mysql database that the prefx also ok registered in this file config.php normal.
can someone help me please?

Polling Broken 9.8git version

Poll keyword not adding.
Poll Format changed and not clear.
9.7 polling config was clear.

Minor issue
In Quiz only uppercase answers are allowed is this the standard intended format or a bug?

I want to use nexmo gateway and polling which will be the quicker fix?. .add nexmo to 9.7 or fix polling in 9.8.? Thanks..

Add Reseller

Brother
Please Add Reseller User Option in your script
An Admin can Add reseller Account & Reseller Can add Normal User Account. Admin Send A reseller Sms Credit & Reseller User Can add credit To Normal User
Please Accept my request

Input Sender ID in Send sms Page

Dear brother now i'm using play sms latest version in my web page but i got a problame in your script i need that when my user send an sms they want to type sender ID in send sms page but in your script that is not possible. so please help me & modify your script its urgent i need it very quick

Gnokii-playsms db structure

I really like this project and it will help us a lot, but I'm really confuse how gnokii and playsms will work together considering gnokii only use database with 3 tables which are inbox, outbox and multipartinbox while playsms have a lot. Do I need to change table structure for these 2 to work? Hope you can help me. Thanks a lot.

Add billing module

Hello,

Good job guys,
I need billing module, i think that is the must missing and important feature

Please accepte my request

best regards,

No tag for 0.9.7.2 release

According to the website, playSMS version 0.9.7.2 was released on 2012/11/23.

But no tag for it was created: https://github.com/antonraharja/playSMS/tags

I deploy playSMS by always checking out the latest tag from the repository, so the code is easily updated and always on a stable version.

I don't know exactly what is Anton's workflow for tagging a new version, but if it is as simple as creating the tag on the right commit and making a pull request, I can do it myself.

Thanks!

Create new errorcodes for the webservices

Currently the error codes related with authentication are:

ERR 100 : authentication failed
ERR 101 : type of action not valid
ERR 102 : one or more field empty
ERR 103 : not enough credit for this operation
ERR 104 : webservice token is not available

I'd add
ERR 105: webservice not enable for this user
ERR 106: webservice not allowed from this ip

Unicode sms default

before the 0.98 and 0.9.7, we didn t have to click all the time for Unicode when we send sms. It ll be good to define a default, because if a user use unicode he ll problably use it daily or never

Create a token for use with webapps

Passing the password in cleartext in the url is dangerous because it can be easily retrieved unless you are using https.
A simple and neat workaround for this would be to create a new field in the playsms_tblUser with a webapp token, it could be a random string and could be called using h (for hash)
So for example instead of:

You would have something like this:

On a second stage, the p parameter could be discouraged/deprecated.
What do you think of it? I could implement it if you like.

route incoming SMS to inbox when receiver number match sender number

  1. User A have set sender ID 0987654321
  2. Gateway have been set to receive SMS on number 0987654321 and set receiver number in playSMS (Kannel can do this, or Nexmo, and probably other service)
  3. Cellphone user send SMS to playSMS, to number 0987654321
  4. playSMS will receive SMS from cellphone user and route
  5. Since the SMS goes to 0987654321, playSMS will receive from gateway with receiver 0987654321
  6. Upon receiving such SMS, where receiver == sender, playSMS will route the SMS to user A inbox (who have set sender ID 0987654321, match receiver number)

Meaning:
User A can set sender ID and if replies goes to sender ID then replies will be routed to User A's inbox

anton

PlaySMS Asterisk Gateway.

Asterisk has a very neat setup to send SMS using chan_dongle. something like ( asterisk -rx 'dongle sms ) can send a sms message. Asterisk manager can be used also. What would it take to create a custom gateway that can access a bash,php,python,perl script which can use asterisk as a gateway.

A feature to have a custom gateway using webservices would work to access asterisk manager also but I cannot see an option to use Webservices as a gateway. I need the "send from file" feature and a custom gateway feature to connect to asterisk.

Multiple gateways activation

It will really be nice to add the option of activating multiple gateways. Sending will use a gateway regarding some conditions (like number prefix).

Flash SMS broken

At least for the smstools gateway, the Flash SMS functionality is broken:
In web/plugin/gateway/smstools/fn.php:
function smstools_hook_sendsms($sms_sender,$sms_footer,$sms_to,$sms_msg,$uid='',$gpid=0,$smslog_id=0,$sms_type='text',$unicode=0)
but the code is
if ($msg_type=="flash") {
should be
if ($sms_type=="flash") {

Most likely, it's the same for more or less all gateways.

See also http://tech.groups.yahoo.com/group/playsms-devel/message/1737

Expand webservices with more error codes

We are now implementing the communication to playsms via webservice and we find out that there is at least a missing error code in our case, because we need at least a error code when there's no credit. So this would be my proposal to extend the current api + docs:

Code changes to reflect new errors:

ERR 103: not enough credit for this operation

And in the documentation I would change the docs so the people creating interfaces were aware that new error codes might appear in the future:

ERR 1xx: authentication or parameter erorrs
ERR 2xx: specific pv errors
ERR 3xx: specific bc errors
ERR 4xx: delivery status errors

What do you think of it?

Autoadd the country code when dest. phone is for a precise length

I would like to set a new parameter (i.e local_length) that is the number length without the local code.
For example, in spain the mobile numbers are 9 digits (such as 612456789), in case that a number of 9 digits is detected, playsms would add the prefix automatically (34 taken from replace_zero ).
This wouldn't have any effect on the addition or deletion of the + prefix.

So it's basically

if lenght($number > $local_length )
       $number=$replace_zero.$number

What are your thoughts about this?

Beggining: How create users for access to playsms

Hello,

I installed today a more recent version of playsms. Now, when I call the page:

/my-host/sms/web,

I receive a screen for login but no have link for create a new user.

What error did I do?

If you can send me a contact with Lucas Teixeira, (to: edmar@edmarrp,org), I prefer, because I'm brazilian and have more facilities with portuguese, of course.

Thanks.

Sent SMS not visible when user deleted

with user admin I can see all sent sms. But when I delete a user, I don't see anymore sent sms from this user.
would be fine, if those SMS would be shown with user "deleted" or with the former uid.

SMS command not executing script correctly

I have been using it for a few versions now, and haven’t had any problems with the upgrades till now. I noticed that the sms_command execution files were no longer in /var/www/html/playsms/bin but in /var/lib/playsms/sms_command/1/ so I copied over my executables to this new location. When I execute the script from the command line, it works perfectly. However, I can’t get it to execute from playsms. What i mean, is that playsms shows that the keyword sms was “handled” but the script itself is not executed. in the log file, /var/log/playsms/playsms.log I don’t see any mention of the sms_command keyword when it receives the sms.

In the web interface it is showing the path as /var/lib/playsms/sms_command/1/ but when i changed the log level to 3 (for debug) i found that it was looking for the file in /var/lib/playsms/sms_command and not in the final 1 directory.
could that 1 be a typo that needs to be removed? i’ve copied my files in the sms_command directory and its now working.

by Adnan, ref: http://playsms.org/playsms-version-0-9-8-has-been-released/#comment-644

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.