Hi everybody,

i have serious trouble sending SMS with a Siemens TC-35. I can open the modem, it seems that it gets the SMS but there is no sign of it on my cellphone. What does the line "send command status:" means? And what means "1", "0" and "-1"? Could anyone explain these status to me please? Anyone using this type of modem and is able to send SMS? I include my config and the output of my smsbox, hope that anybody can help me with this.

With best regards,

Jason Brian Friedrich

---- kannel.conf ----

group = core
admin-port = 13000
admin-password = SECRET
admin-allow-ip = "192.168.*.*"
admin-deny-ip = "*.*.*.*"
wapbox-port = 13002
smsbox-port = 13003
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-allow-ip = "127.0.0.1"
box-deny-ip = "*.*.*.*"

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"

group = smsc
connect-allow-ip = "192.168.*.*"
smsc = at2
modemtype = auto
speed = 9600
device = /dev/ttyS0
pin = 1234

group = modems
id = auto
name = SiemensTC35
detect-string = "SIEMENS"
detect-string2 = "TC35"
##init-string = "ATE0+CNMI=2,0,0,2,1"
init-string = "ATE0+CNMI=1,2,0,0,1"
enable-hwhs = "AT\\Q3"
need-sleep = true
speed = 9600

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789 "
global-sender = "user"
log-file = "/var/log/kannel/smsbox.log"
log-level = 3

group = sendsms-user
username = senduser
password = SECRET
user-deny-ip = "*.*.*.*"
user-allow-ip = "1925.168.*.*"
max-messages = 3
concatenation = true

---- SMSBox Output ----

2004-08-16 12:18:32 [5] DEBUG: AT2[/dev/ttyS0]: found string <SIEMENS> plus <TC35>, using modem definition <SiemensTC35>
2004-08-16 12:18:32 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M
2004-08-16 12:18:32 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1)
2004-08-16 12:18:32 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:32 [5] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported
2004-08-16 12:18:32 [5] INFO: AT2[/dev/ttyS0]: closing device
2004-08-16 12:18:32 [5] INFO: AT2[/dev/ttyS0]: opening device
2004-08-16 12:18:32 [5] DEBUG: AT2[/dev/ttyS0]: device opened
2004-08-16 12:18:33 [5] DEBUG: AT2[/dev/ttyS0]: device opened
2004-08-16 12:18:33 [5] INFO: AT2[/dev/ttyS0]: init device
2004-08-16 12:18:33 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600
2004-08-16 12:18:33 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2004-08-16 12:18:33 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:33 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- ATE0
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: --> AT\Q3^M
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1)
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:34 [5] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported
2004-08-16 12:18:34 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M
2004-08-16 12:18:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1
2004-08-16 12:18:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:35 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0+CNMI=1,2,0,0,1^M
2004-08-16 12:18:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:18:35 [5] INFO: AT2[/dev/ttyS0]: AT SMSC successfully opened.
2004-08-16 12:18:51 [4] DEBUG: Started thread 14 (gw/bb_boxc.c:function)
2004-08-16 12:18:51 [14] INFO: Client connected from <127.0.0.1>
2004-08-16 12:18:51 [14] DEBUG: Started thread 15 (gw/bb_boxc.c:boxc_sender)
2004-08-16 12:18:58 [14] DEBUG: boxc_receiver: sms received
2004-08-16 12:18:59 [5] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
2004-08-16 12:18:59 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=26^M
2004-08-16 12:18:59 [5] DEBUG: AT2[/dev/ttyS0]: <-- >
2004-08-16 12:18:59 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2004-08-16 12:18:59 [5] DEBUG: AT2[/dev/ttyS0]: --> 0011000B811027639133F50000A70DD4F29CEE0E8FD1F2F4184D07
2004-08-16 12:18:59 [5] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=26^M
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: <-- >
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: --> 0011000B811027639133F50000A70DD4F29CEE0E8FD1F2F4184D07
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-08-16 12:19:20 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 0




Reply via email to