The version I ran it from was a cvs from a few weeks ago! I just did a cvs
up -d just now and re ran a test message, and it gives the same result (as
per attachment)..
----- Original Message -----
From: "Alexander Malysh" <[EMAIL PROTECTED]>
To: "Bill Brigden" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 01, 2003 7:09 PM
Subject: Re: smpp 3.4 DLR's
heh, ok ...
I see it is not the cvs version! I and Bruno have fixed/simplified some
parts
in dlr handling.
Please try cvs version and if you should have troubles with it too, send us
debug log from your bearerbox.
Thanks...
On Friday 01 August 2003 19:33, Bill Brigden wrote:
> Attached is the debug log...
>
> The line in particular is:
>
> 2003-08-01 17:21:33 [4] DEBUG: sql: UPDATE dlr SET status=12 WHERE
> smsc='smpp1' AND ts='27164850' LIMIT 1;
>
> Any ideas?
>
> ----- Original Message -----
> From: "Alexander Malysh" <[EMAIL PROTECTED]>
> To: "Bill Brigden" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, August 01, 2003 6:24 PM
> Subject: Re: smpp 3.4 DLR's
>
>
> Hi,
>
> a few questions:
> 1) wich version bearerbox are you using ? if it is not CVS then try it
> first.
> 2) please provide related pieces of debug log from your bearerbox
>
> Thanks in advance...
>
> On Friday 01 August 2003 18:38, Bill Brigden wrote:
> > Hi,
> >
> > I've just started using the dlrmask 31 for an application to track when
> > messages get to our smpp provider, however the DLR code to say its been
> > submitted i thought was 8, however this is the log from the bearerbox
> > access log:
> >
> > 2003-08-01 17:43:33 send-SMS request added - sender:smpp1:+447766xxxxxx
> > 195.224.50.164 target:+447789xxxxxx request: 'test'
> > 2003-08-01 17:43:33 DLR SMS [SMSC:smpp1] [SVC:smpp1] [ACT:]
> > [from:+447766xxxxxx] [to:+447789xxxxxx] [flags:0:0:0:0:12]
> > [msg:11:0x00000000/] [udh:0:]
> > 2003-08-01 17:43:33 Sent SMS [SMSC:smpp1] [SVC:smpp1] [ACT:bill 123]
> > [from:+447766xxxxxx] [to:+447789xxxxxx] [flags:0:1:0:0:31] [msg:4:test]
> > [udh:0:]
> >
> > As you can see in the middle line, the flags show the dlr as 12 - is
this
> > correct, or am I missing something?
> >
> > Cheers - Bill.
>
> --
> Best regards / Mit besten Gr��en aus D�sseldorf
>
> Dipl.-Ing.
> Alexander Malysh
> ___________________________________________
>
> Centrium GmbH
> Vogelsanger Weg 80
> 40470 D�sseldorf
>
> Fon: +49 (0211) 74 84 51 80
> Fax: +49 (0211) 277 49 109
>
> email: a.malysh at centrium.de
> web: www.centrium.de
> msn: olek2002 at hotmail.com
> icq: 98063111
> ___________________________________________
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
--
Best regards / Mit besten Gr��en aus D�sseldorf
Dipl.-Ing.
Alexander Malysh
___________________________________________
Centrium GmbH
Vogelsanger Weg 80
40470 D�sseldorf
Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109
email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___________________________________________
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
2003-08-01 18:15:37 [0] INFO: Added logfile `/tmp/kannel.log' with level `0'.
2003-08-01 18:15:37 [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup)
2003-08-01 18:15:37 [0] INFO: SSL not supported, no SSL initialization done.
2003-08-01 18:15:37 [0] INFO: HTTP: Opening server at port 13000.
2003-08-01 18:15:37 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-08-01 18:15:37 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2003-08-01 18:15:37 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2003-08-01 18:15:37 [0] DEBUG: starting smsbox connection module
2003-08-01 18:15:37 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2003-08-01 18:15:37 [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread)
2003-08-01 18:15:37 [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2003-08-01 18:15:37 [0] INFO: ----------------------------------------
2003-08-01 18:15:37 [0] INFO: Kannel bearerbox II version cvs-20030708 starting
2003-08-01 18:15:37 [0] INFO: Loading store file `kannel.store'
2003-08-01 18:15:37 [0] INFO: Store-file size 1187, starting to unpack
2003-08-01 18:15:37 [0] INFO: Acknowledge of non-existant message found
'1059754893-7', discarded
2003-08-01 18:15:37 [0] INFO: Acknowledge of non-existant message found
'1059754900-8', discarded
2003-08-01 18:15:37 [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2003-08-01 18:15:37 [0] INFO: MAIN: Start-up done, entering mainloop
2003-08-01 18:15:37 [7] DEBUG: sms_router: time to sleep
2003-08-01 18:15:37 [7] DEBUG: sms_router: list_len = 0
2003-08-01 18:15:37 [6] DEBUG: SMPP[smpp1]: Sending PDU:
2003-08-01 18:15:37 [6] DEBUG: SMPP PDU 0x81661e8 dump:
2003-08-01 18:15:37 [6] DEBUG: type_name: bind_transceiver
2003-08-01 18:15:37 [6] DEBUG: command_id: 9 = 0x00000009
2003-08-01 18:15:37 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 18:15:37 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-08-01 18:15:37 [6] DEBUG: system_id: "xx"
2003-08-01 18:15:37 [6] DEBUG: password: "xxx"
2003-08-01 18:15:37 [6] DEBUG: system_type: "VMA"
2003-08-01 18:15:37 [6] DEBUG: interface_version: 52 = 0x00000034
2003-08-01 18:15:37 [6] DEBUG: addr_ton: 0 = 0x00000000
2003-08-01 18:15:37 [6] DEBUG: addr_npi: 0 = 0x00000000
2003-08-01 18:15:37 [6] DEBUG: address_range: NULL
2003-08-01 18:15:37 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 18:15:37 [6] DEBUG: SMPP[smpp1]: Got PDU:
2003-08-01 18:15:37 [6] DEBUG: SMPP PDU 0x81669d0 dump:
2003-08-01 18:15:37 [6] DEBUG: type_name: bind_transceiver_resp
2003-08-01 18:15:37 [6] DEBUG: command_id: 2147483657 = 0x80000009
2003-08-01 18:15:37 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 18:15:37 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-08-01 18:15:37 [6] DEBUG: system_id: "2.11"
2003-08-01 18:15:37 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 18:15:50 [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2003-08-01 18:15:50 [8] INFO: Client connected from <127.0.0.1>
2003-08-01 18:15:50 [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender)
2003-08-01 18:15:50 [8] DEBUG: boxc_receiver: unlocking sender
2003-08-01 18:15:50 [9] DEBUG: boxc_sender: sender unlocked
2003-08-01 18:16:03 [8] DEBUG: boxc_receiver: sms received
2003-08-01 18:16:03 [6] DEBUG: SMPP[smpp1]: Manually forced dest addr ton = 1, dest
add npi = 1
2003-08-01 18:16:03 [6] DEBUG: SMPP[smpp1]: Sending PDU:
2003-08-01 18:16:03 [6] DEBUG: SMPP PDU 0x8166650 dump:
2003-08-01 18:16:03 [6] DEBUG: type_name: submit_sm
2003-08-01 18:16:03 [6] DEBUG: command_id: 4 = 0x00000004
2003-08-01 18:16:03 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: sequence_number: 2 = 0x00000002
2003-08-01 18:16:03 [6] DEBUG: service_type: "1620"
2003-08-01 18:16:03 [6] DEBUG: source_addr_ton: 5 = 0x00000005
2003-08-01 18:16:03 [6] DEBUG: source_addr_npi: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: source_addr: "sender"
2003-08-01 18:16:03 [6] DEBUG: dest_addr_ton: 1 = 0x00000001
2003-08-01 18:16:03 [6] DEBUG: dest_addr_npi: 1 = 0x00000001
2003-08-01 18:16:03 [6] DEBUG: destination_addr: "447789xxxxxx"
2003-08-01 18:16:03 [6] DEBUG: esm_class: 3 = 0x00000003
2003-08-01 18:16:03 [6] DEBUG: protocol_id: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: priority_flag: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: schedule_delivery_time: NULL
2003-08-01 18:16:03 [6] DEBUG: validity_period: NULL
2003-08-01 18:16:03 [6] DEBUG: registered_delivery: 1 = 0x00000001
2003-08-01 18:16:03 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: data_coding: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: sm_length: 12 = 0x0000000c
2003-08-01 18:16:03 [6] DEBUG: short_message: "test message"
2003-08-01 18:16:03 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 18:16:03 [9] DEBUG: send_msg: sending msg to boxc: <(null)>
2003-08-01 18:16:03 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-08-01 18:16:03 [6] DEBUG: SMPP[smpp1]: Got PDU:
2003-08-01 18:16:03 [6] DEBUG: SMPP PDU 0x8166650 dump:
2003-08-01 18:16:03 [6] DEBUG: type_name: submit_sm_resp
2003-08-01 18:16:03 [6] DEBUG: command_id: 2147483652 = 0x80000004
2003-08-01 18:16:03 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 18:16:03 [6] DEBUG: sequence_number: 2 = 0x00000002
2003-08-01 18:16:03 [6] DEBUG: message_id: "0019e814a"
2003-08-01 18:16:03 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 18:16:03 [6] DEBUG: DLR[mysql]: Adding DLR smsc=smpp1, ts=27165002,
src=sender, dst=447789xxxxxx, mask=31, boxc=
2003-08-01 18:16:03 [6] DEBUG: sql: INSERT INTO dlr (smsc, ts, source, destination,
service, url, mask, boxc, status) VALUES ('smpp1', '27165002', 'sender',
'447789xxxxxx', 'smpp1',
'http://www.xxx.co.uk/smstest.php?time=%t&sender=%p&dest=%P&delval=%d&delval2=%A&user=%n&smscid=%i&binarymsg=%b',
'31', '', '0');
2003-08-01 18:16:03 [6] DEBUG: DLR[mysql]: Looking for DLR smsc=smpp1, ts=27165002,
dst=447789xxxxxx, type=12
2003-08-01 18:16:03 [6] DEBUG: sql: SELECT mask, service, url, source, destination,
boxc FROM dlr WHERE smsc='smpp1' AND ts='27165002';
2003-08-01 18:16:03 [6] DEBUG: Found entry, row[0]=31, row[1]=smpp1,
row[2]=http://www.xxx.co.uk/smstest.php?time=%t&sender=%p&dest=%P&delval=%d&delval2=%A&user=%n&smscid=%i&binarymsg=%b,
row[3]=sender, row[4]=447789xxxxxx row[5]=
2003-08-01 18:16:03 [6] DEBUG: DLR[mysql]: created DLR message for URL
<http://www.xxx.co.uk/smstest.php?time=%t&sender=%p&dest=%P&delval=%d&delval2=%A&user=%n&smscid=%i&binarymsg=%b>
2003-08-01 18:16:03 [6] INFO: DLR[mysql]: DLR not destroyed, still waiting for other
delivery report
2003-08-01 18:16:03 [6] DEBUG: updating DLR status in database
2003-08-01 18:16:03 [6] DEBUG: sql: UPDATE dlr SET status=12 WHERE smsc='smpp1' AND
ts='27165002' LIMIT 1;
2003-08-01 18:16:03 [9] DEBUG: send_msg: sending msg to boxc: <(null)>
2003-08-01 18:16:03 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-08-01 18:16:03 [1] DEBUG: Dumping 1 messages and 0 acks to store
2003-08-01 18:16:03 [8] DEBUG: boxc_receiver: got ack