Hello,
 
  I modified the file "gw/smsc/smsc_cimd2.c", so as to set the
dlr-mask=31, by default. I now get DLR from the SMS-C
as the CIMD2 tag "056" always gets the value "31", as shown below.
However, Kannel doesn't insert any DB records, and
when it tries to SELECT some records, fails to find them.
 
Thanks,
Dimitris
 
 
========================================================================
====================
2006-12-01 14:16:25 [32323] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-12-01 14:16:25 [32323] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-12-01 14:16:25 [32323] [6] DEBUG: CIMD2[(null)]: sending message
2006-12-01 14:16:25 [32323] [6] DEBUG: CIMD2[(null)]: sending <03:041
021:+306973983868 023:1234 050:167 056:31 055:0 044:1
032:0B05040B8423F00003060201
034:060614AEA97761705F707573682F312E30008D018AC39302056A0045C60C03776170
2E6D79636F736D6F732E67722F436173696E6F526F79616C652E6173700011035065726C
5363726970745F53492F3833313333383731306664383836316436333661626566363362
313162306434000AC3072006120114162510C3072006 030:4 8C>
2006-12-01 14:16:25 [32323] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-12-01 14:16:25 [32323] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-12-01 14:16:25 [32323] [6] DEBUG: CIMD2[(null)]: received: <53:041
021:+306973983868 060:061201141625 FF>
2006-12-01 14:16:25 [32323] [6] DEBUG: CIMD2[(null)]: sending message
2006-12-01 14:16:25 [32323] [6] DEBUG: CIMD2[(null)]: sending <03:043
021:+306973983868 023:1234 050:167 056:31 055:0 044:0
032:0B05040B8423F00003060202
034:1204141625080103546869732069732061204B616E6E656C207465737421000101
030:4 5A>
2006-12-01 14:16:25 [32323] [6] DEBUG: CIMD2[(null)]: received: <53:043
021:+306973983868 060:061201141626 02>
2006-12-01 14:16:30 [32323] [6] DEBUG: CIMD2[(null)]: received: <23:024
021:306973983868 060:061201141625 061:4 063:061201141629 062:0 28>
2006-12-01 14:16:30 [32323] [6] DEBUG: DLR[mysql]: Looking for DLR
smsc=CIMD2:172.25.38.20:9971:wap, ts=061201141625, dst=306973983868,
type=1
2006-12-01 14:16:30 [32323] [6] DEBUG: sql: SELECT mask, service, url,
source, destination, boxc FROM dlr WHERE
smsc='CIMD2:172.25.38.20:9971:wap' AND ts='061201141625';
2006-12-01 14:16:30 [32323] [6] DEBUG: no rows found
2006-12-01 14:16:30 [32323] [6] WARNING: DLR[mysql]: DLR for
DST<306973983868> not found.
2006-12-01 14:16:30 [32323] [6] DEBUG: CIMD2[(null)]: sending <73:024
45>
2006-12-01 14:16:34 [32323] [6] DEBUG: CIMD2[(null)]: received: <23:026
021:306973983868 060:061201141626 061:4 063:061201141632 062:0 25>
2006-12-01 14:16:34 [32323] [6] DEBUG: DLR[mysql]: Looking for DLR
smsc=CIMD2:172.25.38.20:9971:wap, ts=061201141626, dst=306973983868,
type=1
2006-12-01 14:16:34 [32323] [6] DEBUG: sql: SELECT mask, service, url,
source, destination, boxc FROM dlr WHERE
smsc='CIMD2:172.25.38.20:9971:wap' AND ts='061201141626';
2006-12-01 14:16:34 [32323] [6] DEBUG: no rows found
2006-12-01 14:16:34 [32323] [6] WARNING: DLR[mysql]: DLR for
DST<306973983868> not found.
2006-12-01 14:16:34 [32323] [6] DEBUG: CIMD2[(null)]: sending <73:026
47>
========================================================================
====================
 
 
 
-----Original Message-----
From: Andrikopoulos Dimitrios 
Sent: Friday, December 01, 2006 1:30 PM
To: '[email protected]'
Subject: NOKIA SMS-C and DLR problem


Hello,
 
  I'm using a NOKIA SMS-C (CIMD2) to send WAP Push messages. Although I
