Dear Support,
 
   I have installed Kannel 1.4.1 on a Fedora Core 5 system, and I use it
as a PPG. I use the
attached configuration file to interconnect Kannel with a NOKIA SMS-C,
which supports CIMD2,
and with a MySQL database for storing the DLRs.
 
  I use PAP/HTTP to send unconfirmed WAP Push messages to Kannel PPG
which successfully
delivers them to SMS-C, and finally on my handset. However, I get no
"SMS level" delivery reports
from the SMS-C. Please let me know if:
 
        1. something is missing from the configuration.
 
        2. the PAP XML content should contain specific tag values so as
to trigger SMS-C DLRs.
 
        3. the PAP/HTTP request should contain specific header values,
so as to trigger SMS-C DLRs.
 
  Please note that I took an ETHEREAL trace   on Kannel PPG's network
interface and verified that 
SMS-C didn't actually send any DLR.
 
Thanks,
Dimitris
 
===========================Start
Configuration==================================
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
 
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
log-level = 0
dlr-storage = mysql
 
group = wapbox
bearerbox-host = 172.16.15.30
log-file = "/tmp/wapbox.log"
log-level = 0
syslog-level = none
access-log = "/tmp/wapaccess.log"
 
group = smsbox
smsbox-id = dlrbox
bearerbox-host = 172.16.15.30
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/smsbox-access.log"
 
# SMSC Nokia CIMD2
group = smsc
smsc = cimd2
host = 172.25.38.20
port = 9971
smsc-username = wap
smsc-password = wap1
throughput = 10
keepalive = 60
 
group = ppg
ppg-url = /push/miep_normal
ppg-port = 7080
ppg-allow-ip = 172.17.60.28
concurrent-pushes = 100
trusted-pi = true
service-name = ppg
ppg-smsbox-id = dlrbox
 
group = wap-push-user
wap-push-user = dimitris
ppg-username = my_user
ppg-password = my_pass
 
group = mysql-connection
id = mydlr
host = 172.17.60.28
username = my_dlr
password = my_dlr
database = dlr
max-connections = 1
 
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
===========================End
Configuration==================================
 
