Hi everybody,

I am sending messages successfully but I have a hard time capturing the dlr
reports.

I run bearerbox, sqlbox and smsbox, kicked off in that order. To start the
first and the last, I use the same configuration file (³kannel.conf²), the
sqlbox is started with ³sqlbox.conf².  When I send a message, I get a
warning: ³Could not route message to smsbox id <0>, smsbox is gone!². I
attach the various logs, too.

I believe, the error is my configuration for the smsbox and the sqlbox and
their ports, and therefore the message can¹t be routed. I have been
Œplaying¹ with different settings but that only seems to have made things
worse.  The submit_sm_resp was initially captured and stored in the sent_sms
table but with my present config, that is no longer the case.

Would anyone be able  to get me back on track?

Thanks a mil!


Michael


>>>>> LOG bearerbox.log <<<<<


2011-07-17 08:44:15 [30642] [0] INFO: Kannel bearerbox II version 1.5.0 starting
2011-07-17 08:44:15 [30642] [0] INFO: MAIN: Start-up done, entering mainloop
2011-07-17 08:44:15 [30642] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
maps to pid 30642.
2011-07-17 08:44:23 [30642] [5] INFO: Client connected from <127.0.0.1>
2011-07-17 08:44:23 [30642] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2011-07-17 08:44:23 [30642] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to 
pid 30642.
2011-07-17 08:44:23 [30642] [8] DEBUG: Started thread 9 
(gw/bb_boxc.c:boxc_sender)
2011-07-17 08:44:23 [30642] [8] DEBUG: boxc_receiver: got boxc_id <sqlbox> from 
<127.0.0.1>
2011-07-17 08:44:23 [30642] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps 
to pid 30642.
2011-07-17 08:44:34 [30642] [5] INFO: Client connected from <127.0.0.1>
2011-07-17 08:44:34 [30642] [5] DEBUG: Started thread 10 (gw/bb_boxc.c:function)
2011-07-17 08:44:34 [30642] [10] DEBUG: Thread 10 (gw/bb_boxc.c:function) maps 
to pid 30642.
2011-07-17 08:44:34 [30642] [10] DEBUG: Started thread 11 
(gw/bb_boxc.c:boxc_sender)
2011-07-17 08:44:34 [30642] [10] DEBUG: boxc_receiver: got boxc_id <smsbox1> 
from <127.0.0.1>
2011-07-17 08:44:34 [30642] [11] DEBUG: Thread 11 (gw/bb_boxc.c:boxc_sender) 
maps to pid 30642.
2011-07-17 08:49:57 [30642] [8] DEBUG: boxc_receiver: sms received
2011-07-17 08:49:57 [30642] [8] DEBUG: send_msg: sending msg to boxc: <sqlbox>
2011-07-17 08:49:57 [30642] [11] DEBUG: send_msg: sending msg to boxc: <smsbox1>
2011-07-17 08:49:57 [30642] [11] DEBUG: boxc_sender: sent message to <127.0.0.1>
2011-07-17 08:49:57 [30642] [10] DEBUG: boxc_receiver: got ack
2011-07-17 08:50:02 [30642] [4] WARNING: Could not route message to smsbox id 
<0>, smsbox is gone!
2011-07-17 08:50:02 [30642] [4] WARNING: smsbox_list empty!
2011-07-17 08:50:02 [30642] [4] WARNING: Could not route message to smsbox id 
<0>, smsbox is gone!
2011-07-17 08:50:02 [30642] [4] WARNING: smsbox_list empty!
2011-07-17 08:51:55 [30642] [2] DEBUG: HTTP: Creating HTTPClient for 
`127.0.0.1'.
2011-07-17 08:51:55 [30642] [2] DEBUG: HTTP: Created HTTPClient area 0xea12c50.


>>>>> LOG kannel-sqlbox.log <<<<<

2011-07-17 08:44:23 [30651] [0] INFO: Added logfile 
`/var/log/kannel/kannel-sqlbox.log' with level `0'.
2011-07-17 08:44:23 [30651] [0] INFO: MYSQL: Connected to server at localhost.
2011-07-17 08:44:23 [30651] [0] INFO: MYSQL: server version 5.0.92-community, 
client version 5.0.92.
2011-07-17 08:44:23 [30651] [0] DEBUG: Started thread 1 
(sqlbox.c:sql_to_bearerbox)
2011-07-17 08:44:23 [30651] [1] DEBUG: Thread 1 (sqlbox.c:sql_to_bearerbox) 
maps to pid 30651.
2011-07-17 08:44:23 [30651] [1] DEBUG: Connecting to <127.0.0.1>
2011-07-17 08:44:23 [30651] [1] INFO: Connected to bearerbox at localhost port 
13003.
2011-07-17 08:44:23 [30651] [1] DEBUG: Started thread 2 
(sqlbox.c:bearerbox_to_sql)
2011-07-17 08:44:23 [30651] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) 
maps to pid 30651.
2011-07-17 08:52:34 [30651] [2] DEBUG: bearerbox_to_sql: Bearerbox told us to 
shutdown.
2011-07-17 08:52:34 [30651] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) 
terminates.
2011-07-17 08:52:34 [30651] [1] DEBUG: Thread 1 (sqlbox.c:sql_to_bearerbox) 
terminates.
2011-07-17 08:52:34 [30651] [0] DEBUG: Immutable octet strings: 64.