have enabled DLRs and defined the
"X-Kannel-DLR-Mask" header at the PAP request, Kannel didn't eventually
request any delivery report from the SMS-C.
This is shown from the value of the CIMD2 tag "056" (in red color) which
has a "0" as value.
 
  I think that that error has to do with the "X-Kannel-DLR-Mask",
because I checked the file "gw/smsc/smsc_cimd2.c"
and found out that it set the value "0" when "dlr-mask" is not set.
 
Thanks,
Dimitris
 
 
+++++++++++++++++++++++++++Start of bearerbox.log
++++++++++++++++++++++++++++++++++++++++
2006-12-01 13:15:00 [22330] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-12-01 13:15:00 [22330] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-12-01 13:15:00 [22330] [6] DEBUG: CIMD2[(null)]: sending message
2006-12-01 13:15:00 [22330] [6] DEBUG: CIMD2[(null)]: sending <03:003
021:+306973983868 023:1234 050:167 056:0 055:0 044:1
032:0B05040B8423F00003000201
034:000614AEA97761705F707573682F312E30008D018AC39302056A0045C60C03776170
2E6D79636F736D6F732E67722F436173696E6F526F79616C652E6173700011035065726C
5363726970745F53492F6233646334396663646130373738396236373534386433303338
383932356632000AC3072006120113145910C3072006 030:4 6B>
2006-12-01 13:15:00 [22330] [15] DEBUG: boxc_receiver: got sms from
wapbox
2006-12-01 13:15:00 [22330] [15] DEBUG: send_msg: sending msg to box:
<172.16.15.30>
2006-12-01 13:15:00 [22330] [6] DEBUG: CIMD2[(null)]: received: <53:003
021:+306973983868 060:061201131500 F4>
2006-12-01 13:15:00 [22330] [6] DEBUG: CIMD2[(null)]: sending message
2006-12-01 13:15:00 [22330] [6] DEBUG: CIMD2[(null)]: sending <03:005
021:+306973983868 023:1234 050:167 056:0 055:0 044:0
032:0B05040B8423F00003000202
034:1204131459080103546869732069732061204B616E6E656C207465737421000101
030:4 22>
2006-12-01 13:15:00 [22330] [6] DEBUG: CIMD2[(null)]: received: <53:005
021:+306973983868 060:061201131501 F7>
+++++++++++++++++++++++++++End  of bearerbox.log
+++++++++++++++++++++++++++++++++++++++++
 
 
=====================================Start of PAP
Request==================================
POST  <http://172.16.15.30:7080/push/miep_normal>
http://172.16.15.30:7080/push/miep_normal
User-Agent: wap_push/1.0
Content-Type: multipart/related; boundary=PMasdfglkjhqwert;
type="application/xml"
X-Kannel-DLR-Mask: 31
 
--PMasdfglkjhqwert
Content-Type: application/xml
 
<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "
<http://www.wapforum.org/DTD/pap_1.0.dtd>
http://www.wapforum.org/DTD/pap_1.0.dtd";>
<pap product-name="MyPushInitiator">
 <push-message push-id="PerlScript_PI/b79ac6b4f7c7e11c59d8220d50e27785"
source-reference="PerlScript_PI" ppg-notify-requested-to="
<http://172.17.60.28> http://172.17.60.28";
progress-notes-requested="false">
  <address address-value="
<mailto:wappush=+306973983868/[EMAIL PROTECTED]>
wappush=+306973983868/[EMAIL PROTECTED]"/>
  <quality-of-service delivery-method="unconfirmed" network="GSM"
network-required="true" bearer="SMS" bearer-required="true"
priority="low"/>
 </push-message>
</pap>
--PMasdfglkjhqwert
Content-Type: text/vnd.wap.si
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "
<http://www.wapforum.org/DTD/SI.dtd>
http://www.wapforum.org/DTD/SI.dtd";>
<si>
 <indication href=" <http://wap.mycosmos.gr/CasinoRoyale.asp>
http://wap.mycosmos.gr/CasinoRoyale.asp";
si-id="PerlScript_SI/b79ac6b4f7c7e11c59d8220d50e27785"
created="2006-12-01T13:15:48Z" si-expires="2006-12-04T13:15:48Z"
action="signal-high">This is a Kannel test!</indication>
</si>
 
--PMasdfglkjhqwert--
=====================================End of PAP
Request==================================
 

Reply via email to