===========================Start
bearbox.log==================================
2006-11-30 10:35:44 [8824] [0] INFO: Added logfile `/tmp/bearerbox.log'
with level `0'.
2006-11-30 10:35:44 [8824] [0] INFO: HTTP: Opening server at port 13000.
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2006-11-30 10:35:44 [8824] [0] DEBUG: starting smsbox connection module
2006-11-30 10:35:44 [8824] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2006-11-30 10:35:44 [8824] [0] INFO: Set SMS resend frequency to 60
seconds.
2006-11-30 10:35:44 [8824] [0] INFO: SMS resend retry set to unlimited.
2006-11-30 10:35:44 [8824] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 8824.
2006-11-30 10:35:44 [8824] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 8824.
2006-11-30 10:35:44 [8824] [0] INFO: Set throughput to 10.000 for smsc
id <(null)>
2006-11-30 10:35:44 [8824] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.
2006-11-30 10:35:44 [8824] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 8824.
2006-11-30 10:35:44 [8824] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 8824.
2006-11-30 10:35:44 [8824] [0] DEBUG: CIMD2[(null)]: Keepalive set to 60
seconds
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 6
(gw/smsc/smsc_cimd2.c:io_thread)
2006-11-30 10:35:44 [8824] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 8824.
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2006-11-30 10:35:44 [8824] [0] DEBUG: starting UDP sender/receiver
module
2006-11-30 10:35:44 [8824] [0] INFO: Adding interface *
2006-11-30 10:35:44 [8824] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)
2006-11-30 10:35:44 [8824] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)
2006-11-30 10:35:44 [8824] [0] DEBUG: starting wapbox connection module
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 12
(gw/bb_boxc.c:wdp_to_wapboxes)
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 13
(gw/bb_boxc.c:wapboxc_run)
2006-11-30 10:35:44 [8824] [0] DEBUG: starting WDP router
2006-11-30 10:35:44 [8824] [0] DEBUG: Started thread 14
(gw/bearerbox.c:wdp_router)
2006-11-30 10:35:44 [8824] [0] INFO:
----------------------------------------
2006-11-30 10:35:44 [8824] [0] INFO: Kannel bearerbox II version 1.4.1
starting
2006-11-30 10:35:44 [8824] [0] INFO: MAIN: Start-up done, entering
mainloop
2006-11-30 10:35:44 [8824] [0] DEBUG: SMSCConn CIMD2 (null), start
called
2006-11-30 10:35:44 [8824] [6] DEBUG: Thread 6
(gw/smsc/smsc_cimd2.c:io_thread) maps to pid 8824.
2006-11-30 10:35:44 [8824] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 8824.
2006-11-30 10:35:44 [8824] [7] DEBUG: sms_router: time to sleep 30.00
secs.
2006-11-30 10:35:44 [8824] [7] DEBUG: sms_router: gwlist_len = 0
2006-11-30 10:35:44 [8824] [8] DEBUG: Thread 8
(gw/bb_udp.c:udp_receiver) maps to pid 8824.
2006-11-30 10:35:44 [8824] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
maps to pid 8824.
2006-11-30 10:35:44 [8824] [10] DEBUG: Thread 10
(gw/bb_udp.c:udp_receiver) maps to pid 8824.
2006-11-30 10:35:44 [8824] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_sender) maps to pid 8824.
2006-11-30 10:35:44 [8824] [12] DEBUG: Thread 12
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 8824.
2006-11-30 10:35:44 [8824] [13] DEBUG: Thread 13
(gw/bb_boxc.c:wapboxc_run) maps to pid 8824.
2006-11-30 10:35:44 [8824] [14] DEBUG: Thread 14
(gw/bearerbox.c:wdp_router) maps to pid 8824.
2006-11-30 10:35:44 [8824] [6] DEBUG: CIMD2[(null)]: sending <01:001
010:wap 011:wap1 A1>
2006-11-30 10:35:44 [8824] [6] DEBUG: CIMD2[(null)]: received: <51:001
3C>
2006-11-30 10:35:44 [8824] [6] INFO: CIMD2[(null)] logged in.
2006-11-30 10:36:11 [8824] [13] INFO: Client connected from
<172.16.15.30> 
2006-11-30 10:36:11 [8824] [13] DEBUG: Started thread 15
(gw/bb_boxc.c:function)
2006-11-30 10:36:11 [8824] [15] DEBUG: Thread 15 (gw/bb_boxc.c:function)
maps to pid 8824.
2006-11-30 10:36:11 [8824] [15] DEBUG: setting up systems for new wapbox
2006-11-30 10:36:11 [8824] [15] DEBUG: Started thread 16
(gw/bb_boxc.c:boxc_sender)
2006-11-30 10:36:11 [8824] [16] DEBUG: Thread 16
(gw/bb_boxc.c:boxc_sender) maps to pid 8824.
2006-11-30 10:36:13 [8824] [5] INFO: Client connected from
<172.16.15.30> 
2006-11-30 10:36:13 [8824] [5] DEBUG: Started thread 17
(gw/bb_boxc.c:function)
2006-11-30 10:36:13 [8824] [17] DEBUG: Thread 17 (gw/bb_boxc.c:function)
maps to pid 8824.
2006-11-30 10:36:13 [8824] [17] DEBUG: Started thread 18
(gw/bb_boxc.c:boxc_sender)
2006-11-30 10:36:13 [8824] [17] DEBUG: boxc_receiver: got boxc_id
<dlrbox> from <172.16.15.30>
2006-11-30 10:36:13 [8824] [18] DEBUG: Thread 18
(gw/bb_boxc.c:boxc_sender) maps to pid 8824.
2006-11-30 10:36:20 [8824] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-11-30 10:36:20 [8824] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-11-30 10:36:20 [8824] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-11-30 10:36:20 [8824] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-11-30 10:36:20 [8824] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-11-30 10:36:20 [8824] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: sending message
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: sending <03:003
021:+306973983868 023:1234 050:167 056:0 055:0 044:1
032:0B05040B8423F00003000301
034:000614AEA97761705F707573682F312E30008D01FDC39302056A0045C60C03776170
2E6D79636F736D6F732E67722F436173696E6F526F79616C652E6173700011035065726C
5363726970745F53492F6161353764663634326439333165666332353161353662303233
303164656532000AC3072006113010361910C3072006 030:4 5B>
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: received: <53:003
021:+306973983868 060:061130103620 F7>
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: sending message
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: sending <03:005
021:+306973983868 023:1234 050:167 056:0 055:0 044:1
032:0B05040B8423F00003000302
034:1203103619080103313A20CEA9504120CE934941204D4F59CEA3494B482120313520
4E4541205245414C544F4E45532041CEA04F20544F204E454F20414C42554D205448CEA3
20CEA045CE934B59205A484E4120CEA34520CEA04550494D454E4F594E2041CEA04F4BCE
9B4549CEA354494B4120CEA3544F204D55534943205A 030:4 0C>
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: received: <53:005
021:+306973983868 060:061130103621 FA>
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: sending message
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: sending <03:007
021:+306973983868 023:1234 050:167 056:0 055:0 044:0
032:0B05040B8423F00003000303
034:4F4E45205448CEA320434F534D4F544521000101 030:4 20>
2006-11-30 10:36:20 [8824] [6] DEBUG: CIMD2[(null)]: received: <53:007
021:+306973983868 060:061130103622 FD>
===========================End
bearbox.log==================================
 

Reply via email to