Hello to all,

I try to use a T68i as SMSC, and have the problem, that incoming messages 
are received, but my default service do not handle them, but all SMS are
stored in the store-file.
When I add the FakeSMSC, my configured service handles them. 
Sending of SMS seems to work (as least I can send WapPush messages).

Any help?

Regards,

Peter

---------------------------------------

I use following configuration:
Kannel 1.2.0 on Windows 2000 using cygwin

conffile:


# BEARERBOX CONFIGURATION
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
wdp-interface-name = "*"
log-file = "bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"
store-file = "kannel.store"



# SMSC CONNECTIONS

group = smsc
smsc = at2
modemtype = ericsson_t68
device = /dev/ttyS2
speed=19200
pin = 0101
validityperiod = 255
keepalive = 10
sim-buffering = true


# Mobile Phone CONFIGURATION
group = modems
id = ericsson_t68
name = "Ericsson T68"
detect-string = "T68"
init-string = "ATQ0E1V1"
keepalive-cmd = "AT+CBC;+CSQ"
broken = true
message-storage= "ME"
no-smsc = true
# if you want direct message indication instead of sim buffering
# init-string = "AT+CNMI=3,3"

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
log-file = "smsbox.log"
log-level = 0
#access-log = "access.log"


# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""


group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = 127.0.0.1


# SERVICES

group = sms-service
keyword = default
catch-all = true
post-url=http://localhost:40000
send-sender = true
omit-empty = true



# WAPBOX CONFIGURATION
group = wapbox
bearerbox-host = localhost
log-file = "wapbox.log"
log-level = 1
syslog-level = none

# PPG CONFIGURATION

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 9001
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = true
users = 1024


# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = picom
ppg-username = foo
ppg-password = bar
allowed-prefix = 40;60;70
denied-prefix = 50


The bearerbox log looks like following:

2002-11-05 17:57:50 [0] INFO: Kannel bearerbox II version 1.2.0 starting
2002-11-05 17:57:50 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-11-05 17:57:50 [0] DEBUG: HTTP: Opening server at port 13000.
2002-11-05 17:57:50 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-11-05 17:57:50 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2002-11-05 17:57:50 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2002-11-05 17:57:50 [0] DEBUG: starting smsbox connection module
2002-11-05 17:57:50 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2002-11-05 17:57:50 [0] INFO: AT2[/dev/ttyS2]: configuration shows modemtype
<ericsson_t68>
2002-11-05 17:57:50 [0] DEBUG: AT2[/dev/ttyS2]: Reading modem definitions
from <mykannel.conf>
2002-11-05 17:57:50 [0] DEBUG: AT2[/dev/ttyS2]: Found <1> modems in config
2002-11-05 17:57:50 [0] INFO: AT2[/dev/ttyS2]: read modem definition for
<Ericsson T68>
2002-11-05 17:57:50 [0] DEBUG: Started thread 6
(gw/smsc_at2.c:at2_device_thread)
2002-11-05 17:57:50 [6] INFO: AT2[/dev/ttyS2]: opening device
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: device opened
2002-11-05 17:57:51 [0] DEBUG: Started thread 7
(gw/smsc_fake.c:fake_listener)
2002-11-05 17:57:51 [0] DEBUG: Started thread 8
(gw/bb_smscconn.c:sms_router)
2002-11-05 17:57:51 [8] DEBUG: sms_router: time to sleep
2002-11-05 17:57:51 [0] DEBUG: starting UDP sender/receiver module
2002-11-05 17:57:51 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200>
2002-11-05 17:57:51 [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_receiver)
2002-11-05 17:57:51 [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_sender)
2002-11-05 17:57:51 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201>
2002-11-05 17:57:51 [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_receiver)
2002-11-05 17:57:51 [0] DEBUG: Started thread 12 (gw/bb_udp.c:udp_sender)
2002-11-05 17:57:51 [0] DEBUG: starting wapbox connection module
2002-11-05 17:57:51 [0] DEBUG: Started thread 13
(gw/bb_boxc.c:wdp_to_wapboxes)
2002-11-05 17:57:51 [0] DEBUG: Started thread 14 (gw/bb_boxc.c:wapboxc_run)
2002-11-05 17:57:51 [0] DEBUG: starting WDP router
2002-11-05 17:57:51 [0] DEBUG: Started thread 15 (gw/bearerbox.c:wdp_router)
2002-11-05 17:57:51 [0] INFO: Loading store file kannel.store
2002-11-05 17:57:51 [0] INFO: Store-file size 0, starting to unpack
2002-11-05 17:57:51 [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2002-11-05 17:57:51 [0] INFO: MAIN: Start-up done, entering mainloop
2002-11-05 17:57:51 [0] DEBUG: AT2[/dev/ttyS2]: start called
2002-11-05 17:57:51 [0] DEBUG: smsc_fake: start called
2002-11-05 17:57:51 [8] DEBUG: sms_router: list_len = 0
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: device opened
2002-11-05 17:57:51 [6] INFO: AT2[/dev/ttyS2]: init device
2002-11-05 17:57:51 [6] INFO: AT2[/dev/ttyS2]: speed set to 19200
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: --> AT^M
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: --> AT&F^M
2002-11-05 17:57:51 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT&F
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: --> ATE0^M
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: <-- ATE0
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+IFC=2,2^M
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPIN?^M
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPIN: READY
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:52 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CMGF=0^M
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CSMS=?^M
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSMS: (0)
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: --> ATQ0E1V1^M
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS="ME"^M
2002-11-05 17:57:53 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS="ME"
2002-11-05 17:57:54 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS: 0,70,0,10,0,70
2002-11-05 17:57:54 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:54 [6] INFO: AT2[/dev/ttyS2]: AT SMSC successfully opened.
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,40
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 20,99
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 17:57:56 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",0,70,"SM",0,10,"ME",0,70
2002-11-05 17:57:57 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:57:57 [14] DEBUG: Started thread 16 (gw/bb_boxc.c:function)
2002-11-05 17:57:57 [16] INFO: Client connected from <127.0.0.1>
2002-11-05 17:57:57 [16] DEBUG: setting up systems for new wapbox
2002-11-05 17:57:57 [16] DEBUG: Started thread 17 (gw/bb_boxc.c:boxc_sender)
2002-11-05 17:57:59 [5] DEBUG: Started thread 18 (gw/bb_boxc.c:function)
2002-11-05 17:57:59 [18] INFO: Client connected from <127.0.0.1>
2002-11-05 17:57:59 [18] DEBUG: Started thread 19 (gw/bb_boxc.c:boxc_sender)
2002-11-05 17:58:07 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 17:58:07 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 17:58:07 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,40
2002-11-05 17:58:07 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 18,99
2002-11-05 17:58:07 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:58:09 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 17:58:09 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 17:58:09 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",0,70,"SM",0,10,"ME",0,70
2002-11-05 17:58:09 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:58:19 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 17:58:19 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 17:58:19 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,40
2002-11-05 17:58:19 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 21,99
2002-11-05 17:58:19 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:58:21 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 17:58:21 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 17:58:21 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",0,70,"SM",0,10,"ME",0,70
2002-11-05 17:58:21 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:58:31 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 17:58:31 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 17:58:31 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,40
2002-11-05 17:58:31 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 20,99
2002-11-05 17:58:31 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:58:33 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 17:58:33 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 17:58:33 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",0,70,"SM",0,10,"ME",0,70
2002-11-05 17:58:33 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 17:58:43 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 17:58:43 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 17:58:43 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,40
2002-11-05 17:58:43 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 20,99
2002-11-05 17:58:43 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
[snip]
no a sms message comes in ....
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",1,70,"SM",0,10,"ME",1,70
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: 1 messages waiting in memory
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CMGR=1^M
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CMGR=1
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CMGR: 0,,66
2002-11-05 18:07:26 [6] DEBUG: AT2[/dev/ttyS2]: <--
0791947122720000040C9194717206979900002011508140738035553719744F97C96539A89C
7683D861F7B92C0751CB783A0B546F83CA69773BCC0695E9F7F01CA4AF83E8E539BDEC06
2002-11-05 18:07:27 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:27 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CMGD=1^M
2002-11-05 18:07:27 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CMGD=1
2002-11-05 18:07:27 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:35 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 18:07:35 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 18:07:35 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,39
2002-11-05 18:07:35 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 25,99
2002-11-05 18:07:35 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:39 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 18:07:39 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 18:07:39 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",0,70,"SM",0,10,"ME",0,70
2002-11-05 18:07:39 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:47 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 18:07:47 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 18:07:47 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,39
2002-11-05 18:07:47 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 25,99
2002-11-05 18:07:47 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:51 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CPMS?^M
2002-11-05 18:07:51 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CPMS?
2002-11-05 18:07:51 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CPMS:
"ME",0,70,"SM",0,10,"ME",0,70
2002-11-05 18:07:51 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK
2002-11-05 18:07:59 [6] DEBUG: AT2[/dev/ttyS2]: --> AT+CBC;+CSQ^M
2002-11-05 18:07:59 [6] DEBUG: AT2[/dev/ttyS2]: <-- AT+CBC;+CSQ
2002-11-05 18:07:59 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CBC: 0,39
2002-11-05 18:07:59 [6] DEBUG: AT2[/dev/ttyS2]: <-- +CSQ: 26,99
2002-11-05 18:07:59 [6] DEBUG: AT2[/dev/ttyS2]: <-- OK


The smsbox log looks like this:

2002-11-05 17:57:59 [0] DEBUG:
----------------------------------------------
2002-11-05 17:57:59 [0] DEBUG: Kannel smsbox version 1.2.0 starting
2002-11-05 17:57:59 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2002-11-05 17:57:59 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2002-11-05 17:57:59 [0] INFO: Connected to bearerbox at localhost port
13001.
2002-11-05 17:57:59 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)

 --
 Peter Schaich                          Tel: +49-711-5858-413
 Sony International(Europe)GmbH         Fax: +49-711-5858-468
 Advanced Technology Center Stuttgart   E-mail: [EMAIL PROTECTED]
 Broadband Wireless Technology Research         
 Heinrich-Hertz-Strasse 1,                              
 D-70327 Stuttgart (Wangen), Germany
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Sony cannot accept liability for statements made which are clearly
the sender's own and not made on behalf of Sony.
**********************************************************************

 
 <<Schaich, Peter.vcf>> 

Attachment: Schaich, Peter.vcf
Description: Binary data

Reply via email to