Hi users
Anyone can help me to setup my siemens CX65. I ve tried about 2 weeks. please
help me. I'm getting error when trying to send SMS. please check this figure.
my spesification :
1. Mandriva 2007
2. Kannel 1.4.1
3. siemens CX65
siemens CX65 configuration:
# CORE
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/tmp/kannel.log"
access-log = "/tmp/access.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = Cell
modemtype = siemens
device = /dev/ttyUSB0
sms-center = +6281100000
speed = 0
# SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "/tmp/access.log"
# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
user-allow-ip = "127.0.0.1"
# SERVICES
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
max-messages = 3
group = sms-service
keyword = default
text = "No service specified"
max-messages = 3
# MODEMS
group = modems
id = siemens
name = cx65"
detect-string = "SIEMENS"
detect-string2 = "CX 65"
init-string = "AT+CNMI=1,1,2,2,1;+CMGF=0;+CMMS=1;"
#init-string = "AT+CNMI=1,1,2,2,1;+CMEE=1;+CMGF=0;+CMMS=1"
#init-string = "AT+CNMI=1,1,2,2,1;+CMEE=1;"
keepalive-cmd = "AT+CBC;+CSQ"
speed = 0
enable-hwhs = "AT\\Q3"
need-sleep = true
message-storage = "MT"
figure of "bearerbox -v 1 smskannel.conf" :
2007-08-19 04:25:50 [10883] [0] INFO: Kannel bearerbox II version 1.4.1
starting
2007-08-19 04:25:50 [10883] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to
pid 10883.
2007-08-19 04:25:50 [10883] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 10883.
2007-08-19 04:25:50 [10883] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 10883.
2007-08-19 04:25:50 [10883] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
maps to pid 10883.
2007-08-19 04:25:50 [10883] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps
to pid 10883.
2007-08-19 04:25:50 [10883] [0] INFO: MAIN: Start-up done, entering mainloop
2007-08-19 04:25:50 [10883] [0] DEBUG: AT2[Cell]: start called
2007-08-19 04:25:50 [10883] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 10883.
2007-08-19 04:25:50 [10883] [6] DEBUG: AT2[Cell]: detecting modem speed.
2007-08-19 04:25:50 [10883] [6] INFO: AT2[Cell]: opening device
2007-08-19 04:25:50 [10883] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
maps to pid 10883.
2007-08-19 04:25:50 [10883] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2007-08-19 04:25:50 [10883] [7] DEBUG: sms_router: gwlist_len = 0
2007-08-19 04:25:50 [10883] [6] DEBUG: AT2[Cell]: device opened
2007-08-19 04:25:51 [10883] [6] DEBUG: AT2[Cell]: device opened
2007-08-19 04:25:51 [10883] [6] INFO: AT2[Cell]: speed set to 115200
2007-08-19 04:25:51 [10883] [6] DEBUG: AT2[Cell]: --> ^M
2007-08-19 04:25:53 [10883] [6] DEBUG: AT2[Cell]: --> AT^M
2007-08-19 04:25:53 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:53 [10883] [6] INFO: AT2[Cell]: closing device
2007-08-19 04:25:53 [10883] [6] INFO: AT2[Cell]: detect speed is 115200
2007-08-19 04:25:53 [10883] [6] INFO: AT2[Cell]: opening device
2007-08-19 04:25:53 [10883] [6] DEBUG: AT2[Cell]: device opened
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: device opened
2007-08-19 04:25:54 [10883] [6] INFO: AT2[Cell]: init device
2007-08-19 04:25:54 [10883] [6] INFO: AT2[Cell]: speed set to 115200
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> ATZ^M
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> AT^M
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- AT
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> AT&F^M
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- AT&F
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> ATE0^M
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- ATE0
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> AT\Q3^M
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> AT+CPIN?^M
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- +CPIN: READY
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:54 [10883] [6] DEBUG: AT2[Cell]: --> AT+CSCA="+6281100000"^M
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: --> AT+CMGF=0^M
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: --> AT+CSMS=?^M
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- +CSMS: (0,1)
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:55 [10883] [6] INFO: AT2[Cell]: Phase 2+ is supported
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: --> AT+CSMS=1^M
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- +CSMS: 1,1,1
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: -->
AT+CNMI=1,1,2,2,1;+CMGF=0;+CMMS=1;^M
2007-08-19 04:25:55 [10883] [6] DEBUG: AT2[Cell]: <-- OK
2007-08-19 04:25:55 [10883] [6] INFO: AT2[Cell]: AT SMSC successfully opened.
figure when trying to send SMS on bearerbox shows:
2007-08-19 04:25:58 [10883] [5] INFO: Client connected from <127.0.0.1>
2007-08-19 04:25:58 [10883] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2007-08-19 04:25:58 [10883] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to
pid 10883.
2007-08-19 04:25:58 [10883] [8] DEBUG: Started thread 9
(gw/bb_boxc.c:boxc_sender)
2007-08-19 04:25:58 [10883] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps
to pid 10883.
2007-08-19 04:26:03 [10883] [8] DEBUG: boxc_receiver: sms received
2007-08-19 04:26:03 [10883] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2007-08-19 04:26:05 [10883] [6] DEBUG: AT2[Cell]: TP-Validity-Period: 24.0 hours
2007-08-19 04:26:05 [10883] [6] DEBUG: AT2[Cell]: --> AT+CMGS=21^M
2007-08-19 04:26:05 [10883] [6] DEBUG: AT2[Cell]: <-- >
2007-08-19 04:26:05 [10883] [6] DEBUG: AT2[Cell]: send command status: 1
2007-08-19 04:26:05 [10883] [6] DEBUG: AT2[Cell]: -->
0011000C812663816522120000A707F4F29C9E769F01
2007-08-19 04:26:05 [10883] [6] DEBUG: AT2[Cell]: --> ^Z
2007-08-19 04:26:11 [10883] [6] DEBUG: AT2[Cell]: <-- >
2007-08-19 04:26:11 [10883] [6] DEBUG: AT2[Cell]: <-- +CMS ERROR: 21
2007-08-19 04:26:11 [10883] [6] ERROR: AT2[Cell]: CMS ERROR: +CMS ERROR: 21
2007-08-19 04:26:11 [10883] [6] ERROR: AT2[Cell]: CMS ERROR: Short message
transfer rejected (21)
anyone can solve this matter???
I ve try any configuration of init-string for siemens CX65, but still got
nothing
thanks,
erik
+628124684635
---------------------------------
Shape Yahoo! in your own image. Join our Network Research Panel today!