>>>>> LOG smpp-provider.log  <<<<<

2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP[smpp-provider]: Sending PDU:
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP PDU 0xea00fa0 dump:
2011-07-17 08:49:57 [30642] [6] DEBUG:   type_name: submit_sm
2011-07-17 08:49:57 [30642] [6] DEBUG:   command_id: 4 = 0x00000004
2011-07-17 08:49:57 [30642] [6] DEBUG:   command_status: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   sequence_number: 13 = 0x0000000d
2011-07-17 08:49:57 [30642] [6] DEBUG:   service_type: NULL
2011-07-17 08:49:57 [30642] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
2011-07-17 08:49:57 [30642] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2011-07-17 08:49:57 [30642] [6] DEBUG:   source_addr: "3538********"
2011-07-17 08:49:57 [30642] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2011-07-17 08:49:57 [30642] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2011-07-17 08:49:57 [30642] [6] DEBUG:   destination_addr: "3538********"
2011-07-17 08:49:57 [30642] [6] DEBUG:   esm_class: 3 = 0x00000003
2011-07-17 08:49:57 [30642] [6] DEBUG:   protocol_id: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   priority_flag: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   schedule_delivery_time: NULL
2011-07-17 08:49:57 [30642] [6] DEBUG:   validity_period: NULL
2011-07-17 08:49:57 [30642] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2011-07-17 08:49:57 [30642] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   data_coding: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   sm_length: 11 = 0x0000000b
2011-07-17 08:49:57 [30642] [6] DEBUG:   short_message: "Hola smsbox"
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP PDU dump ends.
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP[smpp-provider]: throughput 
(1.00,10.00)
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP[smpp-provider]: throughput 
(1.00,10.00)
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP[smpp-provider]: Got PDU:
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP PDU 0xea00fa0 dump:
2011-07-17 08:49:57 [30642] [6] DEBUG:   type_name: submit_sm_resp
2011-07-17 08:49:57 [30642] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2011-07-17 08:49:57 [30642] [6] DEBUG:   command_status: 0 = 0x00000000
2011-07-17 08:49:57 [30642] [6] DEBUG:   sequence_number: 13 = 0x0000000d
2011-07-17 08:49:57 [30642] [6] DEBUG:   message_id: "0281F11D"
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP PDU dump ends.
2011-07-17 08:49:57 [30642] [6] DEBUG: DLR[mysql]: Adding DLR 
smsc=smpp-provider, ts=42070301, src=3538********, dst=3538********, mask=31, 
boxc=smsbox1
2011-07-17 08:49:57 [30642] [6] DEBUG: adding DLR entry into database
2011-07-17 08:49:57 [30642] [6] INFO: MYSQL: Connected to server at localhost.
2011-07-17 08:49:57 [30642] [6] INFO: MYSQL: server version 5.0.92-community, 
client version 5.0.92.
2011-07-17 08:49:57 [30642] [6] DEBUG: sql: INSERT INTO `verslag` (`smsc`, 
`ts`, `source`, `dst`, `service`, `url`, `mask`, `boxc_id`, `status`) VALUES 
(?, ?, ?, ?, ?, ?, ?, ?, 0)
2011-07-17 08:49:57 [30642] [6] DEBUG: SMSC[smpp-provider]: creating DLR message
2011-07-17 08:49:57 [30642] [6] DEBUG: SMSC[smpp-provider]: DLR = http://[IP 
address]/cgi-bin/dlr.php?to%3D%25to%26msisdn%3D%25msisdn%26status%3D%25status%26messagId%3D1008928%26scts%3D%25scts
2011-07-17 08:49:57 [30642] [6] DEBUG: SMPP[smpp-provider]: throughput 
(1.00,10.00)
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP[smpp-provider]: throughput 
(0.00,10.00)
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP[smpp-provider]: Got PDU:
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP PDU 0xea0ed00 dump:
2011-07-17 08:50:02 [30642] [6] DEBUG:   type_name: deliver_sm
2011-07-17 08:50:02 [30642] [6] DEBUG:   command_id: 5 = 0x00000005
2011-07-17 08:50:02 [30642] [6] DEBUG:   command_status: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   sequence_number: 1 = 0x00000001
2011-07-17 08:50:02 [30642] [6] DEBUG:   service_type: NULL
2011-07-17 08:50:02 [30642] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2011-07-17 08:50:02 [30642] [6] DEBUG:   source_addr: "3538********"
2011-07-17 08:50:02 [30642] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2011-07-17 08:50:02 [30642] [6] DEBUG:   destination_addr: "3538********"
2011-07-17 08:50:02 [30642] [6] DEBUG:   esm_class: 4 = 0x00000004
2011-07-17 08:50:02 [30642] [6] DEBUG:   protocol_id: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   priority_flag: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   schedule_delivery_time: NULL
2011-07-17 08:50:02 [30642] [6] DEBUG:   validity_period: NULL
2011-07-17 08:50:02 [30642] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   data_coding: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   sm_length: 122 = 0x0000007a
2011-07-17 08:50:02 [30642] [6] DEBUG:   short_message:
2011-07-17 08:50:02 [30642] [6] DEBUG:    Octet string at 0xea01210:
2011-07-17 08:50:02 [30642] [6] DEBUG:      len:  122
2011-07-17 08:50:02 [30642] [6] DEBUG:      size: 123
2011-07-17 08:50:02 [30642] [6] DEBUG:      immutable: 0
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 69 64 3a 30 30 34 32 30 37 30 
33 30 31 20 73 75   id:0042070301 su
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 62 3a 30 30 31 20 64 6c 76 72 
64 3a 30 30 31 20   b:001 dlvrd:001
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 73 75 62 6d 69 74 20 64 61 74 
65 3a 31 31 30 37   submit date:1107
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 31 37 31 30 34 39 20 64 6f 6e 
65 20 64 61 74 65   171049 done date
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 3a 31 31 30 37 31 37 30 38 33 
38 20 73 74 61 74   :1107170838 stat
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 3a 44 45 4c 49 56 52 44 20 65 
72 72 3a 30 30 30   :DELIVRD err:000
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 20 74 65 78 74 3a 6e 6f 6e 65 
20 20 20 20 20 20    text:none
2011-07-17 08:50:02 [30642] [6] DEBUG:      data: 20 20 20 20 20 20 20 20 20 20
2011-07-17 08:50:02 [30642] [6] DEBUG:    Octet string dump ends.
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP PDU dump ends.
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP[smpp-provider] handle_pdu, got DLR
2011-07-17 08:50:02 [30642] [6] DEBUG: DLR[mysql]: Looking for DLR 
smsc=smpp-provider, ts=42070301, dst=3538********, type=1
2011-07-17 08:50:02 [30642] [6] DEBUG: sql: SELECT `mask`, `service`, `url`, 
`source`, `dst`, `boxc_id` FROM `verslag` WHERE `smsc`=? AND `ts`=?  LIMIT 1
2011-07-17 08:50:02 [30642] [6] DEBUG: column=mask buffer_type=253 max_length=0 
length=20
2011-07-17 08:50:02 [30642] [6] DEBUG: column=service buffer_type=253 
max_length=0 length=40
2011-07-17 08:50:02 [30642] [6] DEBUG: column=url buffer_type=253 max_length=0 
length=40
2011-07-17 08:50:02 [30642] [6] DEBUG: column=source buffer_type=253 
max_length=0 length=20
2011-07-17 08:50:02 [30642] [6] DEBUG: column=dst buffer_type=253 max_length=0 
length=20
2011-07-17 08:50:02 [30642] [6] DEBUG: column=boxc_id buffer_type=3 
max_length=0 length=11
2011-07-17 08:50:02 [30642] [6] DEBUG: DLR[mysql]: created DLR message for URL 
<http://[IP address]/cgi-bin/dlr.php?t>
2011-07-17 08:50:02 [30642] [6] DEBUG: removing DLR from database
2011-07-17 08:50:02 [30642] [6] DEBUG: sql: DELETE FROM `verslag` WHERE 
`smsc`=? AND `ts`=?  LIMIT 1
2011-07-17 08:50:02 [30642] [6] DEBUG: new group created `smpp'
2011-07-17 08:50:02 [30642] [6] DEBUG: group=`smpp' key=`dlr_err' value=`000'
2011-07-17 08:50:02 [30642] [6] WARNING: Could not route message to smsbox id 
<0>, smsbox is gone!
2011-07-17 08:50:02 [30642] [6] WARNING: smsbox_list empty!
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP[smpp-provider]: Sending PDU:
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP PDU 0xea00f10 dump:
2011-07-17 08:50:02 [30642] [6] DEBUG:   type_name: deliver_sm_resp
2011-07-17 08:50:02 [30642] [6] DEBUG:   command_id: 2147483653 = 0x80000005
2011-07-17 08:50:02 [30642] [6] DEBUG:   command_status: 0 = 0x00000000
2011-07-17 08:50:02 [30642] [6] DEBUG:   sequence_number: 1 = 0x00000001
2011-07-17 08:50:02 [30642] [6] DEBUG:   message_id: NULL
2011-07-17 08:50:02 [30642] [6] DEBUG: SMPP PDU dump ends.



>>>>> LOG smsbox.log <<<<<

2011-07-17 08:44:34 [30657] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `0'.
2011-07-17 08:44:34 [30657] [0] INFO: Logging accesses to 
'/var/log/kannel/access.log'.
2011-07-17 08:44:34 [30657] [0] INFO: Started access logfile 
`/var/log/kannel/access.log'.
2011-07-17 08:44:34 [30657] [0] INFO: HTTP: Opening server at port 13013.
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2011-07-17 08:44:34 [30657] [0] INFO: Set up send sms service at port 13013
2011-07-17 08:44:34 [30657] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) 
maps to pid 30657.
2011-07-17 08:44:34 [30657] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 30657.
2011-07-17 08:44:34 [30657] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 30657.
2011-07-17 08:44:34 [30657] [2] DEBUG: HTTP: Including port 13013, fd 8 for 
polling in server thread
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 3 
(gw/smsbox.c:sendsms_thread)
2011-07-17 08:44:34 [30657] [0] DEBUG: 
----------------------------------------------
2011-07-17 08:44:34 [30657] [0] DEBUG: Kannel smsbox version 1.5.0 starting
2011-07-17 08:44:34 [30657] [0] DEBUG:   dumping group (sendsms-user):
2011-07-17 08:44:34 [30657] [0] DEBUG:     <user-allow-ip> = <127.0.0.1>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <omit-empty> = <1>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <name> = <users>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <user-deny-ip> = <*.*.*.*>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <group> = <sendsms-user>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <dlr-url> = <http://[IP 
address]/cgi-bin/dlr.php?to=%to&msisdn=%msisdn&status=%status&messagId=%messagId&scts=%scts>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <max-messages> = <3>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <forced-smsc> = <smpp-provider>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <username> = <username>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <concatenation> = <1>
2011-07-17 08:44:34 [30657] [0] DEBUG:     <password> = <pwd>
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 4 
(gw/smsbox.c:obey_request_thread)
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 5 
(gw/smsbox.c:url_result_thread)
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 6 
(gw/smsbox.c:http_queue_thread)
2011-07-17 08:44:34 [30657] [0] DEBUG: Connecting to <127.0.0.1>
2011-07-17 08:44:34 [30657] [0] INFO: Connected to bearerbox at localhost port 
13003.
2011-07-17 08:44:34 [30657] [0] DEBUG: Started thread 7 
(gw/heartbeat.c:heartbeat_thread)
2011-07-17 08:44:34 [30657] [4] DEBUG: Thread 4 
(gw/smsbox.c:obey_request_thread) maps to pid 30657.
2011-07-17 08:44:34 [30657] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) 
maps to pid 30657.
2011-07-17 08:44:34 [30657] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) 
maps to pid 30657.
2011-07-17 08:44:34 [30657] [7] DEBUG: Thread 7 
(gw/heartbeat.c:heartbeat_thread) maps to pid 30657.
2011-07-17 08:49:57 [30657] [4] INFO: Starting delivery report <default> from 
<3538********>
2011-07-17 08:49:57 [30657] [4] DEBUG: Started thread 8 (gwlib/fdset.c:poller)
2011-07-17 08:49:57 [30657] [4] DEBUG: Started thread 9 
(gwlib/http.c:write_request_thread)
2011-07-17 08:49:57 [30657] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller) maps to 
pid 30657.
2011-07-17 08:49:57 [30657] [9] DEBUG: Thread 9 
(gwlib/http.c:write_request_thread) maps to pid 30657.
2011-07-17 08:49:57 [30657] [9] DEBUG: Queue contains 0 pending requests.
2011-07-17 08:49:57 [30657] [9] DEBUG: Parsing URL `http://[IP 
address]/cgi-bin/dlr.php?to%3D%25to%26msisdn%3D%25msisdn%26status%3D%25status%26messagId%3D1008928%26scts%3D%25scts':
2011-07-17 08:49:57 [30657] [9] DEBUG:   Scheme: http://
2011-07-17 08:49:57 [30657] [9] DEBUG:   Host: [IP address]
2011-07-17 08:49:57 [30657] [9] DEBUG:   Port: 80
2011-07-17 08:49:57 [30657] [9] DEBUG:   Username: (null)
2011-07-17 08:49:57 [30657] [9] DEBUG:   Password: (null)
2011-07-17 08:49:57 [30657] [9] DEBUG:   Path: /cgi-bin/dlr.php
2011-07-17 08:49:57 [30657] [9] DEBUG:   Query: 
to%3D%25to%26msisdn%3D%25msisdn%26status%3D%25status%26messagId%3D1008928%26scts%3D%25scts
2011-07-17 08:49:57 [30657] [9] DEBUG:   Fragment: (null)
2011-07-17 08:49:57 [30657] [9] DEBUG: Connecting nonblocking to <[IP address]>
2011-07-17 08:49:57 [30657] [9] DEBUG:   Host: [IP address]
2011-07-17 08:49:57 [30657] [9] DEBUG:   Port: 80
2011-07-17 08:49:57 [30657] [9] DEBUG:   Username: (null)
2011-07-17 08:49:57 [30657] [9] DEBUG:   Password: (null)
2011-07-17 08:49:57 [30657] [9] DEBUG:   Path: /cgi-bin/dlr.php
2011-07-17 08:49:57 [30657] [9] DEBUG:   Query: 
to%3D%25to%26msisdn%3D%25msisdn%26status%3D%25status%26messagId%3D1008928%26scts%3D%25scts
2011-07-17 08:49:57 [30657] [9] DEBUG:   Fragment: (null)
2011-07-17 08:49:57 [30657] [9] DEBUG: Connecting nonblocking to <[IP address]>
2011-07-17 08:49:57 [30657] [9] DEBUG: HTTP: Opening connection to `[IP 
address]:80' (fd=28).
2011-07-17 08:49:57 [30657] [9] DEBUG: Socket connecting
2011-07-17 08:49:57 [30657] [8] DEBUG: Get info about connecting socket
2011-07-17 08:49:57 [30657] [8] DEBUG: HTTP: Sending request:
2011-07-17 08:49:57 [30657] [8] DEBUG: Octet string at 0x8c85a90:
2011-07-17 08:49:57 [30657] [8] DEBUG:   len:  197
2011-07-17 08:49:57 [30657] [8] DEBUG:   size: 1024
2011-07-17 08:49:57 [30657] [8] DEBUG:   immutable: 0
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 47 45 54 20 2f 63 67 69 2d 62 69 
6e 2f 64 6c 72   GET /cgi-bin/dlr
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 2e 70 68 70 3f 74 6f 25 33 44 25 
32 35 74 6f 25   .php?to%3D%25to%
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 32 36 6d 73 69 73 64 6e 25 33 44 
25 32 35 6d 73   26msisdn%3D%25ms
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 69 73 64 6e 25 32 36 73 74 61 74 
75 73 25 33 44   isdn%26status%3D
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 25 32 35 73 74 61 74 75 73 25 32 
36 6d 65 73 73   %25status%26mess
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 61 67 49 64 25 33 44 31 30 30 38 
39 32 38 25 32   agId%3D1008928%2
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 36 73 63 74 73 25 33 44 25 32 35 
73 63 74 73 20   6scts%3D%25scts
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 48 54 54 50 2f 31 2e 31 0d 0a 48 
6f 73 74 3a 20   HTTP/1.1..Host:
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 32 30 35 2e 32 35 31 2e 31 32 39 
2e 31 30 34 0d   [IP address].
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 0a 43 6f 6e 6e 65 63 74 69 6f 6e 
3a 20 6b 65 65   .Connection: kee
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 70 2d 61 6c 69 76 65 0d 0a 55 73 
65 72 2d 41 67   p-alive..User-Ag
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 65 6e 74 3a 20 4b 61 6e 6e 65 6c 
2f 31 2e 35 2e   ent: Kannel/1.5.
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 30 0d 0a 0d 0a                   
                 0....
2011-07-17 08:49:57 [30657] [8] DEBUG: Octet string dump ends.
2011-07-17 08:49:57 [30657] [8] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
2011-07-17 08:49:57 [30657] [8] DEBUG: HTTP: Received response:
2011-07-17 08:49:57 [30657] [8] DEBUG: Octet string at 0x8c858a0:
2011-07-17 08:49:57 [30657] [8] DEBUG:   len:  154
2011-07-17 08:49:57 [30657] [8] DEBUG:   size: 1024
2011-07-17 08:49:57 [30657] [8] DEBUG:   immutable: 0
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 44 61 74 65 3a 20 53 75 6e 2c 20 
31 37 20 4a 75   Date: Sun, 17 Ju
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 6c 20 32 30 31 31 20 30 38 3a 34 
39 3a 35 37 20   l 2011 08:49:57
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 47 4d 54 0d 0a 53 65 72 76 65 72 
3a 20 41 70 61   GMT..Server: Apa
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 63 68 65 0d 0a 58 2d 50 6f 77 65 
72 65 64 2d 42   che..X-Powered-B
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 79 3a 20 50 48 50 2f 35 2e 32 2e 
31 37 0d 0a 43   y: PHP/5.2.17..C
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 6f 6e 6e 65 63 74 69 6f 6e 3a 20 
63 6c 6f 73 65   onnection: close
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 0d 0a 54 72 61 6e 73 66 65 72 2d 
45 6e 63 6f 64   ..Transfer-Encod
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 69 6e 67 3a 20 63 68 75 6e 6b 65 
64 0d 0a 43 6f   ing: chunked..Co
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 6e 74 65 6e 74 2d 54 79 70 65 3a 
20 74 65 78 74   ntent-Type: text
2011-07-17 08:49:57 [30657] [8] DEBUG:   data: 2f 68 74 6d 6c 0d 0a 0d 0a 0a    
                 /html.....
2011-07-17 08:49:57 [30657] [8] DEBUG: Octet string dump ends.


>>>>> kannel.conf <<<<<

group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13003
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage=mysql
log-level=0

group = smsbox
smsbox-id = smsbox1
bearerbox-host="localhost"
bearerbox-port = 13003
sendsms-port = 13013
sendsms-chars = "+0123456789"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
log-level = 0
mo-recode = 1

group = smsbox-route
smsbox-id = sqlbox
smsc-id = smpp-provider

group = smsc
smsc = smpp
smsc-id = smpp-provider
host = msg1.provider.com
port = 8000
receive-port = 8000
#transceiver-mode = false
transceiver-mode = 1
throughput = 10
smsc-username = 9ca36c15
smsc-password = ade1bb9e
system-type = 9ca36c15
dest-addr-ton=1
log-file = "/var/log/kannel/smpp-provider.log"
log-level = 0
msg-id-type=0x01
enquire-link-interval = 30

group = sendsms-user
username = username
password = pwd
forced-smsc =  smpp-provider
name = users
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;"
max-messages = 3
concatenation = 1
omit-empty = 1
dlr-url="http://[IP 
address]/cgi-bin/dlr.php?to=%to&msisdn=%msisdn&status=%status&messagId=%messagId&scts=%scts"

group = sms-service
keyword = default
text = "No action specified"
catch-all = true
accepted-smsc = smpp

# DLR SETUP
#mysql connection
group = mysql-connection
id = mydlr
host = localhost
username = REMOVED
password = REMOVED
database = tekstberichten
max-connections = 5

group = dlr-db
id = mydlr
table=verslag
field-smsc=smsc
field-timestamp=ts
field-destination=dst
field-source=source
field-service=service
field-url=url
field-mask=mask
field-status=status
field-boxc-id=boxc_id


>>>>> sqlbox.conf <<<<<

group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
global-sender = "GLOBALSENDER"
bearerbox-host = localhost
bearerbox-port = 13003
smsbox-port = 13200
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/kannel-sqlbox.log"
log-level = 0
group=mysql-connection
id =sqlbox-db
host = localhost
username = REMOVED
password = REMOVED
database = tekstberichten
max-connections = 1

Reply via email to