Date: Thu, 01 Jun 2006 23:13:56 +0400 From: Boris Samorodov <bsam@ipt.ru> To: Odhiambo Washington <wash@wananchi.com> Cc: freebsd-isp@freebsd.org Subject: Re: Mass SMS Message-ID: <03202731@ho.ipt.ru> In-Reply-To: <20060601152435.GC51255@ns2.wananchi.com> (Odhiambo Washington's message of "Thu, 1 Jun 2006 18:24:35 %2B0300") References: <20060601152435.GC51255@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= On Thu, 1 Jun 2006 18:24:35 +0300 Odhiambo Washington wrote: > I have a few hundred VIP clients (yes, some are more VIP than others) > who I'd like to notify, via SMS, whenever we have any network problem > and also immediately such a > problem is resolved. > What I'm looking for is some software that I can use to do this, > within FreeBSD. I hope one of the experts in this area has done > one so I don't have to wait for the invention. > `make search key=sms` from within the ports did give some apps, > but I did not see one that is capable of looking at a database > of contact numbers and sending that one sms to all of them. > Of course I do expect a reply/delivery report after sending the sms. > Any good pointers will be appreciated. We use: /usr/ports/net-mgmt/nagios /usr/ports/mail/exim /usr/ports/comms/gammu Nagios is used to lookup on host and services. When a problem occures, it sends a letter to address <user-sms>@domain. Exim has router: sms_posting: transport = mail2sms driver = manualroute local_part_suffix = -sms route_list = * ...and transport: mail2sms: driver = pipe user = mailnull command = /usr/local/bin/mail2sms.py The last script is at the attachement. It uses a Subject field as a text to send via sms and write an outgoing message to /var/spool/sms/outbox. Gammu smsd daemon is scanning this directory for any existing files and send them via GSM phone. This phone is connected to our server via COM or USB port (Prolific Technology chip USB-to-COM cable for the latter). /var/spool/sms/db/phones is the file with lines <target-phone-number>\tab<user-sms@domain>: +7495NNNNNNN bsam-sms@domain.ru We have been using this technology for a year and don't have any claims so far. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03202731>