Sorry about that! - I put it down to not changing to the new build
directory...
Attached is a new dump - it now sends the correct dlr ID, however its giving
a panic
2003-08-01 22:24:40 [5] PANIC: gwlib/octstr.c:2150: seems_valid_real:
Assertion `ostr->data == NULL' failed. (Called from
gwlib/octstr.c:248:octstr_destroy.)
Cheers for helping by the way!
----- Original Message -----
From: "Alexander Malysh" <[EMAIL PROTECTED]>
To: "Bill Brigden" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 01, 2003 10:06 PM
Subject: Re: smpp 3.4 DLR's
Hi,
first of all , this is not a cvs version or at least the log file, see:
2003-08-01 18:15:37 [0] INFO: Kannel bearerbox II version cvs-20030708
^^^^^^^^
as second I can not reproduce it , so please check fresh cvs version out and
try it, if it doesn't work send us debug log from bearerbox...
Thanks...
On Friday 01 August 2003 21:45, Bill Brigden wrote:
> 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
--
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 22:24:22 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-08-01 22:24:22 [0] INFO: Connected to mysql server at localhost.
2003-08-01 22:24:22 [0] INFO: MYSQL: server version 4.0.13, client version 4.0.14.
2003-08-01 22:24:22 [0] INFO: DLR using storage type: mysql
2003-08-01 22:24:22 [0] DEBUG: Kannel bearerbox version `cvs-20030801'.
System Linux, release 2.4.20-8, version #1 Thu Mar 13 17:54:28 EST 2003, machine i686.
Hostname aquavit, IP 127.0.0.1.
Libxml version 20504.
Using MySQL 4.0.13.
Using native malloc.
2003-08-01 22:24:22 [0] INFO: Added logfile `/tmp/kannel.log' with level `0'.
2003-08-01 22:24:22 [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup)
2003-08-01 22:24:22 [0] INFO: SSL not supported, no SSL initialization done.
2003-08-01 22:24:22 [0] INFO: HTTP: Opening server at port 13000.
2003-08-01 22:24:22 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-08-01 22:24:22 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2003-08-01 22:24:22 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2003-08-01 22:24:22 [0] DEBUG: starting smsbox connection module
2003-08-01 22:24:22 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2003-08-01 22:24:22 [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread)
2003-08-01 22:24:22 [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2003-08-01 22:24:22 [0] INFO: ----------------------------------------
2003-08-01 22:24:22 [0] INFO: Kannel bearerbox II version cvs-20030801 starting
2003-08-01 22:24:22 [7] DEBUG: sms_router: time to sleep
2003-08-01 22:24:22 [0] INFO: Loading store file `kannel.store'
2003-08-01 22:24:22 [0] INFO: Store-file size 1186, starting to unpack
2003-08-01 22:24:22 [0] INFO: Acknowledge of non-existant message found
'1059772958-2', discarded
2003-08-01 22:24:22 [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2003-08-01 22:24:22 [0] INFO: MAIN: Start-up done, entering mainloop
2003-08-01 22:24:22 [7] DEBUG: sms_router: list_len = 0
2003-08-01 22:24:22 [6] DEBUG: SMPP[smpp1]: Sending PDU:
2003-08-01 22:24:22 [6] DEBUG: SMPP PDU 0x816a9b8 dump:
2003-08-01 22:24:22 [6] DEBUG: type_name: bind_transceiver
2003-08-01 22:24:22 [6] DEBUG: command_id: 9 = 0x00000009
2003-08-01 22:24:22 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:22 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-08-01 22:24:22 [6] DEBUG: system_id: "xxx"
2003-08-01 22:24:22 [6] DEBUG: password: "xxx"
2003-08-01 22:24:22 [6] DEBUG: system_type: "VMA"
2003-08-01 22:24:22 [6] DEBUG: interface_version: 52 = 0x00000034
2003-08-01 22:24:22 [6] DEBUG: addr_ton: 0 = 0x00000000
2003-08-01 22:24:22 [6] DEBUG: addr_npi: 0 = 0x00000000
2003-08-01 22:24:22 [6] DEBUG: address_range: NULL
2003-08-01 22:24:22 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:22 [6] DEBUG: SMPP[smpp1]: Got PDU:
2003-08-01 22:24:22 [6] DEBUG: SMPP PDU 0x816a9b8 dump:
2003-08-01 22:24:22 [6] DEBUG: type_name: bind_transceiver_resp
2003-08-01 22:24:22 [6] DEBUG: command_id: 2147483657 = 0x80000009
2003-08-01 22:24:22 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:22 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-08-01 22:24:22 [6] DEBUG: system_id: "2.11"
2003-08-01 22:24:22 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:31 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-08-01 22:24:31 [0] DEBUG: Kannel smsbox version `cvs-20030801'.
System Linux, release 2.4.20-8, version #1 Thu Mar 13 17:54:28 EST 2003, machine i686.
Hostname aquavit, IP 127.0.0.1.
Libxml version 20504.
Using MySQL 4.0.13.
Using native malloc.
2003-08-01 22:24:31 [0] INFO: Starting to log to file /tmp/smsbox.log level 0
2003-08-01 22:24:31 [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'.
2003-08-01 22:24:31 [0] INFO: Logging accesses to 'access.log'.
2003-08-01 22:24:31 [0] INFO: Started access logfile `access.log'.
2003-08-01 22:24:31 [0] INFO: HTTP: Opening server at port 13013.
2003-08-01 22:24:31 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2003-08-01 22:24:31 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2003-08-01 22:24:31 [0] INFO: Set up send sms service at port 13013
2003-08-01 22:24:31 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2003-08-01 22:24:31 [0] DEBUG: ----------------------------------------------
2003-08-01 22:24:31 [0] DEBUG: Kannel smsbox version cvs-20030801 starting
2003-08-01 22:24:31 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2003-08-01 22:24:31 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2003-08-01 22:24:31 [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2003-08-01 22:24:31 [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2003-08-01 22:24:31 [8] INFO: Client connected from <127.0.0.1>
2003-08-01 22:24:31 [0] INFO: Connected to bearerbox at localhost port 13003.
2003-08-01 22:24:31 [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2003-08-01 22:24:31 [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender)
2003-08-01 22:24:31 [8] DEBUG: boxc_receiver: unlocking sender
2003-08-01 22:24:31 [9] DEBUG: boxc_sender: sender unlocked
2003-08-01 22:24:40 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2003-08-01 22:24:40 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from
<127.0.0.1>
2003-08-01 22:24:40 [3] INFO: sendsms used by <smpp1>
2003-08-01 22:24:40 [3] WARNING: <dlrurl> field used and deprecated
2003-08-01 22:24:40 [3] WARNING: <dlrmask> field used and deprecated
2003-08-01 22:24:40 [3] INFO: sendsms sender:<smpp1:sender> (127.0.0.1)
to:<447789xxxxxx> msg:<test message>
2003-08-01 22:24:40 [3] DEBUG: message length 12, sending 1 messages
2003-08-01 22:24:40 [3] DEBUG: Status: 202 Answer: <Sent.>
2003-08-01 22:24:40 [3] DEBUG: HTTP: Destroying HTTPClient area 0x8121f90.
2003-08-01 22:24:40 [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2003-08-01 22:24:40 [8] DEBUG: boxc_receiver: sms received
2003-08-01 22:24:40 [6] DEBUG: SMPP[smpp1]: Manually forced dest addr ton = 1, dest
add npi = 1
2003-08-01 22:24:40 [6] DEBUG: SMPP[smpp1]: Sending PDU:
2003-08-01 22:24:40 [6] DEBUG: SMPP PDU 0x816a2f0 dump:
2003-08-01 22:24:40 [6] DEBUG: type_name: submit_sm
2003-08-01 22:24:40 [6] DEBUG: command_id: 4 = 0x00000004
2003-08-01 22:24:40 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: sequence_number: 2 = 0x00000002
2003-08-01 22:24:40 [6] DEBUG: service_type: "1620"
2003-08-01 22:24:40 [6] DEBUG: source_addr_ton: 5 = 0x00000005
2003-08-01 22:24:40 [6] DEBUG: source_addr_npi: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: source_addr: "sender"
2003-08-01 22:24:40 [6] DEBUG: dest_addr_ton: 1 = 0x00000001
2003-08-01 22:24:40 [6] DEBUG: dest_addr_npi: 1 = 0x00000001
2003-08-01 22:24:40 [6] DEBUG: destination_addr: "447789xxxxxx"
2003-08-01 22:24:40 [6] DEBUG: esm_class: 3 = 0x00000003
2003-08-01 22:24:40 [6] DEBUG: protocol_id: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: priority_flag: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: schedule_delivery_time: NULL
2003-08-01 22:24:40 [6] DEBUG: validity_period: NULL
2003-08-01 22:24:40 [6] DEBUG: registered_delivery: 1 = 0x00000001
2003-08-01 22:24:40 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: data_coding: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: sm_length: 12 = 0x0000000c
2003-08-01 22:24:40 [6] DEBUG: short_message: "test message"
2003-08-01 22:24:40 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:40 [9] DEBUG: send_msg: sending msg to boxc: <(null)>
2003-08-01 22:24:40 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-08-01 22:24:40 [6] DEBUG: SMPP[smpp1]: Got PDU:
2003-08-01 22:24:40 [6] DEBUG: SMPP PDU 0x816a2f0 dump:
2003-08-01 22:24:40 [6] DEBUG: type_name: submit_sm_resp
2003-08-01 22:24:40 [6] DEBUG: command_id: 2147483652 = 0x80000004
2003-08-01 22:24:40 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:40 [6] DEBUG: sequence_number: 2 = 0x00000002
2003-08-01 22:24:40 [6] DEBUG: message_id: "0019e8360"
2003-08-01 22:24:40 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:40 [6] DEBUG: DLR[mysql]: Adding DLR smsc=smpp1, ts=27165536,
src=sender, dst=447789xxxxxx, mask=31, boxc=
2003-08-01 22:24:40 [6] DEBUG: sql: INSERT INTO dlr (smsc, ts, source, destination,
service, url, mask, boxc, status) VALUES ('smpp1', '27165536', 'sender',
'447789xxxxxx', 'smpp1',
'http://www.xxxxxxx.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 22:24:40 [6] DEBUG: SMSC[smpp1]: creating DLR message
2003-08-01 22:24:40 [6] DEBUG: SMSC[smpp1]: DLR =
http://www.xxxxxxx.co.uk/smstest.php?time=%t&sender=%p&dest=%P&delval=%d&delval2=%A&user=%n&smscid=%i&binarymsg=%b
2003-08-01 22:24:40 [1] DEBUG: Dumping 1 messages and 0 acks to store
2003-08-01 22:24:40 [9] DEBUG: send_msg: sending msg to boxc: <(null)>
2003-08-01 22:24:40 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-08-01 22:24:40 [4] INFO: Starting delivery report <smpp1> from <sender>
2003-08-01 22:24:40 [4] DEBUG: Started thread 8 (gwlib/fdset.c:poller)
2003-08-01 22:24:40 [4] DEBUG: Started thread 9 (gwlib/http.c:write_request_thread)
2003-08-01 22:24:40 [8] DEBUG: boxc_receiver: got ack
2003-08-01 22:24:40 [9] DEBUG: Parsing URL
`http://www.xxxxxxx.co.uk/smstest.php?time=2003-08-01+21:24:40&sender=447789xxxxxx&dest=sender&delval=8&delval2=ACK%2F&user=smpp1&smscid=smpp1&binarymsg=ACK%2F':
2003-08-01 22:24:40 [9] DEBUG: Scheme: http://
2003-08-01 22:24:40 [9] DEBUG: Host: www.xxxxxxx.co.uk
2003-08-01 22:24:40 [9] DEBUG: Port: 80
2003-08-01 22:24:40 [9] DEBUG: Username: (null)
2003-08-01 22:24:40 [9] DEBUG: Password: (null)
2003-08-01 22:24:40 [9] DEBUG: Path: /smstest.php
2003-08-01 22:24:40 [9] DEBUG: Query:
time=2003-08-01+21:24:40&sender=447789xxxxxx&dest=sender&delval=8&delval2=ACK%2F&user=smpp1&smscid=smpp1&binarymsg=ACK%2F
2003-08-01 22:24:40 [9] DEBUG: Fragment: (null)
2003-08-01 22:24:40 [9] DEBUG: HTTP: Opening connection to `www.xxxxxxx.co.uk:80'
(fd=27).
2003-08-01 22:24:40 [9] DEBUG: Socket connecting
2003-08-01 22:24:40 [8] DEBUG: Get info about connecting socket
2003-08-01 22:24:40 [8] DEBUG: HTTP: Sending request:
2003-08-01 22:24:40 [8] DEBUG: Octet string at 0x8121f20:
2003-08-01 22:24:40 [8] DEBUG: len: 212
2003-08-01 22:24:40 [8] DEBUG: size: 213
2003-08-01 22:24:40 [8] DEBUG: immutable: 0
2003-08-01 22:24:40 [8] DEBUG: data: 47 45 54 20 2f 73 6d 73 74 65 73 74 2e 70 68 70
GET /smstest.php
2003-08-01 22:24:40 [8] DEBUG: data: 3f 74 69 6d 65 3d 32 30 30 33 2d 30 38 2d 30 31
?time=2003-08-01
2003-08-01 22:24:40 [8] DEBUG: data: 2b 32 31 3a 32 34 3a 34 30 26 73 65 6e 64 65 72
+21:24:40&sender
2003-08-01 22:24:40 [8] DEBUG: data: 3d 34 34 37 37 38 39 xx xx xx xx xx xx 26 64 65
=447789xxxxxx&de
2003-08-01 22:24:40 [8] DEBUG: data: 73 74 3d 73 6d 73 32 65 6d 61 69 6c 26 64 65 6c
st=sender&del
2003-08-01 22:24:40 [8] DEBUG: data: 76 61 6c 3d 38 26 64 65 6c 76 61 6c 32 3d 41 43
val=8&delval2=AC
2003-08-01 22:24:40 [8] DEBUG: data: 4b 25 32 46 26 75 73 65 72 3d 6d 62 6c 6f 78 26
K%2F&user=smpp1&
2003-08-01 22:24:40 [8] DEBUG: data: 73 6d 73 63 69 64 3d 6d 62 6c 6f 78 26 62 69 6e
smscid=smpp1&bin
2003-08-01 22:24:40 [8] DEBUG: data: 61 72 79 6d 73 67 3d 41 43 4b 25 32 46 20 48 54
arymsg=ACK%2F HT
2003-08-01 22:24:40 [8] DEBUG: data: 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 77 77
TP/1.1..Host: ww
2003-08-01 22:24:40 [8] DEBUG: data: 77 2e xx xx xx xx xx xx xx 2e 63 6f 2e 75 6b 0d
w.xxxxxxx.co.uk.
2003-08-01 22:24:40 [8] DEBUG: data: 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 4b 61 6e
.User-Agent: Kan
2003-08-01 22:24:40 [8] DEBUG: data: 6e 65 6c 2f 63 76 73 2d 32 30 30 33 30 38 30 31
nel/cvs-20030801
2003-08-01 22:24:40 [8] DEBUG: data: 0d 0a 0d 0a
....
2003-08-01 22:24:40 [8] DEBUG: Octet string dump ends.
2003-08-01 22:24:40 [8] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
2003-08-01 22:24:40 [8] DEBUG: HTTP: Received response:
2003-08-01 22:24:40 [8] DEBUG: Octet string at 0x8122300:
2003-08-01 22:24:40 [8] DEBUG: len: 206
2003-08-01 22:24:40 [8] DEBUG: size: 207
2003-08-01 22:24:40 [8] DEBUG: immutable: 0
2003-08-01 22:24:40 [8] DEBUG: data: 44 61 74 65 3a 20 46 72 69 2c 20 30 31 20 41 75
Date: Fri, 01 Au
2003-08-01 22:24:40 [8] DEBUG: data: 67 20 32 30 30 33 20 32 32 3a 33 30 3a 35 36 20
g 2003 22:30:56
2003-08-01 22:24:40 [8] DEBUG: data: 47 4d 54 0d 0a 53 65 72 76 65 72 3a 20 41 70 61
GMT..Server: Apa
2003-08-01 22:24:40 [8] DEBUG: data: 63 68 65 2f 31 2e 33 2e 32 37 20 28 55 6e 69 78
che/1.3.27 (Unix
2003-08-01 22:24:40 [8] DEBUG: data: 29 20 20 28 52 65 64 2d 48 61 74 2f 4c 69 6e 75
) (Red-Hat/Linu
2003-08-01 22:24:40 [8] DEBUG: data: 78 29 20 6d 6f 64 5f 73 73 6c 2f 32 2e 38 2e 31
x) mod_ssl/2.8.1
2003-08-01 22:24:40 [8] DEBUG: data: 32 20 4f 70 65 6e 53 53 4c 2f 30 2e 39 2e 36 62
2 OpenSSL/0.9.6b
2003-08-01 22:24:40 [8] DEBUG: data: 20 50 48 50 2f 34 2e 31 2e 32 0d 0a 58 2d 50 6f
PHP/4.1.2..X-Po
2003-08-01 22:24:40 [8] DEBUG: data: 77 65 72 65 64 2d 42 79 3a 20 50 48 50 2f 34 2e
wered-By: PHP/4.
2003-08-01 22:24:40 [8] DEBUG: data: 31 2e 32 0d 0a 54 72 61 6e 73 66 65 72 2d 45 6e
1.2..Transfer-En
2003-08-01 22:24:40 [8] DEBUG: data: 63 6f 64 69 6e 67 3a 20 63 68 75 6e 6b 65 64 0d
coding: chunked.
2003-08-01 22:24:40 [8] DEBUG: data: 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74
.Content-Type: t
2003-08-01 22:24:40 [8] DEBUG: data: 65 78 74 2f 68 74 6d 6c 0d 0a 0d 0a 4f 4b
ext/html....OK
2003-08-01 22:24:40 [8] DEBUG: Octet string dump ends.
2003-08-01 22:24:40 [5] PANIC: gwlib/octstr.c:2150: seems_valid_real: Assertion
`ostr->data == NULL' failed. (Called from gwlib/octstr.c:248:octstr_destroy.)
2003-08-01 22:24:40 [8] INFO: Connection closed by the box <127.0.0.1>
[2]+ Exit 1 ./smsbox config.conf
2003-08-01 22:24:46 [6] DEBUG: SMPP[smpp1]: Got PDU:
2003-08-01 22:24:46 [6] DEBUG: SMPP PDU 0x816af68 dump:
2003-08-01 22:24:46 [6] DEBUG: type_name: deliver_sm
2003-08-01 22:24:46 [6] DEBUG: command_id: 5 = 0x00000005
2003-08-01 22:24:46 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-08-01 22:24:46 [6] DEBUG: service_type: NULL
2003-08-01 22:24:46 [6] DEBUG: source_addr_ton: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: source_addr_npi: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: source_addr: "447789xxxxxx"
2003-08-01 22:24:46 [6] DEBUG: dest_addr_ton: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: dest_addr_npi: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: destination_addr: NULL
2003-08-01 22:24:46 [6] DEBUG: esm_class: 4 = 0x00000004
2003-08-01 22:24:46 [6] DEBUG: protocol_id: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: priority_flag: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: schedule_delivery_time: NULL
2003-08-01 22:24:46 [6] DEBUG: validity_period: NULL
2003-08-01 22:24:46 [6] DEBUG: registered_delivery: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: data_coding: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: sm_length: 102 = 0x00000066
2003-08-01 22:24:46 [6] DEBUG: short_message:
2003-08-01 22:24:46 [6] DEBUG: Octet string at 0x816ad90:
2003-08-01 22:24:46 [6] DEBUG: len: 102
2003-08-01 22:24:46 [6] DEBUG: size: 103
2003-08-01 22:24:46 [6] DEBUG: immutable: 0
2003-08-01 22:24:46 [6] DEBUG: data: 69 64 3a 32 37 31 36 35 35 33 36 20 73 75 62
3a id:27165536 sub:
2003-08-01 22:24:46 [6] DEBUG: data: 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 73
75 001 dlvrd:001 su
2003-08-01 22:24:46 [6] DEBUG: data: 62 6d 69 74 20 64 61 74 65 3a 30 33 30 38 30
31 bmit date:030801
2003-08-01 22:24:46 [6] DEBUG: data: 32 32 33 31 20 64 6f 6e 65 20 64 61 74 65 3a
30 2231 done date:0
2003-08-01 22:24:46 [6] DEBUG: data: 33 30 38 30 31 32 32 33 31 20 73 74 61 74 3a
44 308012231 stat:D
2003-08-01 22:24:46 [6] DEBUG: data: 45 4c 49 56 52 44 20 65 72 72 3a 30 30 30 20
74 ELIVRD err:000 t
2003-08-01 22:24:46 [6] DEBUG: data: 65 78 74 3a 20 00
ext: .
2003-08-01 22:24:46 [6] DEBUG: Octet string dump ends.
2003-08-01 22:24:46 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:46 [6] DEBUG: SMPP[smpp1] handle_pdu, got DLR
2003-08-01 22:24:46 [6] DEBUG: DLR[mysql]: Looking for DLR smsc=smpp1, ts=27165536,
dst=(null), type=1
2003-08-01 22:24:46 [6] DEBUG: sql: SELECT mask, service, url, source, destination,
boxc FROM dlr WHERE smsc='smpp1' AND ts='27165536';
2003-08-01 22:24:46 [6] DEBUG: Found entry, row[0]=31, row[1]=smpp1,
row[2]=http://www.xxxxxxx.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 22:24:46 [6] DEBUG: DLR[mysql]: created DLR message for URL
<http://www.xxxxxxx.co.uk/smstest.php?time=%t&sender=%p&dest=%P&delval=%d&delval2=%A&user=%n&smscid=%i&binarymsg=%b>
2003-08-01 22:24:46 [6] DEBUG: removing DLR from database
2003-08-01 22:24:46 [6] DEBUG: sql: DELETE FROM dlr WHERE smsc='smpp1' AND
ts='27165536' LIMIT 1;
2003-08-01 22:24:46 [6] DEBUG: SMPP[smpp1]: Sending PDU:
2003-08-01 22:24:46 [6] DEBUG: SMPP PDU 0x816aed0 dump:
2003-08-01 22:24:46 [6] DEBUG: type_name: deliver_sm_resp
2003-08-01 22:24:46 [6] DEBUG: command_id: 2147483653 = 0x80000005
2003-08-01 22:24:46 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:46 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-08-01 22:24:46 [6] DEBUG: message_id: NULL
2003-08-01 22:24:46 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:46 [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) terminates.
2003-08-01 22:24:46 [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) terminates.
2003-08-01 22:24:52 [6] DEBUG: SMPP[smpp1]: Sending enquire link:
2003-08-01 22:24:52 [6] DEBUG: SMPP PDU 0x816a368 dump:
2003-08-01 22:24:52 [6] DEBUG: type_name: enquire_link
2003-08-01 22:24:52 [6] DEBUG: command_id: 21 = 0x00000015
2003-08-01 22:24:52 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:52 [6] DEBUG: sequence_number: 3 = 0x00000003
2003-08-01 22:24:52 [6] DEBUG: SMPP PDU dump ends.
2003-08-01 22:24:52 [6] DEBUG: SMPP[smpp1]: Got PDU:
2003-08-01 22:24:52 [6] DEBUG: SMPP PDU 0x816a368 dump:
2003-08-01 22:24:52 [6] DEBUG: type_name: enquire_link_resp
2003-08-01 22:24:52 [6] DEBUG: command_id: 2147483669 = 0x80000015
2003-08-01 22:24:52 [6] DEBUG: command_status: 0 = 0x00000000
2003-08-01 22:24:52 [6] DEBUG: sequence_number: 3 = 0x00000003
2003-08-01 22:24:52 [6] DEBUG: SMPP PDU dump ends.