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 05:24
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
programus: I noticed there is an error while send AT+CBPS="MC" and when I send a AT+CBPS=?, there is no "MC" in the response. So I suppose this is because the modem does not support querying the missing calls. I am not sure whether this is the reason.
programus: Operating system name and version: Raspbian GNU/Linux 10 (buster) Version of smsd: smstools 3.1.21-3 Smsd installed from: package repository (apt) Name and model of a modem / phone: HUAWEI MS2131i-8 Interface: USB I am trying to forward SMS to specified mail address as well as the phone calls. Now my settings and eventhandler work good for SMS but not work for phone calls. This is my config: devices = MS2131 outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked incoming = /var/spool/sms/incoming logfile = /var/log/smstools/smsd.log infofile = /var/run/smstools/smsd.working pidfile = /var/run/smstools/smsd.pid outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent stats = /var/log/smstools/smsd_stats receive_before_send = no # autosplit 0=no 1=yes 2=with text numbers 3=concatenated autosplit = 3 incoming_utf8 = yes eventhandler = /home/pi/sms-redirect/redirect-sms-call.sh [MS2131] device = /dev/ttyUSB0 incoming = yes phonecalls = yes baudrate = 19200 #report_device_details = yes memory_start = 0 And this is my eventhandler #!/usr/bin/env bash MAIL_SENDER=programus@zoho.com MAIL_RECEIVERS=( mail1@xxx.com mail2@xxx.com ) MAIL_CMD=/usr/sbin/ssmtp case $1 in RECEIVED|CALL) # compose mail prefix=$1 if [[ "$prefix" == "RECEIVED" ]] then prefix="SMS" fi sms_filename=$2 ln="$(sed -n '/^$/=' ${sms_filename})" sms_header="$(head -${ln} ${sms_filename})" if echo "${sms_header}" | grep "^Alphabet: UCS2" > /dev/null then # if this is Chinese unicode sms_body="$(tail +$(( ln + 1 )) ${sms_filename}|iconv -f utf16be)" else sms_body=$(tail +$(( ln + 1 )) ${sms_filename}) fi sms_subject="${prefix} $(echo "$sms_header" | grep 'From:')" mail_body="${sms_body} -- ${sms_header}" mail_subject="${sms_subject}" ;; esac for mail_to in ${MAIL_RECEIVERS[@]} do mail_message="To: ${mail_to} From: ${MAIL_SENDER} Subject: ${mail_subject} ${mail_body}" echo "${mail_message}" | ${MAIL_CMD} ${mail_to} done What is possible reason of this problem? Or how can I get more information about this problem? I checked the log, and didn't find anything helpful.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.