Koozali.org: home of the SME Server

[Announce][beta] smstools

Offline sognenovski

  • **
  • 64
  • +0/-0
[Announce][beta] smstools
« on: September 13, 2007, 08:07:41 AM »
G'day All,

I used SMS Server Tools a year ago for radio competition on a Centos box,
now days to monitor PPPoE or more to the point my ISP.

The SMS Server Tools 3 is a SMS Gateway software which can send and
receive short messages through GSM modems and mobile phones.

Possibilities...send sms for ssh, ftp, ups, vpn…etc and tie it all in
with server-manager. anyone?

rpm
http://ftp.nluug.nl/os/Linux/distr/smeserver/contribs/sognenovski/RPMS/smstools-3.3.0.10-2.i386.rpm

In building the rpm I tried to take most of the mystery out of the setup.
A lot more info can be found over here
http://smstools3.kekekasvi.com/

Sending a message (change mobile number)
# sendsms 491721234567 'Hello, how are you'
or put a SMS file into the Outgoing Folder /var/spool/sms/outgoing.

To read a received message,
take a look into the Incoming Folder /var/spool/sms/incoming or check admin email.

And if you like to monitor PPPoE, install smsserver-ipdown rpm

rpm
http://ftp.nluug.nl/os/Linux/distr/smeserver/contribs/sognenovski/RPMS/smeserver-ipdown-1.0.1-02.noarch.rpm

ipdown rpm emails admin and sends SMS when PPPoE is down or back up.
Follow the directions after the install to update mobile number.
Remember to expand both templates.
 

My notes that maybe useful
- Use genuine data cables
- Don’t use non-geniune data cables, (from experience a hit and miss)
- Delete SMS,MMS phone memory & master reset before connecting
- To check modem status use wvdial (yum it) and use command 'wvdialconf newconffile' to run
- Restart sms3 service with every modem connection to the box

Modems working - Australia
- Nokia 6230, 6310, 6210
- Wavecom WMOD2A-G900 (GSM modem works well)
- Motorola V3

Modems not working - Australia
- Nokia 5110 (you need gnokii emulator)
- Any  Nokia that uses DKU-5 data cable (no Linux driver)

To do
- Have email2sms working
- Auto restart service after usb connection

Tested on 7.1.1,7.1.3 and 7.2

Any comments,suggestions are appreciated.

Regards
Steve

Offline maykelsoft

  • *
  • 57
  • +0/-0
    • http://www.esi.com.ph
Re: [Announce][beta] smstools
« Reply #1 on: September 15, 2007, 07:40:11 AM »
Hi Steve,

Can we view the incoming sms message via web? Do you have any plan to create web interface for sending and receiving sms?

Really insterested.

This initial setup is really good.

Regards,
Mike

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: [Announce][beta] smstools
« Reply #2 on: September 20, 2007, 01:49:12 AM »
Hi Mike,

Sorry, no plans for web interface for the moment. Playsms is a good start, one would need to create a plug in or modify the gnokii plug in module.

However, I do use a cgi script for sending only from the web – let me know if you like, its very basic and almost embarrassing for release.

For now, working on email2sms and my zoneminder box 2 send sms on alarm state.
Usual prob, time, time and time. :hammer:

Thx for testing :cool:

Regards
Steve

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: [Announce][beta] smstools
« Reply #3 on: October 01, 2007, 02:17:12 AM »
Hi all

Contrib update smstools-3.3.0.10-3.i386.rpm
 
I’ve included the basic web interface. Create an ibay (smsweb) and copy sms.cgi and index.html to the relevant directories.
Set cgi permissions, take a look in sms.cgi.

Email2sms is now working. Addtional rpms needed
smeserver-usersendsms-0.1-1.noarch.rpm
smeserver-mailsorting-1.2-8.el4.sme.noarch.rpm
perl-Unicode-IMAPUtf7-2.01-1.noarch.rpm
perl-Unicode-String-2.09-1.i686.rpm

http://ftp.nluug.nl/os/Linux/distr/smeserver/contribs/sognenovski/RPMS

Install with
# yum localinstall *.rpm

Ignore the echo from mailsorting rpm. usersendsms rpm sets mail filter type to procmail.

Sending an email to SMS
Create an email and in the subject field enter the mobile number: 491721234567
Enter the text in the body of the email: Hello, how are you
And send email to: sendsms@your_domain_name

Care should be taken with sendsms account as it is exposed to possible abuse.

Here are some options your might consider,
1. Add procmail rules with user panel from Dungog.
2. Set account to internal email only.
# db accounts setprop sendsms Visible internal
# signal-event email-update
3. Tell no one.


Regards
Steve

Offline Daz

  • 1
  • +0/-0
Re: [Announce][beta] smstools
« Reply #4 on: March 04, 2008, 11:35:08 AM »
G'day Steve,

I've just discovered the sme community and have deployed a starter on a little server at home so i can learn and understand further etc.

Your SMS contrib interests me - I'm wondering if you may be able to assist with an other application ?

It's basically extracting a pager message from a com port (which would have been sent via modem to a paging provider), converting it to sms, then sending to the intended recipient either via gsm modem on a com port or api via a web sms gateway.

Been all over the web looking for a solution but haven't discovered one to date. Further, I'm not that technically vertical to create the solution myself. You seem pretty switched on, we're local, are you able to assist ?

Looking Forward,

Daz

Newbie to SME

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: [Announce][beta] smstools
« Reply #5 on: March 04, 2008, 02:30:13 PM »
Hmm…possible.
The way smstools daemon works is it listen to the com port by in the way of sending an AT command to it every 2 seconds. If a new message is seen/read, it’s processed by an email script or a filter script accordantly.

What type of pager are you thinking of using?
Will it accept AT commands?
Any other hardware info. 

Don’t have pagers anymore, if fact the last pager I had, I misplaced it somewhere in the Pacific…;)

-   Just a thought, some pager companys sent the message to the pager & to a GSM mobile also. If that the case smstools should suit the application.

It’s late, let me sleep on it.

Regards
Steve   

Offline HomePlayer

  • **
  • 55
  • +0/-0
Re: [Announce][beta] smstools
« Reply #6 on: March 17, 2008, 03:02:46 PM »
Thanks for sharing sognenovski,

in the near futher I we gonna need this tool.
but somehow is this link dead "http://ftp.nluug.nl/os/Linux/distr/smeserver/contribs/sognenovski/RPMS"

i found the rpm here in a cash. But i am wondering why it isn't any More on the above link?

http://64.233.183.104/search?q=cache:W0uq1Un7DXoJ:sme-mirror.voxteneo.com/contribs/sognenovski/RPMS/+smstools-3.3.0.10-3.i386.rpm&hl=nl&ct=clnk&cd=1&gl=nl&client=firefox-a

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [Announce][beta] smstools
« Reply #7 on: March 17, 2008, 03:59:13 PM »
HomePlayer

Quote
But i am wondering why it isn't any More on the above link?

Because in a big cleanup, the contribs.org admins removed many duplicate rpms (ie ones that could be downloaded from other sites).
sognenovski in his apparent anger, then removed all other rpms from his site.
I think his action was not necessary and certainly an "over reaction".

I uploaded many of the rpms here:
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/

I have other rpms from the original site, but they should be available from other sources eg
yum install --enablerepo=dag packagename
or they will be automatically installed as required dependencies anyway.
...

Offline Bud

  • *
  • 487
  • +0/-0
Re: [Announce][beta] smstools
« Reply #8 on: April 24, 2012, 11:23:44 AM »
« Last Edit: April 26, 2012, 02:45:07 PM by chris burnat »