SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Tue Jul 01, 2025 22:13
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
diupadaa: Ill answer to myself, i changed Nokia CS-15 to nokia mobile phone and everything worked like charm after that without any usb disconnects. So CS-15 is incompatible with sms tools at least if OS is ubuntu 9.04 or 10.04.
diupadaa: Operating system name and version: Ubuntu 9.10 32-bit Name and model of a modem / phone: Nokia CS-15 Interface: USB Hi, Has anybody got following error, from syslog: May 01 12:12:12 smsserver kernel: [25515.152706] usb 1-1: USB disconnect, address 2 I've tried with ubuntu 9.10 and 10.04 but same thing with both versions. That doesnt have any specific time or time period when it happens, it does it randomly. Is it possibly that Nokia's usb stick what does it? Everything works like charm until that message. After message smsd service stops and device changes its place (from ttyACM0 to fe. ttyACM1). Is that familiar problem to anybody or do i have to just change modem? Message is from kernel so probably it has nothing to do with sms server tools but here's my smsd.conf anyway: devices = GSM1 outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked incoming = /var/spool/sms/incoming #sent = /var/spool/sms/sent #checkhandler=/usr/local/bin/multiplerecipient logfile = /var/log/smsd.log loglevel = 7 delaytime = 20 errorsleeptime = 10 blocktime = 3600 autosplit = 3 [GSM1] #init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1 device = /dev/ttyACM0 incoming = yes #You don't need a PIN for mobile phones pin = 1234 mode = new baudrate = 19200 rtscts = yes cs_convert = yes report = no memory_start = 1
diupadaa: We modified it little bit more and now we define recipients in /home/exampleuser/.procmailrc file. recipients="+35821436587 +3581234565432"; VERBOSE=off MAILDIR=/var/spool/mail DEFAULT=/var/spool/mail/sms LOGFILE=/var/log/procmail :0 * ^TOsms | /usr/local/bin/multiplerecipient And our script which you have orginally wrote looks now like this and is named as multiplerecipient if you wonder that name in the code above. OUTFILE=$(mktemp /tmp/smsgw.out.XXXXXX) cat >$OUTFILE chmod 666 $OUTFILE outgoing="/var/spool/sms/outgoing" count=`echo "$recipients" | wc -l` if [ $count -gt 1 ]; then # Will need echo which accepts -n argument: ECHO=echo case `uname` in SunOS) ECHO=/usr/ucb/echo ;; esac messagebody=`sed -e '1,/^$/ d' < "$OUTFILE"` headers=`formail -X "" -I "To:" -f < "$OUTFILE"` for recipient in $recipients do file=`mktemp $outgoing/send_XXXXXX` $ECHO "To: $recipient" > $file $ECHO "" >> $file $ECHO -n "$messagebody" >> $file done # Remove processed file: rm $OUTFILE # Tell to smsd that checkhandler has spooled this message: exit 2 fi exit 0 Now we just make different users to ubuntu like test2 and after that define wanted numbers to /home/test2/procmailrc file and use the same modified multiple recipient script. Then when we send email to test2@our.smsserver.org and numbers we just defined got the message to their phones. So actually we're not using that email2sms script anymore.
diupadaa: I found that script earlier and we got it work with that, although we had to made changes to that script. You can define to our surveilance machine only one email address and because of that the orginal script didnt work, because of only one "to field" available. When we now got email message from surveillance machine we make with mktemp file to /tmp and with that script we modify it so that there is only message body and recipients. The recipients we defined straight to that script like this: recipients="+3581256778 +358123345654 +358656546546"; So that script makes in this case three messages to outgoing folder with details of recipient and message body. "To: +3581256778 Server diupadaa is down" Hard to explain but hopefully you got some idea of it. Yes we have 64bit system and it works like charm.
diupadaa: Operating system name and version: Ubuntu 10.04LTS Version of smsd: 3.1.8 Smsd installed from: Name and model of a modem / phone: Interface: Hi, i've installed sms server tools and configured it so that i use email2sms script/procmail/postfix combination to send emails from surveillance machine to my phone as a sms message. That works fine but is it possible to create group etc. that i could send that message to multiple phones? Or what kind of script it should be?

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.