ok so you are connected on SMPP protocol.
as I said you should talk to your server and ask them to send DLR PDU
to you. status 8 created after you get submit_sm_resp PDU. and it
means your dlr's has problem
On 9/4/07, *Jins* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
On 04/09/07, *Jins* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
here is my conf ..core group is also there..but not included here
group = smsbox
bearerbox-host = "XXX.XXX.XXX"
sendsms-port = 14001
#global-sender = 1234456
#sendsms-chars = "+123456780"
access-log = "/var/log/kannel/kannel.smsbox.access-log"
log-file = "/var/log/kannel/kannel.smsbox.log"
log-level = 0
group = smsc
smsc = smpp
host = " XXXX.COM <http://XXXX.COM>"
port = 7677
receive-port = 7677
smsc-id = test
keepalive = 60
reconnect-delay = 60
#transceiver-mode = true
smsc-username = XXX
smsc-password = XXXX
system-type = ""
group = sendsms-user
username = XXXX
password = XXXX
dlr-url = http://www.XXXX.COM/dlrupdate.php?type=%d&text=%r
<http://www.XXXX.COM/dlrupdate.php?type=%25d&text=%25r>
concatenation = true
max-messages = 100
group = mysql-connection
id = mydlr
host =localhost
username = xxxx
password = xxx
database = xxxx
max-connections = 1
group = dlr-db
id = mydlr
#host = " xxx.xxx.xxx "
table = kannel_table
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
On 04/09/07, *Vahid Ghafarpour* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I don't know your exact configuration. but I had this
problem when our SMPP server couldn't router DLR messages
to us. as you find in your kannel.log you didn't recieve
any DLR PDU
On 9/4/07, *Paweł Buńko* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I have the same problem with osid smsc through kannel
Jins napisał(a):
On 04/09/07, *Jins* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>> wrote:
Hello all,
Am not able to get the delivery status to the
phone. Am getting
status 8 only. I need to know the status of
delivery to the phone.
I have configured the mysql group and the sending
sms were
inserted into the DB and also the dlr-url in the
sendsms-user
group is also workin...but am getting status 8:
Delivered to
SMSC,...am giving dlr-mask =31 in the url.
How can i know the delivery status to the phone
one more thing my url field and boxc field is
empty...
this is the log am getting
2007-09-04 07:58:50 [19750] [0] INFO: Starting to
log to file
/var/log/kannel/kannel.smsbox.log level 0
2007-09-04 07:58:50 [19750] [0] INFO: Added logfile
`/var/log/kannel/kannel.smsbox.log' with level `0'.
2007-09-04 07:58:50 [19750] [0] INFO: Logging
accesses to
'/var/log/kannel/kannel.smsbox.access-log'.
2007-09-04 07:58:50 [19750] [0] INFO: Started
access logfile
`/var/log/kannel/kannel.smsbox.access-log'.
2007-09-04 07:58:50 [19750] [0] INFO: HTTP:
Opening server at port
14001.
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 1
(gwlib/fdset.c:poller)
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 2
(gwlib/http.c:server_thread)
2007-09-04 07:58:50 [19750] [1] DEBUG: Thread 1
(gwlib/fdset.c:poller) maps to pid 19750.
2007-09-04 07:58:50 [19750] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 19750.
2007-09-04 07:58:50 [19750] [0] INFO: Set up send
sms service at
port 14001
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 3
(gw/smsbox.c:sendsms_thread)
2007-09-04 07:58:50 [19750] [0] DEBUG:
----------------------------------------------
2007-09-04 07:58:50 [19750] [0] DEBUG: Kannel
smsbox version 1.4.1
starting
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 4
(gw/smsbox.c:obey_request_thread)
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 5
(gw/smsbox.c:url_result_thread)
2007-09-04 07:58:50 [19750] [3] DEBUG: Thread 3
(gw/smsbox.c:sendsms_thread) maps to pid 19750.
2007-09-04 07:58:50 [19750] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 19750.
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 6
(gw/smsbox.c:http_queue_thread)
2007-09-04 07:58:50 [19750] [0] INFO: Connected
to bearerbox at
72.249.126.222 <http://72.249.126.222>
<http://72.249.126.222 <http://72.249.126.222>> port
13011.
2007-09-04 07:58:50 [19750] [0] DEBUG: Started
thread 7
(gw/heartbeat.c:heartbeat_thread)
2007-09-04 07:58:50 [19750] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 19750.
2007-09-04 07:58:50 [19750] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 19750.
2007-09-04 07:58:50 [19750] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 19750.
2007-09-04 07:59:11 [19750] [2] DEBUG: HTTP:
Creating HTTPClient
for `122.167.50.25'.
2007-09-04 07:59:11 [19750] [2] DEBUG: HTTP:
Created HTTPClient
area 0x7ad060.
2007-09-04 07:59:11 [19750] [3] INFO: smsbox: Got
HTTP request
</cgi-bin/sendsms> from < 122.167.50.25
<http://122.167.50.25> <http://122.167.50.25
<http://122.167.50.25>>>
2007-09-04 07:59:11 [19750] [3] INFO: sendsms
used by <jins>
2007-09-04 07:59:11 [19750] [3] INFO: sendsms
sender:<jins:sanil>
( 122.167.50.25 <http://122.167.50.25>
<http://122.167.50.25>) to:<919895433183> msg:<2222>
2007-09-04 07:59:11 [19750] [3] DEBUG: Stored UUID
fc28be6d-1b89-4bce-9d2b-f05d3030c375
2007-09-04 07:59:11 [19750] [3] DEBUG: message
length 4, sending 1
messages
2007-09-04 07:59:11 [19750] [3] DEBUG: Status:
202 Answer: <Sent.>
2007-09-04 07:59:11 [19750] [3] DEBUG: Delayed
reply - wait for
bearerbox
2007-09-04 07:59:11 [19750] [0] DEBUG: Got ACK (0) of
fc28be6d-1b89-4bce-9d2b-f05d3030c375
2007-09-04 07:59:11 [19750] [0] DEBUG: HTTP:
Resetting HTTPClient
for `122.167.50.25'.
2007-09-04 07:59:11 [19750] [4] INFO: Starting
delivery report
<jins> from <sanil>
2007-09-04 07:59:11 [19750] [4] DEBUG: Started
thread 8
(gwlib/fdset.c:poller)
2007-09-04 07:59:11 [19750] [4] DEBUG: Started
thread 9
(gwlib/http.c:write_request_thread)
2007-09-04 07:59:11 [19750] [8] DEBUG: Thread 8
(gwlib/fdset.c:poller) maps to pid 19750.
2007-09-04 07:59:11 [19750] [9] DEBUG: Thread 9
(gwlib/http.c:write_request_thread) maps to pid
19750.
2007-09-04 07:59:11 [19750] [9] DEBUG: Parsing URL
`http://www.torque.co.in/dlrupdate.php?type=8&text=':
2007-09-04 07:59:11 [19750] [9] DEBUG: Scheme:
http://
2007-09-04 07:59:11 [19750] [9] DEBUG: Host:
www.torque.co.in <http://www.torque.co.in>
< http://www.torque.co.in>
2007-09-04 07:59:11 [19750] [9] DEBUG: Port: 80
2007-09-04 07:59:11 [19750] [9] DEBUG:
Username: (null)
2007-09-04 07:59:11 [19750] [9] DEBUG:
Password: (null)
2007-09-04 07:59:11 [19750] [9] DEBUG: Path:
/dlrupdate.php
2007-09-04 07:59:11 [19750] [9] DEBUG: Query:
type=8&text=
2007-09-04 07:59:11 [19750] [9] DEBUG:
Fragment: (null)
2007-09-04 07:59:12 [19750] [9] DEBUG: HTTP:
Opening connection to
`www.torque.co.in:80' (fd=29).
2007-09-04 07:59:12 [19750] [9] DEBUG: Socket
connecting
2007-09-04 07:59:12 [19750] [8] DEBUG: Get info
about connecting
socket
2007-09-04 07:59:12 [19750] [8] DEBUG: HTTP:
Sending request:
2007-09-04 07:59:12 [19750] [8] DEBUG: Octet
string at 0x7a1e50:
2007-09-04 07:59:12 [19750] [8] DEBUG: len: 94
2007-09-04 07:59:12 [19750] [8] DEBUG: size: 1024
2007-09-04 07:59:12 [19750] [8] DEBUG: immutable: 0
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 47
45 54 20 2f 64
6c 72 75 70 64 61 74 65 2e 70 GET /dlrupdate.p
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 68
70 3f 74 79 70
65 3d 38 26 74 65 78 74 3d 20 hp?type=8&text=
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 48
54 54 50 2f 31
2e 31 0d 0a 48 6f 73 74 3a 20 HTTP/1.1..Host:
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 77
77 77 2e 74 6f
72 71 75 65 2e 63 6f 2e 69 6e www.torque.co.in
<http://www.torque.co.in>
<http://www.torque.co.in>
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 0d
0a 55 73 65 72
2d 41 67 65 6e 74 3a 20 4b 61 ..User-Agent: Ka
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 6e
6e 65 6c 2f 31
2e 34 2e 31 0d 0a 0d 0a nnel/1.4.1....
2007-09-04 07:59:12 [19750] [8] DEBUG: Octet
string dump ends.
2007-09-04 07:59:12 [19750] [8] DEBUG: HTTP:
Status line:
<HTTP/1.1 200 OK>
2007-09-04 07:59:12 [19750] [8] DEBUG: HTTP:
Received response:
2007-09-04 07:59:12 [19750] [8] DEBUG: Octet
string at 0x7a1f50:
2007-09-04 07:59:12 [19750] [8] DEBUG: len: 472
2007-09-04 07:59:12 [19750] [8] DEBUG: size: 1024
2007-09-04 07:59:12 [19750] [8] DEBUG: immutable: 0
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 44
61 74 65 3a 20
54 75 65 2c 20 30 34 20 53 65 Date: Tue, 04 Se
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 70
20 32 30 30 37
20 31 31 3a 35 39 3a 31 32 20 p 2007 11:59:12
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 47
4d 54 0d 0a 53
65 72 76 65 72 3a 20 41 70 61 GMT..Server: Apa
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 63
68 65 2f 31 2e
33 2e 33 37 20 28 55 6e 69 78 che/1.3.37 (Unix
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 29
20 6d 6f 64 5f
6a 6b 2f 31 2e 32 2e 31 34 20 ) mod_jk/1.2.14
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 6d
6f 64 5f 61 75
74 68 5f 70 61 73 73 74 68 72 mod_auth_passthr
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 6f
75 67 68 2f 31
2e 38 20 6d 6f 64 5f 6c 6f 67 ough/1.8 mod_log
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 5f
62 79 74 65 73
2f 31 2e 32 20 6d 6f 64 5f 62 _bytes/1.2 mod_b
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 77
6c 69 6d 69 74
65 64 2f 31 2e 34 20 6d 6f 64 wlimited/1.4 mod
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 5f
73 73 6c 2f 32
2e 38 2e 32 38 20 4f 70 65 6e _ssl/2.8.28 Open
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 53
53 4c 2f 30 2e
39 2e 37 61 0d 0a 54 72 61 6e SSL/0.9.7a..Tran
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 73
66 65 72 2d 45
6e 63 6f 64 69 6e 67 3a 20 63 sfer-Encoding: c
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 68
75 6e 6b 65 64
0d 0a 43 6f 6e 74 65 6e 74 2d hunked..Content-
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 54
79 70 65 3a 20
74 65 78 74 2f 68 74 6d 6c 0d Type: text/html.
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 0a
0d 0a 3c 21 44
4f 43 54 59 50 45 20 48 54 4d ...<!DOCTYPE HTM
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 4c
20 50 55 42 4c
49 43 20 22 2d 2f 2f 57 33 43 L PUBLIC "-//W3C
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 2f
2f 44 54 44 20
48 54 4d 4c 20 34 2e 30 31 20 //DTD HTML 4.01
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 54
72 61 6e 73 69
74 69 6f 6e 61 6c 2f 2f 45 4e Transitional//EN
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 22
3e 0d 0a 3c 68
74 6d 6c 3e 0d 0a 3c 68 65 61 ">..<html>..<hea
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 64
3e 0d 0a 3c 74
69 74 6c 65 3e 50 68 6f 6e 65 d>..<title>Phone
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 20
42 6f 6f 6b 20
49 6e 73 65 72 74 69 6f 6e 3c Book Insertion<
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 2f
74 69 74 6c 65
3e 0d 0a 3c 6d 65 74 61 20 68 /title>..<meta h
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 74
74 70 2d 65 71
75 69 76 3d 22 43 6f 6e 74 65 ttp-equiv="Conte
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 6e
74 2d 54 79 70
65 22 20 63 6f 6e 74 65 6e 74 nt-Type" content
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 3d
22 74 65 78 74
2f 68 74 6d 6c 3b 20 63 68 61 ="text/html; cha
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 72
73 65 74 3d 69
73 6f 2d 38 38 35 39 2d 31 22 rset=iso-8859-1"
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 3e
0d 0a 3c 2f 68
65 61 64 3e 0d 0a 0d 0a 3c 62 >..</head>....<b
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 6f
64 79 0d 0a 0d
0a 3c 70 3e 26 6e 62 73 70 3b ody....<p>
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 3c
2f 70 3e 0d 0a
3c 2f 62 6f 64 79 3e 0d 0a 3c </p>..</body>..<
2007-09-04 07:59:12 [19750] [8] DEBUG: data: 2f
68 74 6d 6c 3e
0d 0a /html>..
2007-09-04 07:59:12 [19750] [8] DEBUG: Octet
string dump ends.
--
--Vahid Ghafarpour.
http://vahid.ghafarpour.ir/
vahid at ghafarpour dot ir
ghafarpour at gmail dot com