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
I use a Siemens ME45 and it needs "ME" in the
init = AT+CPMS="ME"
(not "SE" as is mentioned in the comapatibility list)