|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Mon Sep 01, 2025 21:38 |
Page: 1
Keywords: Mode: All keywords (AND) |
Mon May 25, 2009 11:58
|
luke: lol :D u are my hero ^^ the smsc number is not the sim-card number
my fault ^^ it works
GREAT support, THANK YOU VERY MUCH
|
Mon May 25, 2009 11:55
|
luke: well this smsc number:
( PRIVATE BLOCK )
is the number of the smsd-mobilephone is that the wrong config? :roll:
|
Mon May 25, 2009 11:34
|
luke: and it would be great if you may look at this PUD send with the tool from A1 to MAX.Mobile
( PRIVATE BLOCK )
|
Mon May 25, 2009 11:16
|
luke: should this be the number of the smsd mobile?:
( PRIVATE BLOCK )
if yes you found the problem ^^ cause this should be the right number:
( PRIVATE BLOCK )
where does the program gets this MAX.MOBILE-number from?
|
Mon May 25, 2009 11:07
|
luke: the message was sent from a mobile (MAX.MOBIL or T-Mobile, both the same) to smsd (A1) connected to the server
|
Mon May 25, 2009 10:32
|
luke: send:
( PRIVATE BLOCK )
|
Mon May 25, 2009 09:48
|
luke: message was not delivered.
Last time with 6310i and Minicom, message was not delivered, even when there was an OK answer.
right
You can receive messages using 6310i?
yes ;)
Can you setup this device and then using your handset, send some message to smsd and show the PDU here using Private tags. back to the 6310i?????
|
Mon May 25, 2009 09:10
|
luke: Minicom:
OK
ATE1ATE1
OK
AT+CMGF=1
OK
AT+CMGS="+43676xxxx"
> hallo
>
OK
Are you sure that the SIM is not broken?
pretty sure
Have you tried to send SMS using ordinary phone and with success?
yes ;)
|
Mon May 25, 2009 08:40
|
luke: hope you had a nice weekend ;) back to some nice problems :D
tested it with nokia 6280:
new problem:
2009-05-25 10:33:00,6, 6310i: Checking memory size
2009-05-25 10:33:00,7, 6310i: -> AT+CPMS?
2009-05-25 10:33:00,7, 6310i: Command is sent, waiting for the answer
2009-05-25 10:33:01,7, 6310i: <- +CPMS: ,,,,,,,, OK
2009-05-25 10:33:01,6, 6310i: Reading of messages is not supported?
2009-05-25 10:33:01,6, 6310i: Command failed.
2009-05-25 10:33:01,6, 6310i: No SMS received (reading interrupted)
and if i try sending, old problem :( :
2009-05-25 10:33:19,7, 6310i: -> AT+CMGS=19
2009-05-25 10:33:19,7, 6310i: Command is sent, waiting for the answer
2009-05-25 10:33:19,7, 6310i: <- >
2009-05-25 10:33:19,7, 6310i: -> PUD▒
2009-05-25 10:33:19,7, 6310i: Command is sent, waiting for the answer
2009-05-25 10:33:21,7, 6310i: <- +CMS ERROR: 500 (Unknown error)
2009-05-25 10:33:21,3, 6310i: The modem said ERROR or did not answer.
2009-05-25 10:33:21,5, 6310i: Waiting 10 sec. before retrying
phone is now connected with usb
|
Fri May 22, 2009 13:27
|
luke: thx keke i will look at this post... and for today it's enough for me... may i bother you again at monday ;) ?
|
Fri May 22, 2009 11:59
|
luke: handshake was off because of the old config (other tool) i tried it with yes and no (no difference)
i also tried with national format (no difference)
now i will try it with a nokia 6280
maybe that will help
|
Fri May 22, 2009 10:55
|
luke: hmmmm the answer is: maybe ;)
OK
ATE1
OK
AT+CMGF=1
OK
AT+CMGS="+43676xxxxxxx"
> hello world�
OK
i have to end it with 2 ctrl-Z's
and there is no +CMGS:
and the message is not delivered
|
Fri May 22, 2009 10:35
|
luke: with mode=old:
2009-05-22 12:28:14,7, 6310i: -> PUD▒
2009-05-22 12:28:14,7, 6310i: Command is sent, waiting for the answer
2009-05-22 12:28:15,7, 6310i: <- ERROR
2009-05-22 12:28:15,3, 6310i: The modem said ERROR or did not answer.
with mode=new:
2009-05-22 12:31:33,7, 6310i: -> PUD▒
2009-05-22 12:31:33,7, 6310i: Command is sent, waiting for the answer
2009-05-22 12:31:38,7, 6310i: <- +CMS ERROR: 500 (Unknown error)
2009-05-22 12:31:38,3, 6310i: The modem said ERROR or did not answer.
|
Fri May 22, 2009 10:14
|
luke: well... installed 3.1.5 beta9....
same problem :(
that means the problem is in the config or the mobile phone...
am i right?
|
Fri May 22, 2009 09:41
|
luke: hmmmm well i tried if the PUD gives me a OK back ;)
so i not realy tried to send it... but i will upgrade to the 3.1.5 beta.
|
Fri May 22, 2009 09:16
|
luke: and heres the command i'm using trying to send sms:
root@xxxxxx:~# /usr/local/bin/sendsms
Destination: 43676xxxxxxx
Text: Test
maybe just my command is broken ;)
i copied the sendsms script from the examples/script folder to /usr/local/bin/
do i have to edit it?
sendsms:
#!/bin/sh
# This script send a text sms at the command line by creating
# a sms file in the outgoing queue.
# I use it for testing.
# $1 is the destination phone number
# $2 is the message text
# if you leave $2 or both empty, the script will ask you
DEST=$1
TEXT=$2
if [ -z "$DEST" ]; then
printf "Destination: "
read DEST
fi
if [ -z "$TEXT" ]; then
printf "Text: "
read TEXT
fi
FILE=`mktemp /var/spool/sms/outgoing/send_XXXXXX`
echo "To: $DEST" >> $FILE
echo "" >> $FILE
echo -n "$TEXT" >> $FILE
with my pretty bad knowledge of shell-scripts (i hope it is a shell-script :mrgreen: ) i would say no ;)
|
Fri May 22, 2009 09:07
|
luke: Version 3.0.10, Copyright (c) Keijo Kasvi, smstools3@kekekasvi.com, http://smstools3.kekekasvi.com
Based on SMS Server Tools 2 from Stefan Frings, smstools@meinemullemaus.de, http://www.meinemullemaus.de
|
Fri May 22, 2009 08:56
|
luke: after restart i found another error:
2009-05-22 10:51:05,6, 6310i: Querying IMSI
2009-05-22 10:51:05,7, 6310i: -> AT+CIMI
2009-05-22 10:51:05,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:51:05,7, 6310i: <- ERROR
well i think i first have to fix this problem ;)
|
Fri May 22, 2009 08:46
|
luke: after the PDU there is always a
^Z
is this the ctrl+Z or is this a command from the mobil phone? or is this maybe the problem?
|
Fri May 22, 2009 08:38
|
luke: thanks for the fast answear
i tried it with 43676... but same problem :(
2009-05-22 10:32:55,6, smsd: Moved file /var/spool/sms/outgoing/send_A28916 to /var/spool/sms/checked
2009-05-22 10:33:03,6, 6310i: I have to send 1 short message for /var/spool/sms/checked/send_A28916
2009-05-22 10:33:03,6, 6310i: Sending SMS from to 43676xxxxxxx
2009-05-22 10:33:03,6, 6310i: Checking if modem is ready
2009-05-22 10:33:03,7, 6310i: -> AT
2009-05-22 10:33:03,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:04,7, 6310i: <- OK
2009-05-22 10:33:04,6, 6310i: Pre-initializing modem
2009-05-22 10:33:04,7, 6310i: -> ATE0+CMEE=1
2009-05-22 10:33:04,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:04,7, 6310i: <- OK
2009-05-22 10:33:04,6, 6310i: Checking if Modem is registered to the network
2009-05-22 10:33:04,7, 6310i: -> AT+CREG?
2009-05-22 10:33:04,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:04,7, 6310i: <- +CREG: 0,1
OK
2009-05-22 10:33:04,6, 6310i: Modem is registered to the network
2009-05-22 10:33:04,6, 6310i: Selecting PDU mode
2009-05-22 10:33:04,7, 6310i: -> AT+CMGF=0
2009-05-22 10:33:04,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:05,7, 6310i: <- OK
2009-05-22 10:33:05,6, 6310i: Changing SMSC
2009-05-22 10:33:05,7, 6310i: -> AT+CSCA="+43664xxxxxxx"
2009-05-22 10:33:05,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:05,7, 6310i: <- OK
2009-05-22 10:33:05,7, 6310i: -> AT+CMGS=19
2009-05-22 10:33:05,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:05,7, 6310i: <- >
2009-05-22 10:33:05,7, 6310i: -> (PDU)▒
2009-05-22 10:33:05,7, 6310i: Command is sent, waiting for the answer
2009-05-22 10:33:11,7, 6310i: <- +CMS ERROR: 500
2009-05-22 10:33:11,3, 6310i: The modem said ERROR or did not answer.
any other suggestions ?
thanks luke
|
Fri May 22, 2009 08:19
|
luke: oh i forgot: using a nokia 6310i (plugged in with serial) and Ubuntu 8.04
|
Fri May 22, 2009 08:12
|
luke: Hi there
First of all sorry for my bad english ;)
i got the following problem:
Receiving messages is no problem, only sending is the problem.
i always get +CMS ERROR: 500.
i checked the commands with minicom and they where all OK
the log file looks like this:
2009-05-22 09:55:20,6, smsd: Moved file /var/spool/sms/outgoing/send_l28785 to /var/spool/sms/checked
2009-05-22 09:55:27,6, 6310i: I have to send 1 short message for /var/spool/sms/checked/send_l28785
2009-05-22 09:55:27,6, 6310i: Sending SMS from to 0676xxxxxxx
2009-05-22 09:55:27,6, 6310i: Checking if modem is ready
2009-05-22 09:55:27,7, 6310i: -> AT
2009-05-22 09:55:27,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:28,7, 6310i: <- OK
2009-05-22 09:55:28,6, 6310i: Pre-initializing modem
2009-05-22 09:55:28,7, 6310i: -> ATE0+CMEE=1
2009-05-22 09:55:28,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:28,7, 6310i: <- OK
2009-05-22 09:55:28,6, 6310i: Checking if Modem is registered to the network
2009-05-22 09:55:28,7, 6310i: -> AT+CREG?
2009-05-22 09:55:28,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:28,7, 6310i: <- +CREG: 0,1
OK
2009-05-22 09:55:28,6, 6310i: Modem is registered to the network
2009-05-22 09:55:28,6, 6310i: Selecting PDU mode
2009-05-22 09:55:28,7, 6310i: -> AT+CMGF=0
2009-05-22 09:55:28,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:29,7, 6310i: <- OK
2009-05-22 09:55:29,6, 6310i: Changing SMSC
2009-05-22 09:55:29,7, 6310i: -> AT+CSCA="+43664xxxxxxx"
2009-05-22 09:55:29,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:29,7, 6310i: <- OK
2009-05-22 09:55:29,7, 6310i: -> AT+CMGS=19
2009-05-22 09:55:29,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:29,7, 6310i: <- >
2009-05-22 09:55:29,7, 6310i: -> ( PDU REMOVED )
2009-05-22 09:55:29,7, 6310i: Command is sent, waiting for the answer
2009-05-22 09:55:35,7, 6310i: <- +CMS ERROR: 500
2009-05-22 09:55:35,3, 6310i: The modem said ERROR or did not answer.
2009-05-22 09:55:35,5, 6310i: Waiting 10 sec. before retrying
my config file:
# AUTOMATICALLY CREATED CONFIGURATION FILE -- DO NOT EDIT BY HAND!
#
# Description: Main configuration file for the smsd
# Last changed: Mit Mai 20 11:34:46 CEST 2009
# Please note that this is _not_ a dpkg-conffile. It has been created because
# you have choosen to manage smsd configuration with debconf. This file is not meant
# to be and should not be editted directly.
# Instead
# Run: dpkg-reconfigure <-plow> smstools
#
# If you want to manage your configuration file by hand at a later time
# you may run the above command, too and say that you don't want to manage
# smsd configuration with debconf.
# Global configuration
devices = 6310i
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
# You can specify here an external program that is started whenever an alarm occurs.
# alarmhandler = /path/to/an/alarmhandler/script
# Specifies what levels start an alarmhandler. You can use value between 2 and 5.
# alarmlevel = 4
#eventhandler = /usr/local/bin/sendsms
#blacklist = /etc/smstools/blacklist
#whitelist = /etc/smstools/whitelist
#autosplit = 3
loglevel = 7
# Modem configuration
[6310i]
device = /dev/ttyS0
incoming = yes
mode = new
smsc = 43664xxxxxxx
rtscts = no
cs_convert = yes
#pin =
baudrate = 19200
it's the first time for me configuring this so i'm pretty nooby :oops:
hope the config looks fine ;)
if anybody may help me this would be great
regards luke
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|