SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Wed Apr 24, 2024 11:46
SMSTools3 Community » Sample scripts / setups Bottom

SMS-forwarding with originating number

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jan 2010
Location: Schoerfling, Austria
Hello all,
thx for your work! As I recently installed smstools3 to get a private SMS-forwarding tool, I had to do some configuration:
Here is my experience: I use a Siemens ME45 and it needs "ME" in the
init = AT+CPMS="ME"
(not "SE" as is mentioned in the comapatibility list)
On the other hand, I am interested who originally sent me the arriving message:
I changed the script "forwardsms" as follows:
------------------------------------------------------
#!/bin/sh

# SMS forwarding sample (eventhandler).
FORWARD_TO="436xxxxxxxxx"

if [ "$1" = "RECEIVED" ]; then
TEXT=`formail -I "" <$2`
VON=`formail -zx From: < $2`
FILE=`mktemp /tmp/send_XXXXXX`
echo "To: $FORWARD_TO" >> $FILE
echo "" >> $FILE
echo "$VON" >> $FILE
echo "" >> $FILE
echo "$TEXT" >> $FILE
FILE2=`mktemp /var/spool/sms/outgoing/send_XXXXXX`
mv $FILE $FILE2
fi
--------------------------------------------------

Maybe this is helpful for some of you!

kind regards
leopold

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
lion62 wrote
I use a Siemens ME45 and it needs "ME" in the
init = AT+CPMS="ME"
(not "SE" as is mentioned in the comapatibility list)

Thank's for the information. There was M45 and some other models and I have now inserted ME45 into the list with your definition. This list however is very old and not actively updated.

  This topic is locked

Page:  1

SMSTools3 Community » Sample scripts / setups Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.