Hi List,
We run kannel 1.3.0 on RH Linux8.0 with my sql dlr
storage. Using to connect a SMSC thru SMPP 3.3
     I haven't specifeid any dlr-url in the
configuration file. I used to push sms specifying
dlrmask=7 and dlrurl=<encoded url>.

Now my problem is kannel never calls the specified
url. But the log is saying 'got DLR but could not find
message or was not interested in it'. Also the
dlrurl,dlrmask and mobile number is getting inserted
to the database. here is the part of log

2003-03-01 14:03:43 [7] DEBUG: SMPP[smsgw]: Got PDU:
2003-03-01 14:03:43 [7] DEBUG: SMPP PDU 0x80e60a0
dump:
2003-03-01 14:03:43 [7] DEBUG:   type_name: deliver_sm
2003-03-01 14:03:43 [7] DEBUG:   command_id: 5 =
0x00000005
2003-03-01 14:03:43 [7] DEBUG:   command_status: 0 =
0x00000000
2003-03-01 14:03:43 [7] DEBUG:   sequence_number: 56 =
0x00000038
2003-03-01 14:03:43 [7] DEBUG:   service_type: "DQ"
2003-03-01 14:03:43 [7] DEBUG:   source_addr_ton: 1 =
0x00000001
2003-03-01 14:03:43 [7] DEBUG:   source_addr_npi: 1 =
0x00000001
2003-03-01 14:03:43 [7] DEBUG:   source_addr:
"971504920958"
2003-03-01 14:03:43 [7] DEBUG:   dest_addr_ton: 1 =
0x00000001
2003-03-01 14:03:43 [7] DEBUG:   dest_addr_npi: 2 =
0x00000002
2003-03-01 14:03:43 [7] DEBUG:   destination_addr:
"211"
2003-03-01 14:03:43 [7] DEBUG:   esm_class: 4 =
0x00000004
2003-03-01 14:03:43 [7] DEBUG:   protocol_id: 9 =
0x00000009
2003-03-01 14:03:43 [7] DEBUG:   priority_flag: 0 =
0x00000000
2003-03-01 14:03:43 [7] DEBUG:  
schedule_delivery_time: NULL
2003-03-01 14:03:43 [7] DEBUG:   validity_period: NULL
2003-03-01 14:03:43 [7] DEBUG:   registered_delivery:
0 = 0x00000000
2003-03-01 14:03:43 [7] DEBUG:  
replace_if_present_flag: 0 =
0x00000000
2003-03-01 14:03:43 [7] DEBUG:   data_coding: 1 =
0x00000001
2003-03-01 14:03:43 [7] DEBUG:   sm_default_msg_id: 0
= 0x00000000
2003-03-01 14:03:43 [7] DEBUG:   sm_length: 102 =
0x00000066
2003-03-01 14:03:43 [7] DEBUG:   short_message:
2003-03-01 14:03:43 [7] DEBUG:    Octet string at
0x80e7548:
2003-03-01 14:03:43 [7] DEBUG:      len:  102
2003-03-01 14:03:43 [7] DEBUG:      size: 103
2003-03-01 14:03:43 [7] DEBUG:      immutable: 0
2003-03-01 14:03:43 [7] DEBUG:      data: 69 64 3a 33
31 35 32 34  
id:31524
2003-03-01 14:03:43 [7] DEBUG:      data: 32 30 34 38
33 20 73 75  
20483 su
2003-03-01 14:03:43 [7] DEBUG:      data: 62 3a 30 30
31 20 64 6c  
b:001 dl
2003-03-01 14:03:43 [7] DEBUG:      data: 76 72 64 3a
30 30 31 20  
vrd:001
2003-03-01 14:03:43 [7] DEBUG:      data: 73 75 62 6d
69 74 20 64  
submit d
2003-03-01 14:03:43 [7] DEBUG:      data: 61 74 65 3a
30 33 30 33  
ate:0303
2003-03-01 14:03:43 [7] DEBUG:      data: 30 31 31 37
35 35 20 64  
011755 d
2003-03-01 14:03:43 [7] DEBUG:      data: 6f 6e 65 20
64 61 74 65   one
date
2003-03-01 14:03:43 [7] DEBUG:      data: 3a 30 33 30
33 30 31 31  
:0303011
2003-03-01 14:03:43 [7] DEBUG:      data: 37 35 35 20
73 74 61 74   755
stat
2003-03-01 14:03:43 [7] DEBUG:      data: 3a 44 45 4c
49 56 52 44  
:DELIVRD
2003-03-01 14:03:43 [7] DEBUG:      data: 20 65 72 72
3a 30 30 30   
err:000
2003-03-01 14:03:43 [7] DEBUG:      data: 20 54 65 78
74 3a         
Text:
2003-03-01 14:03:43 [7] DEBUG:    Octet string dump
ends.
2003-03-01 14:03:43 [7] DEBUG: SMPP PDU dump ends.
2003-03-01 14:03:43 [7] DEBUG: SMPP[smsgw] handle_pdu,
got DLR
2003-03-01 14:03:43 [7] DEBUG: no rows found
2003-03-01 14:03:43 [7] ERROR: SMPP[smsgw]: got DLR
but could not
find
messag
e or was not interested in it
2003-03-01 14:03:43 [7] DEBUG: SMPP[smsgw]: Sending
PDU:
2003-03-01 14:03:43 [7] DEBUG: SMPP PDU 0x80e7488
dump:
2003-03-01 14:03:43 [7] DEBUG:   type_name:
deliver_sm_resp
2003-03-01 14:03:43 [7] DEBUG:   command_id:
2147483653 = 0x80000005
2003-03-01 14:03:43 [7] DEBUG:   command_status: 0 =
0x00000000
2003-03-01 14:03:43 [7] DEBUG:   sequence_number: 56 =
0x00000038
2003-03-01 14:03:43 [7] DEBUG:   message_id: NULL
2003-03-01 14:03:43 [7] DEBUG: SMPP PDU dump ends.

Following is the dlr table contents

mysql> select * from DLR;
+----+----------+----------+---------------+---------+--------------------------
--------------------------------------------+------+--------+-------+--------+--
------+
| id | smsc     | ts       | destination   | service |
url
                                            | mask |
status | stext |
SOURCE
| B
OXID  |
+----+----------+----------+---------------+---------+--------------------------
--------------------------------------------+------+--------+-------+--------+--
------+
|  1 | smsgw | 25d71e56 | +971504920958 | auhcall |
http://www.abersabeel.com
/dlr1.asp?phone=%P&status=%d&text=%A&id=123 |    7 |  
   0 | NULL  |
211   
| (
null) |
|  2 | smsgw | eca70d15 | +971504920958 | auhcall |
http://www.abersabeel.com
/dlr1.asp?phone=%P&status=%d&text=%A&id=122 |    7 |  
   0 | NULL  |
211   
| (
null) |
|  3 | smsgw | 427207ab | +971504920958 | auhcall |
http://10.100.1.6/dlr/dlr
.asp?phone=%P&status=%d&text=%A&id=123      |    7 |  
   0 | NULL  |
211   
| (
null) |
|  4 | smsgw | a567242e | +971504920958 | auhcall |
http://10.100.1.6/dlr/dlr
.asp?phone=%P&status=%d&text=%A&id=12       |    7 |  
   0 | NULL  |
211   
| (
null) |
+----+----------+----------+---------------+---------+--------------------------
--------------------------------------------+------+--------+-------+--------+--
------+
4 rows in set (0.00 sec)
 
mysql>

Thanks in advance for any support
Regards
Ashraf

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Reply via email to