we are working on it.. and ucceded in proof of concept usinf tweepy.
soon coming more.
Just consuming about 3-4 Watt. Extremely comfortable. Store incoming SMS in an integrated mysql-database. Web-interface (Online/offline) is no problem. It s complete a standalone system. Maybe solar driven later on. Internet connection by wire is possible but not nessecary. Endless possibilities.. 4 Africa, Asia, Latin America. Built your own SMSbased Services...m-health application, education application ...whatsoever.
Translate
Sonntag, 12. Januar 2014
Next step: Integration of twitter to forward sms messages
Labels:
3g,
africa,
Afrika,
Asia,
edge,
gateway,
hdspa,
inbound,
inboundsms,
Latin America,
lta,
server,
sms,
sms-gateway,
sms2web,
system,
twitter,
umts
Standort:
Berlin, Deutschland
Eventhandler erleichtert die Gesamtfunktion ungemein
Ab sofort nutze ich den in smstools3 bereits vollständig integrierten eventhandler, welcher ein php script auslöst. Herauslösung der SMS Parameter, Abspeicherung der SMS Informationen in einer mysql Datenbank, e-mail SMTP Weiterleitung, sowie die nachfolgende Löschung der angelegten SMS-Datei erfolgt dabei in nur einem Arbeitsschritt. Nach einigem tüfteln funktioniert das nun alles.
Das php-script sollte man ja eigentlich nicht in www lagern, schon aus Sicherheitsgründen grundsätzlich. Es funktioniert dort ja auch nur, wenn dem smsd-user für das www entsprechende Rechte eingeräumt werden.
Vorsicht! Unter loglevel 7 schnell wachsende logdatei auf der sd card. Am Besten nur loglevel 1 im Produktivbetrieb einstellen und im Auge behalten....
Das php-script sollte man ja eigentlich nicht in www lagern, schon aus Sicherheitsgründen grundsätzlich. Es funktioniert dort ja auch nur, wenn dem smsd-user für das www entsprechende Rechte eingeräumt werden.
Auf zusätzliche cronjobs kann man jedoch völlig verzichten. Denn smstools3 läuft ja als quasi-cron (siehe : loglevel 7) und muss eher noch entschleunigt werden, sonst wird der SMS stick viel zu oft abgefragt. Und warm.
Vorsicht! Unter loglevel 7 schnell wachsende logdatei auf der sd card. Am Besten nur loglevel 1 im Produktivbetrieb einstellen und im Auge behalten....
Labels:
africa,
gateway,
inbound,
Kenya,
sms,
sms-gateway,
sms-inbound,
sms2web,
smsinbound,
smsinfo,
smstools3,
tanzania,
web2sms
Standort:
Berlin, Deutschland
Über dieses Projekt (Translate with Google into >57 languages :))
Ich hatte mir die Aufgabe gestellt einen sms2web service auszutüfteln. Hierzu sollte ein Raspberry Pi dienen, der den SMS Empfang managed und gleichzeitig ein web-frontend und eine mysql datenbank betreiben kann. Die Verarbeitungspower des Raspi ist dem Projektanspruch angemessen.
Labels:
gateway,
inbound,
inboundsms,
sms,
smsinbound,
tweet
Standort:
Berlin, Deutschland
sms2web System, setting up just for a few bucks...
very comfortable and easy to install. complete SMS2Web - System.
Samstag, 11. Januar 2014
Eingegangene SMS nach Auswertung sofort mit php Befehl löschen
Und so funktioniert das unter php:
// datei mit eingegangener SMS wieder löschen
unlink("$sms_file");
Damit sammelt sich dann absolut kein Datenmüll auf der Karte an.
// datei mit eingegangener SMS wieder löschen
unlink("$sms_file");
Damit sammelt sich dann absolut kein Datenmüll auf der Karte an.
Labels:
affordable,
cheap,
easy,
europe,
forward,
gateway,
germany,
inbound,
inboundsms,
raspberry pi,
raspi,
small cost,
sms,
smstools,
smstools3
Standort:
Berlin, Deutschland
Wie kann der Hostname des Raspberry Pi geändert werden?
das geht so:
sudo
nano /etc/hostname
und
sudo
nano /etc/hosts
Labels:
b2b,
business,
customer care,
e-health,
m-health,
offline,
raspberry pi,
smsinbound,
start-up
Standort:
Berlin, Deutschland
Der User "smsd" muss für /var/www/...... Zugriff beechtigt werden
und das geht so:
Rechte für smsd für das www Vereichnis erteilen
Rechte für smsd für das www Vereichnis erteilen
sudo adduser smsd www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rw /var/www
Es ist natuerlich sicherer, wenn die php scripte NICHT im www liegen!
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
smstools,
smstools3,
web
Getting ALL! SMS parameters from smstools - by eventhandler activated script
#!/usr/bin/php
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
//übergabeparameter aus smstools3
$sms_type = $argv[1];
$sms_file = $argv[2];
$sms_file_content = file_get_contents($sms_file);
$i = strpos($sms_file_content, "\n\n");
$sms_headers_part = substr($sms_file_content, 0, $i);
$sms_message_body = substr($sms_file_content, $i + 2);
$sms_header_lines = split("\n", $sms_headers_part);
$sms_headers = array();
foreach ($sms_header_lines as $header)
{
$i = strpos($header, ":");
if ($i !== false)
$sms_headers[substr($header, 0, $i)] = substr($header, $i + 2);
}
// select and get all header informations
$h_vonhandy = $sms_headers["From"];
$h_toa = $sms_headers["From_TOA"];
$h_smsc = $sms_headers["From_SMSC"];
$h_sent = $sms_headers["Sent"];
$h_received = $sms_headers["Received"];
$h_subject = $sms_headers["Subject"];
$h_modem = $sms_headers["Modem"];
$h_imsi = $sms_headers["IMSI"];
$h_report = $sms_headers["Report"];
$h_alfabet = $sms_headers["Alphabet"];
$h_length = $sms_headers["Length"];
// your code 2 follow
?>
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
//übergabeparameter aus smstools3
$sms_type = $argv[1];
$sms_file = $argv[2];
$sms_file_content = file_get_contents($sms_file);
$i = strpos($sms_file_content, "\n\n");
$sms_headers_part = substr($sms_file_content, 0, $i);
$sms_message_body = substr($sms_file_content, $i + 2);
$sms_header_lines = split("\n", $sms_headers_part);
$sms_headers = array();
foreach ($sms_header_lines as $header)
{
$i = strpos($header, ":");
if ($i !== false)
$sms_headers[substr($header, 0, $i)] = substr($header, $i + 2);
}
// select and get all header informations
$h_vonhandy = $sms_headers["From"];
$h_toa = $sms_headers["From_TOA"];
$h_smsc = $sms_headers["From_SMSC"];
$h_sent = $sms_headers["Sent"];
$h_received = $sms_headers["Received"];
$h_subject = $sms_headers["Subject"];
$h_modem = $sms_headers["Modem"];
$h_imsi = $sms_headers["IMSI"];
$h_report = $sms_headers["Report"];
$h_alfabet = $sms_headers["Alphabet"];
$h_length = $sms_headers["Length"];
// your code 2 follow
?>
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
smstools,
smstools3,
web
Sonntag, 5. Januar 2014
original /etc/smsd.conf
nano /etc/smsd.conf
change
devices = GSM1
to
devices = E169
delete 2nd incoming, its redundant
delete [GSM1] and [GSM2] definitions
change last lines
change
devices = GSM1
to
devices = E169
delete 2nd incoming, its redundant
delete [GSM1] and [GSM2] definitions
change last lines
[E169]
#init =
device = /dev/ttyUSB0
incoming = yes
#pin =
baudrate = 19200
then
/etc/init.d/smstools restart
logfile 4 debugging:
nano /var/log/smstools/smsd.log
then
/etc/init.d/smstools restart
logfile 4 debugging:
nano /var/log/smstools/smsd.log
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
smstools,
smstools3,
web
Standort:
Berlin, Deutschland
loading
apt-get update
apt-get upgrade
aptitude install smstools
nano /etc/smsd.conf
apt-get upgrade
aptitude install smstools
nano /etc/smsd.conf
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
smstools,
smstools3,
web
Standort:
Berlin, Deutschland
Complete SMSinbound system based on whezzy in a 35€ Raspyberry Pi
.....affordable, cheap, community, inbound, inboundsms, international,
mobile, mobilephone, phone, pi, private, raspberry, raspberry pi, server,
service, sms, web, www, inbound, inbound system, afric, ameri, europe, Kenya, Tanzania, Tansania, Estern Africa, Eastern Arika, Uganda, Ruanda, stand alone, infration, infmr, information, board, infoss, infosys, infoboard, sms2web, sms2email, sms gateway, gate, gateway
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
Standort:
Berlin, Deutschland
some links about SMS inbound services
https://www.twilio.com/blog/2012/04/get-started-with-twilio-sms-receiving-incoming-sms-quickstart.html
http://blog.hubspot.com/blog/tabid/6307/bid/32433/When-SMS-Text-Messaging-Actually-Makes-Sense-for-Marketers.aspx
http://www.clxnetworks.com/mobile-enterprise-messaging/inbound-sms-messaging/
http://www.any-sms.info/inbound.html?gclid=CMXOjvTo57sCFQhZ3god8wUAng
http://blog.hubspot.com/blog/tabid/6307/bid/32433/When-SMS-Text-Messaging-Actually-Makes-Sense-for-Marketers.aspx
http://www.clxnetworks.com/mobile-enterprise-messaging/inbound-sms-messaging/
http://www.any-sms.info/inbound.html?gclid=CMXOjvTo57sCFQhZ3god8wUAng
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
blog now available in 57 languages
this blog is availble in 57 languages now! Select yours above!
----
affordable, cheap, community, inbound, inboundsms, international, mobile, obilephone, phone, pi, private, raspberry, raspberry pi, server, service, sms, web, www
----
affordable, cheap, community, inbound, inboundsms, international, mobile, obilephone, phone, pi, private, raspberry, raspberry pi, server, service, sms, web, www
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
Standort:
Berlin, Deutschland
benötigte Teile: für den Bau eines SMS inbound servers
1 x Raspberry Pi
1 x Gehäuse
1 x Handyladegerät
1 x schnelle SDHC Card, 32 GB preferred
1 x CAT 5 Netzkabel
1 x HDMI Anschlusskabel für ext. Monitor zur Kontrolle
1 x taugliches GSM Modem (hier: Huawei E169... sehr gut!)
--------------------------------------------------------------------------
+ viel Geduld und Verstand
1 x Gehäuse
1 x Handyladegerät
1 x schnelle SDHC Card, 32 GB preferred
1 x CAT 5 Netzkabel
1 x HDMI Anschlusskabel für ext. Monitor zur Kontrolle
1 x taugliches GSM Modem (hier: Huawei E169... sehr gut!)
--------------------------------------------------------------------------
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
in strong cooperation with a raspberry pi board
affordable, cheap, community, inbound, inboundsms, international,
mobile, obilephone, phone, pi, private, raspberry, raspberry pi, server,
service, sms, web, www
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
using an (old fashioned) HUAWEI USB STICK E169
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
Extrem kostengünstiger SMS inbound server mit dem Raspberry PI selbst bauen
Labels:
affordable,
cheap,
community,
inbound,
inboundsms,
international,
mobile,
obilephone,
phone,
pi,
private,
raspberry,
raspberry pi,
server,
service,
sms,
web,
www
Abonnieren
Posts (Atom)