Hi list,
Was wondering if anyone can provide some insight why my DLR does gets
DELETED write after I execute
http://212.100.000.000:13037/cgi-bin/sendsms?username=host&password=mypass&from=moimoi.com&to=331234567896&text=test&dlr-mask=31&dlr-url=http://www.moimoi.com/reports/dlr_kannel.php?type=%d
2004-04-17 03:42:01 [9068] [7] DEBUG: DLR[mysql]: Adding DLR smsc=myOP,
ts=15350005612, src=moimoi.com, dst=331234567896, mask=31, boxc=
2004-04-17 03:42:01 [9068] [7] DEBUG: sql: INSERT INTO dlr (smsc, ts,
source, destination, service, url, mask, boxc, status) VALUES ('myOP',
'15350005612', 'moimoi.com', '331234567896', 'host',
'http://www.moimoi.com/reports/dlr_kannel.php?type=', '31', '', '0');
2004-04-17 03:42:01 [9068] [7] DEBUG: SMSC[myOP]: creating DLR message
2004-04-17 03:42:01 [9068] [7] DEBUG: SMSC[myOP]: DLR =
http://www.moimoi.com/reports/dlr_kannel.php?type=
2004-04-17 03:42:01 [9062] [1] DEBUG: Dumping 1 messages and 0 acks to store
2004-04-17 03:42:01 [9080] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2004-04-17 03:42:01 [9080] [10] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2004-04-17 03:42:01 [9079] [9] DEBUG: boxc_receiver: got ack
2004-04-17 03:42:02 [9079] [9] DEBUG: boxc_receiver: heartbeat with load
value 0 received
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP[myOP]: Got PDU:
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP PDU 0x81a4bf8 dump:
2004-04-17 03:42:23 [9068] [7] DEBUG: type_name: deliver_sm
2004-04-17 03:42:23 [9068] [7] DEBUG: command_id: 5 = 0x00000005
2004-04-17 03:42:23 [9068] [7] DEBUG: command_status: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: sequence_number: 1 = 0x00000001
2004-04-17 03:42:23 [9068] [7] DEBUG: service_type: "CMT"
2004-04-17 03:42:23 [9068] [7] DEBUG: source_addr_ton: 2 = 0x00000002
2004-04-17 03:42:23 [9068] [7] DEBUG: source_addr_npi: 1 = 0x00000001
2004-04-17 03:42:23 [9068] [7] DEBUG: source_addr: "331234567896"
2004-04-17 03:42:23 [9068] [7] DEBUG: dest_addr_ton: 5 = 0x00000005
2004-04-17 03:42:23 [9068] [7] DEBUG: dest_addr_npi: 6 = 0x00000006
2004-04-17 03:42:23 [9068] [7] DEBUG: destination_addr:
2004-04-17 03:42:23 [9068] [7] DEBUG: Octet string at 0x81a5ce8:
2004-04-17 03:42:23 [9068] [7] DEBUG: len: 20
2004-04-17 03:42:23 [9068] [7] DEBUG: size: 21
2004-04-17 03:42:23 [9068] [7] DEBUG: immutable: 0
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 37 33 36
64xxxxxxxxxxxxxxxxxx33 736d736775692e63
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 36 66 36 64
6f6d
2004-04-17 03:42:23 [9068] [7] DEBUG: Octet string dump ends.
2004-04-17 03:42:23 [9068] [7] DEBUG: esm_class: 4 = 0x00000004
2004-04-17 03:42:23 [9068] [7] DEBUG: protocol_id: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: priority_flag: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: schedule_delivery_time: NULL
2004-04-17 03:42:23 [9068] [7] DEBUG: validity_period: NULL
2004-04-17 03:42:23 [9068] [7] DEBUG: registered_delivery: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: replace_if_present_flag: 0 =
0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: data_coding: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: sm_length: 122 = 0x0000007a
2004-04-17 03:42:23 [9068] [7] DEBUG: short_message:
2004-04-17 03:42:23 [9068] [7] DEBUG: Octet string at 0x81a5d20:
2004-04-17 03:42:23 [9068] [7] DEBUG: len: 122
2004-04-17 03:42:23 [9068] [7] DEBUG: size: 123
2004-04-17 03:42:23 [9068] [7] DEBUG: immutable: 0
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 69 64 xxxxxxxxxxxxxxxxxx20
73 75 id:1535000561 su
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 62 3a
xxxxxxxxxxxxxxxxxxxx30 30 30 20 b:000 dlvrd:000
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 73 75
xxxxxxxxxxxxxxxxxxxxxxx 30 34 30 34 submit date:0404
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 31 36
xxxxxxxxxxxxxxxxxxxxxx 61 74 65 161711 done date
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 3a
xxxxxxxxxxxxxxxxxxxxxxxxx73 74 61 74 :0404162143 stat
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 3a 44
xxxxxxxxxxxxxxxxxxxxxxxxxx 72 3a 30 30 30 :DELIVRD err:000
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 20 74 65
xxxxxxxxxxxxxxxxxxxxxxxx48 52 53 text:TUVxxxx0FHRS
2004-04-17 03:42:23 [9068] [7] DEBUG: data: 31 4f 54x56 6b 46 4a
1OTxxxxVkFJ
2004-04-17 03:42:23 [9068] [7] DEBUG: Octet string dump ends.
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP PDU dump ends.
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP[myOP] handle_pdu, got DLR
2004-04-17 03:42:23 [9068] [7] DEBUG: DLR[mysql]: Looking for DLR smsc=myOP,
ts=1535000561, dst=736d736775692e636f6d, type=1
2004-04-17 03:42:23 [9068] [7] DEBUG: sql: SELECT mask, service, url,
source, destination, boxc FROM dlr WHERE smsc='myOP' AND ts='1535000561';
2004-04-17 03:42:23 [9068] [7] DEBUG: Found entry, row[0]=31, row[1]=host,
row[2]=http://www.moimoi.com/reports/dlr_kannel.php?type=,
row[3]=moimoi.com, row[4]=331234567896 row[5]=
2004-04-17 03:42:23 [9068] [7] DEBUG: DLR[mysql]: created DLR message for
URL <http://www.moimoi.com/reports/dlr_kannel.php?type=>
2004-04-17 03:42:23 [9068] [7] DEBUG: removing DLR from database
2004-04-17 03:42:23 [9068] [7] DEBUG: sql: DELETE FROM dlr WHERE smsc='myOP'
AND ts='1535000561' LIMIT 1;
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP[myOP]: Sending PDU:
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP PDU 0x81a4e80 dump:
2004-04-17 03:42:23 [9068] [7] DEBUG: type_name: deliver_sm_resp
2004-04-17 03:42:23 [9068] [7] DEBUG: command_id: 2147483653 = 0x80000005
2004-04-17 03:42:23 [9068] [7] DEBUG: command_status: 0 = 0x00000000
2004-04-17 03:42:23 [9068] [7] DEBUG: sequence_number: 1 = 0x00000001
2004-04-17 03:42:23 [9068] [7] DEBUG: message_id: NULL
2004-04-17 03:42:23 [9068] [7] DEBUG: SMPP PDU dump ends.
2004-04-17 03:42:23 [9080] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2004-04-17 03:42:23 [9080] [10] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2004-04-17 03:42:23 [9079] [9] DEBUG: boxc_receiver: got ack
2004-04-17 03:42:23 [9062] [1] DEBUG: Dumping 0 messages and 0 acks to store
2004-04-17 03:42:27 [9068] [7] DEBUG: SMPP[myOP]: Sending enquire link:
2004-04-17 03:42:27 [9068] [7] DEBUG: SMPP PDU 0x81a4bf8 dump:
2004-04-17 03:42:27 [9068] [7] DEBUG: type_name: enquire_link
2004-04-17 03:42:27 [9068] [7] DEBUG: command_id: 21 = 0x00000015
2004-04-17 03:42:27 [9068] [7] DEBUG: command_status: 0 = 0x00000000
2004-04-17 03:42:27 [9068] [7] DEBUG: sequence_number: 4 = 0x00000004
2004-04-17 03:42:27 [9068] [7] DEBUG: SMPP PDU dump ends.
In smsbox I see this. Could it be cause I have not encoded something ?
2004-04-17 03:42:01 [9075] [3] WARNING: octstr_url_decode: corrupted
end-of-string <%d>
2004-04-17 03:42:01 [9075] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <12.12.12.12>
2004-04-17 03:42:01 [9075] [3] INFO: sendsms used by <guihost>
Am I doing something wrong or do I need to do something in addition maybe?
Any help greatly appreciated. :)
Thanks list.
George LJ