Git Product home page Git Product logo

bulksms's Introduction

################ SipCo Bulk SMS System ###########

This is PHP front end for Gammu-smsd . You can use this application as SMS marketing application for a small size business or you can use it to schedule broadcast SMS greetings for birthday events etc.,

Prerequistes : gammu-smsd , Mysql , Php , Apache ( webserver) installed

STEP1 : install gammu-smsd on cent OS system .

The procedure might be different for another distro , please check the gammu installation guide for other OS like Debian system

yum groupinstall 'Development Tools'

yum install gcc gcc-c++ ncurses-devel

Install cmake

cd /tmp/

wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz

tar -zxvf cmake-3.0.0.tar.gz

cd cmake-3.0.0

.bootstrap gmake gmake install

check cmake installed

cmake -version

Install gammu 64 bit

wget http://download.opensuse.org/repositories/home:/Nijel/CentOS_CentOS-6/x86_64/gammu-1.33.0-2.2.x86_64.rpm

yum install gammu-1.33.0-2.2.x86_64.rpm -y

check modem are used

dmesg

gammu --identify

gammu-config

STEP2: Download files from git repositoy

cd ~/ git clone https://github.com/SipCoSystems/bulksms.git bulksms

Create mysql database:

create database poc_sms;

mysql -uroot -p poc_sms < /root/bulksms/poc_sms.sql


edit file /etc/gammu-smsdrc

[gammu] device = /dev/ttyACM0 model = E173 (E173) connection = at115200

[smsd] service = sql driver = native_mysql #########if your SIM needs pin PIN = 1234 logfile = /var/log/gammu/smsdlog debuglevel = 1 ########runonreceive = /some/script commtimeout = 30 sendtimeout = 30 user =
password = pc = localhost database = poc_sms

start gammu-smsd now

gammu-smsd --daemon

check if gammu process is running

ps aux | grep gammu-smsd

check logs

tail -f /var/log/gammu/smsdlog


STEP3: Copy files to webserver root directory

mkdir -p /var/www/html/bulksms

cp -r ~/bulksms/* /var/www/html/bulksms

Now change configuration files in Application Dircetory /var/www/html/bulksms/application/config/config.php and /var/www/html/bulksms/application/config/database.php

bulksms's People

Contributors

sipcosystems avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.