|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Sat Aug 23, 2025 05:55 |
Page: 1
Keywords: Mode: All keywords (AND) |
Fri Aug 10, 2012 07:08
|
jens: Operating system name and version: OpenSuse 11.4
Version of smsd: 3.1.3
Smsd installed from: rpm package: smstools-3.1.3-4.1.i586.rpm
Name and model of a modem / phone: Cinterion CT63
Interface: USB
Dear All,
Please let me describe my problem:
I'm running a SMS Gateway server using SMSTools3 on SuseStudio 11.4 as a Virtualbox VM.
When i boot the Virtual Maschine the init script /etc/init.d/smstools doesn't initialize the modem on /dev/ttyACM0 which is automatically connected by the VM configuration.
I found that if i manually start the /etc/init.d/smstools all works well.
On system startup/reboot the automatic /etc/init.d/smstools doesn't work ???
cd /etc/init.d
ls -la smstool*
-rwxr-xr-x 1 root root 3785 Aug 9 13:13 smstools
chkconfig smstools --list
smstools 0 off 1 off 2 off 3 on 4 off 5 on 6 off
smstools init script
#! /bin/bash
# chkconfig: 3 5
# description: SMS Tools Daemon
# This script can be used to start/stop smsd
# as a daemon in Linux and Solaris.
case "$1" in
start)
find /var/spool/sms -name '*.LOCK' -exec rm {} \;
/usr/sbin/smsd &
;;
stop)
pkill smsd
;;
restart|reload)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
/var/log/smsd <<--- automatically start at system startup
2012-08-10 06:39:10,2, smsd: Smsd v3.1.3 started.
2012-08-10 06:39:10,2, smsd: Running as root:root.
2012-08-10 06:39:10,6, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-08-10 06:39:10,6, smsd: Outgoing file checker has started. PID: 905.
2012-08-10 06:39:10,6, GSM1: Modem handler 0 has started. PID: 906. Will only send messages.
2012-08-10 06:39:10,6, GSM1: Checking if modem is ready
2012-08-10 06:39:10,7, GSM1: -> AT
2012-08-10 06:39:10,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:39:15,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred.
2012-08-10 08:39:15,7, GSM1: <-
2012-08-10 08:39:15,7, GSM1: -> ^Z
2012-08-10 08:39:15,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:39:20,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred.
2012-08-10 08:39:20,7, GSM1: <-
2012-08-10 08:39:20,7, GSM1: -> AT
2012-08-10 08:39:20,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:39:25,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred.
2012-08-10 08:39:55,2, GSM1: Failed to initialize modem GSM1. Stopping.
/var/log/smsd <<--- manually start of /etc/init.d/smstools by root user
2012-08-10 08:40:26,2, smsd: Smsd v3.1.3 started.
2012-08-10 08:40:26,2, smsd: Running as root:root.
2012-08-10 08:40:26,6, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-08-10 08:40:26,6, smsd: Outgoing file checker has started. PID: 2333.
2012-08-10 08:40:26,6, GSM1: Modem handler 0 has started. PID: 2334. Will only send messages.
2012-08-10 08:40:26,6, GSM1: Checking if modem is ready
2012-08-10 08:40:26,7, GSM1: -> AT
2012-08-10 08:40:26,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:40:26,7, GSM1: <- OK OK OK OK OK OK
2012-08-10 08:40:26,6, GSM1: Pre-initializing modem
2012-08-10 08:40:26,7, GSM1: -> ATE0+CMEE=1
2012-08-10 08:40:26,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:40:27,7, GSM1: <- OK
2012-08-10 08:40:27,6, GSM1: Checking if modem needs PIN
2012-08-10 08:40:27,7, GSM1: -> AT+CPIN?
2012-08-10 08:40:27,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:40:27,7, GSM1: <- +CPIN: READY OK
2012-08-10 08:40:27,6, GSM1: Initializing modem
2012-08-10 08:40:27,7, GSM1: -> AT+CMEE=2
2012-08-10 08:40:27,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:40:27,7, GSM1: <- OK
2012-08-10 08:40:27,6, GSM1: Selecting PDU mode
2012-08-10 08:40:27,7, GSM1: -> AT+CMGF=0
2012-08-10 08:40:27,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:40:28,7, GSM1: <- OK
2012-08-10 08:40:28,7, GSM1: -> AT+CIMI
2012-08-10 08:40:28,7, GSM1: Command is sent, waiting for the answer
2012-08-10 08:40:28,7, GSM1: <- 232011120143251 OK
2012-08-10 08:40:28,6, GSM1: IMSI: 232011120143251
2012-08-10 08:40:28,6, GSM1: Waiting for messages to send...
Please help!
Jens
|
Thu Aug 09, 2012 08:46
|
jens: Hello Edo,
I already solved the problem, it was because i diddn't use "plain text" mail.
Like you already told, html only will not work.
Jens
|
Tue Aug 07, 2012 12:45
|
jens: Problem solved:
My mail client was sending mails using "html" format.
Changed this to "plain text" now it's working.
Many thx!
Jens
|
Mon Aug 06, 2012 11:13
|
jens: Dear All,
I always get following error message:
Aug 6 10:48:57 pandora postfix/smtpd[21239]: connect from ws122.local[10.12.16.122]
Aug 6 10:48:57 pandora postfix/smtpd[21239]: C48051356B8: client=ws122.local[10.12.16.122]
Aug 6 10:48:57 pandora postfix/cleanup[21242]: C48051356B8: message-id=<>
Aug 6 10:48:57 pandora postfix/qmgr[21210]: C48051356B8: from=<sms@pandora.local>, size=673, nrcpt=1 (queue active)
Aug 6 10:48:57 pandora postfix/smtpd[21239]: disconnect from ws122.local[10.12.16.122]
Aug 6 10:48:58 pandora postfix/pipe[21244]: C48051356B8: to=<+43xxxxxxxxxxxx@pandora.local>, orig_to=<sms@pandora.local>, relay=smstools, delay=0.27, delays=0.11/0/0/0.15, dsn=5.3.0, status=bounced (Command died with status 255: "/usr/local/bin/email2sms-ucs.pl". Command output: Can't call method "as_string" on an undefined value at /usr/local/bin/email2sms-ucs.pl line 103, <STDIN> line 20. )
Aug 6 10:48:58 pandora postfix/cleanup[21242]: 107D81356C7: message-id=<20120806084858.107D81356C7@pandora.local>
Aug 6 10:48:58 pandora postfix/qmgr[21210]: 107D81356C7: from=<>, size=2898, nrcpt=1 (queue active)
Aug 6 10:48:58 pandora postfix/bounce[21246]: C48051356B8: sender non-delivery notification: 107D81356C7
Aug 6 10:48:58 pandora postfix/qmgr[21210]: C48051356B8: removed
Aug 6 10:48:58 pandora postfix/pipe[21244]: 107D81356C7: to=<+43xxxxxxxxxxxx@pandora.local>, orig_to=<sms@pandora.local>, relay=smstools, delay=0.11, delays=0.03/0/0/0.08, dsn=2.0.0, status=sent (delivered via smstools service)
Aug 6 10:48:58 pandora postfix/qmgr[21210]: 107D81356C7: removed
The mail is being moved to /var/spool/sms/checked
Content of the SMS file looks very strange.
To: 43xxxxxxxxxxxx
This is the mail system at host pandora.local
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<+43xxxxxxxxxxxx@pandora.local> (expanded from <sms@pandora.local>):
Command died with status 255: "/usr/local/bin/email2sms-ucs.pl". Command
output: Can't call method "as_string" on an undefined value at
/usr/local/bin/email2sms-ucs.pl line 103, <STDIN> line 20.
I'm using Postfix like described above.
Am i missing some perl module here?
Kind regards
Jens
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|