Hi List,
I m new to kannel and the forum.
I installed kannel successfully and kannel runs fine.when i try to send
any message through HTTP sendsms interface.I just get 0: Accepted for
delivery.To make sure that the message is dellivered i tried with DLR.
seems no way DLR is getting called.sms submit and response are
excahnged.even i see in smsnox.log 2010-08-21 07:23:19 [13976] [9] DEBUG:
Parsing URL `http://smpp.e-goi.com/dl.php?dlr=8':.
First thing my DLR handling php is not called and i allways get dlr value
8 in log.I tried several ways but with no success.I get submit response
with status code 0 which other wise indicates no errors but still i can
not go ahead.
kannel.conf is as follows:
group = core
admin-port = 13000
admin-password = xxx
status-password = xxxx
#admin-deny-ip = ""
admin-allow-ip = "xxx.xx.xx.x"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = "*"
store-file = "/var/log/kannel/kannel.store"
#http-proxy-host = "xx.xx.xx.xx"
#http-proxy-port = 8081
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
# Smsbox related
#smsbox-port = 13001
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
#white-list = "http://127.0.0.1/white-list.txt"
#black-list = "http:/7.0.0.1/black-list.txt"
#store-file = "kannel.store"
# Wapbox related
group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
log-level = 0
access-log = "/var/log/kannel/wapaccess.log"
syslog-level = none
map-url = "http://127.0.0.1/* http://127.0.0.1:8080/*"
http-interface-name = localhost
#wapbox-port = 13002
#udp-deny-ip = "*.*.*.*"
#udp-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"
# PPG CORE SETUP, for defining the push request interface
group = ppg
ppg-url = /cgi-bin/sendsms
ppg-port = 8080
concurrent-pushes = 100
users = 1024
trusted-pi = true
#ppg-allow-ip = 127.0.0.1
ppg-allow-ip = "*.*.*.*"
service-name = sms
default-smsc = http
#TEST PAP PROTOCOL
#group = test-ppg
#retries = 2
#pi-ssl = yes
#group = configuration
#push-url = https://localhost:8080/etc/kannel.conf
#pap-file = /usr/local/gateway-1.4.1/test/push.control
#content-file = /etc/kannel/si.txt
#content-file = /usr/local/gateway-1.4.1/test/push.content
#username = tester
#password = foobar
# SMSC CONNECTIONS - GLOBAL FIELDS
#group = smsc
#smsc =
#smsc-id = ID
#denied-smsc-id = "X;Y"
#allowed-smsc-id = "Z"
#preferred-smsc-id = "W"
#allowed-prefix = "040;050"
#denied-prefix = "060;070"
#alt-charset =
# SMSC FAKE
group = smsc
smsc-id = A
smsc = fake
port = 10000
#connect-allow-ip = "*.*.*.*"
# SMSC SMPP
group = smsc
smsc = smpp
smsc-id = B
host = xxxx.xxxxx.com
port = 8888
transceiver-mode = 1
alt-charset = "ISO-8859-1"
msg-id-type=0x01
system-type = ""
address-range = ""
max-pending-submits = 10
#receive-port = 8080
smsc-username = "xxxx"
smsc-password = "xxxxxx"
#interface-version = 3.4
#connect-allow-ip = "*.*.*.*"
#keepalive = 50
# SMSC HTTP
group = smsc
smsc = http
system-type = kannel
smsc-username = tester
smsc-password = foobar
port = 13015
#connect-allow-ip = "*.*.*.*"
send-url = "http://www.xxxx.com:13015/cgi-bin/sendsms"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789+"
global-sender = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
sendsms-url = /cgi-bin/sendsms
#white-list =
#black-list =
#reply-couldnotfetch =
#reply-couldnotrepresent =
#reply-requestfailed =
#reply-emptymessage =
# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = "*.*.*.*"
user-allow-ip = "*.*.*.*"
max-messages = 15
concatenation = true
forced-smsc = B
dlr-url = "http://smpp.xxx.com/dl.php?dlr=%d"
group = sendsms-user
username = playsms
password = pwd
#user-deny-ip = ""
user-allow-ip = "*.*.*.*"
# this sender is for Kannel relay testing (http_smsc)
group = sendsms-user
username = kannel
password = rL4y
#user-deny-ip = "*.*.*.*"
user-allow-ip = "*.*.*.*"
#name = service_kannel
#forced-smsc = B
#default-smsc = ID
#faked-sended =
#max-messages = 1
#concatenation = 1
#split-chars =
#split-suffix =
#omit-empty =
#header =
#footer =
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =
# PPG USER SETUP, for authorizing a specific push user
group = wap-push-user
ppg-username = tester
ppg-password = foobar
#allow-ip = "127.0.0.1","194.79.95.3"
allowed-prefix = +221
default-smsc = http
# SMS SERVICES
#group = sms-service
#name = nothing
#keyword = nop
#aliases = "noppy;niente"
#text = "You asked nothing and I did it!"
#get-url = "http://"
#post-url = "http://"
#file = "/tmp/"
#accepted-smsc = ID
#allowed-prefix =
#denied-prefix =
#catch-all = false
#send-sender = false
#strip-keyword = false
#faked-sender =
#max-messages = 1
#accept-x-kannel-headers = false
#assume-plain-text = false
#concatenation = false
#split-chars =
#split-suffix = "+"
#omit-empty = true
#header =
#footer =
#prefix =
#suffix =
#white-list =
#black-list =
# SMS SERVICE GET-URL EXAMPLE
#group = sms-service
#keyword = relay
#get-url =
"http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t
# SMS SERVICE black-list
#group = sms-service
#keyword = black-list
#text = "You are not alowed to use this service, Go away!"
# SMS SERVICE Default
# there should be default always
#group = sms-service
#keyword = default
#text = "No service specified"
#group = sms-service
#keyword = ok
#get-url = "http://%S"
#text = "kannel fonctionne"
#group = sms-service
#keyword = sms
#name = "sms"
#post-url =
"http://127.0.0.1:13015/cgi-bin/sendsms?sender=%p&to=%P&text=%r"
#accept-x-kannel-headers = true
#max-messages = 3
#concatenation = true
#accepted-smsc = "at;http"
#group = sms-service
#keyword = page
#post-url = "http://127.0.0.1/index.php"
#concatenation = true
testsms.php is a sfollows
==================
<?php
$kannelHost = "localhost";
$kannelPort = "13013";
$userName = "tester";
$userPassword = "foobar";
$to = "+9437112909";
$from = "+9437112909";
$msg = "helloworld";
$dlrurl = "http://smpp.xxx.com/dl.php?dlr=%d";
$durl = urlencode($dlrurl);
$result =
curl_init("http://$kannelHost:$kannelPort/cgi-bin/sendsms?dlr-mask=8&dlr-url=$durl&username=$userName&password=$userPassword&from=$from&to=$to&text=$msg&coding=2&charset=iso-8859-7");
$data = curl_exec($result);
curl_close($result);
?>
DL.php is as follows:
<?php
$val=$_GET['dlr'];
print $val;
?>
smsbox.log
2010-08-21 07:22:02 [13976] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.
2010-08-21 07:22:02 [13976] [0] INFO: Service global sender set as
'13013'
2010-08-21 07:22:02 [13976] [0] INFO: Logging accesses to
'/var/log/kannel/access.log'.
2010-08-21 07:22:02 [13976] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2010-08-21 07:22:02 [13976] [0] INFO: HTTP: Opening server at port 13013.
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2010-08-21 07:22:02 [13976] [0] INFO: Set up send sms service at port
13013
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2010-08-21 07:22:02 [13976] [0] DEBUG:
----------------------------------------------
2010-08-21 07:22:02 [13976] [0] DEBUG: Kannel smsbox version 1.4.3
starting
2010-08-21 07:22:02 [13976] [0] DEBUG: dumping group (sendsms-user):
2010-08-21 07:22:02 [13976] [0] DEBUG: <user-allow-ip> = <*.*.*.*>
2010-08-21 07:22:02 [13976] [0] DEBUG: <group> = <sendsms-user>
2010-08-21 07:22:02 [13976] [0] DEBUG: <dlr-url> =
<http://smpp.xxx.com/dl.php?dlr=%d>
2010-08-21 07:22:02 [13976] [0] DEBUG: <max-messages> = <15>
2010-08-21 07:22:02 [13976] [0] DEBUG: <forced-smsc> = <Bc>
2010-08-21 07:22:02 [13976] [0] DEBUG: <username> = <tester>
2010-08-21 07:22:02 [13976] [0] DEBUG: <concatenation> = <true>
2010-08-21 07:22:02 [13976] [0] DEBUG: <password> = <foobar>
2010-08-21 07:22:02 [13976] [0] DEBUG: dumping group (sendsms-user):
2010-08-21 07:22:02 [13976] [0] DEBUG: <user-allow-ip> = <*.*.*.*>
2010-08-21 07:22:02 [13976] [0] DEBUG: <group> = <sendsms-user>
2010-08-21 07:22:02 [13976] [0] DEBUG: <username> = <playsms>
2010-08-21 07:22:02 [13976] [0] DEBUG: <password> = <pwd>
2010-08-21 07:22:02 [13976] [0] DEBUG: dumping group (sendsms-user):
2010-08-21 07:22:02 [13976] [0] DEBUG: <user-allow-ip> = <*.*.*.*>
2010-08-21 07:22:02 [13976] [0] DEBUG: <group> = <sendsms-user>
2010-08-21 07:22:02 [13976] [0] DEBUG: <username> = <kannel>
2010-08-21 07:22:02 [13976] [0] DEBUG: <password> = <xxxxx>
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2010-08-21 07:22:02 [13976] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 13976.
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2010-08-21 07:22:02 [13976] [0] INFO: Connected to bearerbox at localhost
port 13001.
2010-08-21 07:22:02 [13976] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 13976.
2010-08-21 07:22:02 [13976] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2010-08-21 07:22:02 [13976] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 13976.
2010-08-21 07:22:02 [13976] [3] DEBUG: Thread 3
(gw/smsbox.c:sendsms_thread) maps to pid 13976.
2010-08-21 07:22:02 [13976] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 13976.
2010-08-21 07:22:02 [13976] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 13976.
2010-08-21 07:22:02 [13976] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 13976.
2010-08-21 07:23:19 [13976] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2010-08-21 07:23:19 [13976] [2] DEBUG: HTTP: Created HTTPClient area
0x83bd770.
2010-08-21 07:23:19 [13976] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2010-08-21 07:23:19 [13976] [3] INFO: sendsms used by <tester>
2010-08-21 07:23:19 [13976] [3] INFO: sendsms sender:<tester:
351961591253> (127.0.0.1) to:< 351961591253> msg:<helloworld>
2010-08-21 07:23:19 [13976] [3] DEBUG: Stored UUID
8fa93902-d3e9-459e-9482-ba5b8195246d
2010-08-21 07:23:19 [13976] [3] DEBUG: message length 20, sending 1
messages
2010-08-21 07:23:19 [13976] [3] DEBUG: Status: 202 Answer: <Sent.>
2010-08-21 07:23:19 [13976] [3] DEBUG: Delayed reply - wait for bearerbox
2010-08-21 07:23:19 [13976] [0] DEBUG: Got ACK (0) of
8fa93902-d3e9-459e-9482-ba5b8195246d
2010-08-21 07:23:19 [13976] [0] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2010-08-21 07:23:19 [13976] [1] DEBUG: HTTP: Destroying HTTPClient area
0x83bd770.
2010-08-21 07:23:19 [13976] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2010-08-21 07:23:19 [13976] [4] INFO: Starting delivery report <tester>
from < 351961591253>
2010-08-21 07:23:19 [13976] [4] DEBUG: Started thread 8
(gwlib/fdset.c:poller)
2010-08-21 07:23:19 [13976] [4] DEBUG: Started thread 9
(gwlib/http.c:write_request_thread)
2010-08-21 07:23:19 [13976] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller)
maps to pid 13976.
2010-08-21 07:23:19 [13976] [9] DEBUG: Thread 9
(gwlib/http.c:write_request_thread) maps to pid 13976.
2010-08-21 07:23:19 [13976] [9] DEBUG: Queue contains 0 pending requests.
2010-08-21 07:23:19 [13976] [9] DEBUG: Parsing URL
`http://smpp.xxx.com/dl.php?dlr=8':
2010-08-21 07:23:19 [13976] [9] DEBUG: Scheme: http://
2010-08-21 07:23:19 [13976] [9] DEBUG: Host: smpp.xxx.com
2010-08-21 07:23:19 [13976] [9] DEBUG: Port: 80
2010-08-21 07:23:19 [13976] [9] DEBUG: Username: (null)
2010-08-21 07:23:19 [13976] [9] DEBUG: Password: (null)
2010-08-21 07:23:19 [13976] [9] DEBUG: Path: /dl.php
2010-08-21 07:23:19 [13976] [9] DEBUG: Query: dlr=8
2010-08-21 07:23:19 [13976] [9] DEBUG: Fragment: (null)
2010-08-21 07:23:19 [13976] [9] DEBUG: HTTP: Opening connection to
`smpp.xxx.com:80' (fd=28).
2010-08-21 07:23:19 [13976] [9] DEBUG: Socket connecting
2010-08-21 07:23:19 [13976] [8] DEBUG: Get info about connecting socket
2010-08-21 07:23:19 [13976] [8] DEBUG: HTTP: Sending request:
2010-08-21 07:23:19 [13976] [8] DEBUG: Octet string at 0x83bd170:
2010-08-21 07:23:19 [13976] [8] DEBUG: len: 102
2010-08-21 07:23:19 [13976] [8] DEBUG: size: 1024
2010-08-21 07:23:19 [13976] [8] DEBUG: immutable: 0
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 47 45 54 20 2f 64 6c 2e 70
68 70 3f 64 6c 72 3d GET /dl.php?dlr=
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 38 20 48 54 54 50 2f 31 2e
31 0d 0a 48 6f 73 74 8 HTTP/1.1..Host
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 3a 20 73 6d 70 70 2e 65 2d
67 6f 69 2e 63 6f 6d : smpp.xxx.com
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 0d 0a 43 6f 6e 6e 65 63 74
69 6f 6e 3a 20 6b 65 ..Connection: ke
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 65 70 2d 61 6c 69 76 65 0d
0a 55 73 65 72 2d 41 ep-alive..User-A
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 67 65 6e 74 3a 20 4b 61 6e
6e 65 6c 2f 31 2e 34 gent: Kannel/1.4
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 2e 33 0d 0a 0d 0a
.3....
2010-08-21 07:23:19 [13976] [8] DEBUG: Octet string dump ends.
2010-08-21 07:23:19 [13976] [8] DEBUG: HTTP: Status line: <HTTP/1.1 200
OK>
2010-08-21 07:23:19 [13976] [8] DEBUG: HTTP: Received response:
2010-08-21 07:23:19 [13976] [8] DEBUG: Octet string at 0x83c3ac0:
2010-08-21 07:23:19 [13976] [8] DEBUG: len: 211
2010-08-21 07:23:19 [13976] [8] DEBUG: size: 1024
2010-08-21 07:23:19 [13976] [8] DEBUG: immutable: 0
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 44 61 74 65 3a 20 53 61 74
2c 20 32 31 20 41 75 Date: Sat, 21 Au
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 67 20 32 30 31 30 20 30 36
3a 32 33 3a 31 39 20 g 2010 06:23:19
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 47 4d 54 0d 0a 53 65 72 76
65 72 3a 20 41 70 61 GMT..Server: Apa
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 63 68 65 2f 32 2e 32 2e 33
20 28 43 65 6e 74 4f che/2.2.3 (CentO
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 53 29 0d 0a 58 2d 50 6f 77
65 72 65 64 2d 42 79 S)..X-Powered-By
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 3a 20 50 48 50 2f 35 2e 32
2e 31 34 0d 0a 43 6f : PHP/5.2.14..Co
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 6e 74 65 6e 74 2d 4c 65 6e
67 74 68 3a 20 33 36 ntent-Length: 36
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 0d 0a 43 6f 6e 6e 65 63 74
69 6f 6e 3a 20 63 6c ..Connection: cl
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 6f 73 65 0d 0a 43 6f 6e 74
65 6e 74 2d 54 79 70 ose..Content-Typ
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 65 3a 20 74 65 78 74 2f 68
74 6d 6c 3b 20 63 68 e: text/html; ch
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 61 72 73 65 74 3d 55 54 46
2d 38 0d 0a 0d 0a 69 arset=UTF-8....i
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 6e 73 69 64 65 20 64 6c 72
20 70 68 70 73 74 61 nside dlr phpsta
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 74 75 73 3a 73 75 62 6d 69
74 20 50 65 6e 64 69 tus:submit Pendi
2010-08-21 07:23:19 [13976] [8] DEBUG: data: 6e 67 09
ng.
2010-08-21 07:23:19 [13976] [8] DEBUG: Octet string dump ends.
bearerbox.log
2010-08-21 07:21:57 [13948] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2010-08-21 07:21:57 [13948] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2010-08-21 07:21:57 [13948] [0] WARNING: 'store-file' option deprecated,
please use 'store-location' and 'store-type' instead.
2010-08-21 07:21:57 [13948] [0] INFO: HTTP: Opening server at port 13000.
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2010-08-21 07:21:57 [13948] [0] DEBUG: starting smsbox connection module
2010-08-21 07:21:57 [13948] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2010-08-21 07:21:57 [13948] [0] INFO: Set SMS resend frequency to 60
seconds.
2010-08-21 07:21:57 [13948] [0] INFO: SMS resend retry set to unlimited.
2010-08-21 07:21:57 [13948] [0] DEBUG: smsbox MO concatenated message
handling enabled
2010-08-21 07:21:57 [13948] [0] INFO: DLR rerouting for smsc id
disabled.
2010-08-21 07:21:57 [13948] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run)
maps to pid 13948.
2010-08-21 07:21:57 [13948] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 13948.
2010-08-21 07:21:57 [13948] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 13948.
2010-08-21 07:21:57 [13948] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 13948.
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 6
(gw/smsc/smsc_fake.c:fake_listener)
2010-08-21 07:21:57 [13948] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 13948.
2010-08-21 07:21:57 [13948] [0] INFO: DLR rerouting for smsc id <Bc>
disabled.
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 7
(gw/smsc/smsc_smpp.c:io_thread)
2010-08-21 07:21:57 [13948] [7] DEBUG: Thread 7
(gw/smsc/smsc_smpp.c:io_thread) maps to pid 13948.
2010-08-21 07:21:57 [13948] [6] DEBUG: Thread 6
(gw/smsc/smsc_fake.c:fake_listener) maps to pid 13948.
2010-08-21 07:21:57 [13948] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.
2010-08-21 07:21:57 [13948] [0] INFO: HTTP: Opening server at port 13015.
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 8
(gw/smsc/smsc_http.c:httpsmsc_receiver)
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 9
(gw/smsc/smsc_http.c:httpsmsc_send_cb)
2010-08-21 07:21:57 [13948] [0] INFO: HTTP[(null)]: Initiated and ready
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 10
(gw/bb_smscconn.c:sms_router)
2010-08-21 07:21:57 [13948] [0] DEBUG: starting UDP sender/receiver
module
2010-08-21 07:21:57 [13948] [0] INFO: Adding interface *
2010-08-21 07:21:57 [13948] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_receiver)
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 12
(gw/bb_udp.c:udp_sender)
2010-08-21 07:21:57 [13948] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 13
(gw/bb_udp.c:udp_receiver)
2010-08-21 07:21:57 [13948] [8] DEBUG: Thread 8
(gw/smsc/smsc_http.c:httpsmsc_receiver) maps to pid 13948.
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 14
(gw/bb_udp.c:udp_sender)
2010-08-21 07:21:57 [13948] [0] DEBUG: starting wapbox connection module
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 15
(gw/bb_boxc.c:wdp_to_wapboxes)
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 16
(gw/bb_boxc.c:wapboxc_run)
2010-08-21 07:21:57 [13948] [0] DEBUG: starting WDP router
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 17
(gw/bearerbox.c:wdp_router)
2010-08-21 07:21:57 [13948] [0] INFO:
----------------------------------------
2010-08-21 07:21:57 [13948] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2010-08-21 07:21:57 [13948] [0] INFO: Loading store file
`/var/log/kannel/kannel.store'
2010-08-21 07:21:57 [13948] [0] INFO: Store-file size 0, starting to
unpack
2010-08-21 07:21:57 [13948] [0] INFO: Retrieved 0 messages,
non-acknowledged messages: 0
2010-08-21 07:21:57 [13948] [0] DEBUG: Started thread 18
(gw/bb_store_file.c:store_dumper)
2010-08-21 07:21:57 [13948] [0] INFO: MAIN: Start-up done, entering
mainloop
2010-08-21 07:21:57 [13948] [0] DEBUG: smsc_fake: start called
2010-08-21 07:21:57 [13948] [14] DEBUG: Thread 14
(gw/bb_udp.c:udp_sender)
maps to pid 13948.
2010-08-21 07:21:57 [13948] [10] DEBUG: Thread 10
(gw/bb_smscconn.c:sms_router) maps to pid 13948.
2010-08-21 07:21:57 [13948] [15] DEBUG: Thread 15
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 13948.
2010-08-21 07:21:57 [13948] [16] DEBUG: Thread 16
(gw/bb_boxc.c:wapboxc_run) maps to pid 13948.
2010-08-21 07:21:57 [13948] [17] DEBUG: Thread 17
(gw/bearerbox.c:wdp_router) maps to pid 13948.
2010-08-21 07:21:57 [13948] [18] DEBUG: Thread 18
(gw/bb_store_file.c:store_dumper) maps to pid 13948.
2010-08-21 07:21:57 [13948] [18] DEBUG: Dumping 0 messages to store
2010-08-21 07:21:57 [13948] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_receiver) maps to pid 13948.
2010-08-21 07:21:57 [13948] [12] DEBUG: Thread 12
(gw/bb_udp.c:udp_sender)
maps to pid 13948.
2010-08-21 07:21:57 [13948] [13] DEBUG: Thread 13
(gw/bb_udp.c:udp_receiver) maps to pid 13948.
2010-08-21 07:21:57 [13948] [9] DEBUG: Thread 9
(gw/smsc/smsc_http.c:httpsmsc_send_cb) maps to pid 13948.
2010-08-21 07:21:57 [13948] [7] DEBUG: SMPP[B]: Sending PDU:
2010-08-21 07:21:57 [13948] [7] DEBUG: SMPP PDU 0x18477c20 dump:
2010-08-21 07:21:57 [13948] [7] DEBUG: type_name: bind_transceiver
2010-08-21 07:21:57 [13948] [7] DEBUG: command_id: 9 = 0x00000009
2010-08-21 07:21:57 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:21:57 [13948] [7] DEBUG: sequence_number: 1 = 0x00000001
2010-08-21 07:21:57 [13948] [7] DEBUG: system_id: "maxideia1"
2010-08-21 07:21:57 [13948] [7] DEBUG: password: "rVgyCmmE"
2010-08-21 07:21:57 [13948] [7] DEBUG: system_type: ""
2010-08-21 07:21:57 [13948] [7] DEBUG: interface_version: 52 =
0x00000034
2010-08-21 07:21:57 [13948] [7] DEBUG: addr_ton: 0 = 0x00000000
2010-08-21 07:21:57 [13948] [7] DEBUG: addr_npi: 0 = 0x00000000
2010-08-21 07:21:57 [13948] [7] DEBUG: address_range: ""
2010-08-21 07:21:57 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:21:57 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:21:57 [13948] [7] DEBUG: SMPP PDU 0x18477c20 dump:
2010-08-21 07:21:57 [13948] [7] DEBUG: type_name: bind_transceiver_resp
2010-08-21 07:21:57 [13948] [7] DEBUG: command_id: 2147483657 =
0x80000009
2010-08-21 07:21:57 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:21:57 [13948] [7] DEBUG: sequence_number: 1 = 0x00000001
2010-08-21 07:21:57 [13948] [7] DEBUG: system_id: "InfoBipVSMSC"
2010-08-21 07:21:57 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:22:02 [13948] [16] INFO: Client connected from <127.0.0.1>
2010-08-21 07:22:02 [13948] [16] DEBUG: Started thread 19
(gw/bb_boxc.c:function)
2010-08-21 07:22:02 [13948] [19] DEBUG: Thread 19 (gw/bb_boxc.c:function)
maps to pid 13948.
2010-08-21 07:22:02 [13948] [19] DEBUG: setting up systems for new wapbox
2010-08-21 07:22:02 [13948] [19] DEBUG: Started thread 20
(gw/bb_boxc.c:boxc_sender)
2010-08-21 07:22:02 [13948] [20] DEBUG: Thread 20
(gw/bb_boxc.c:boxc_sender) maps to pid 13948.
2010-08-21 07:22:02 [13948] [5] INFO: Client connected from <127.0.0.1>
2010-08-21 07:22:02 [13948] [5] DEBUG: Started thread 21
(gw/bb_boxc.c:function)
2010-08-21 07:22:02 [13948] [21] DEBUG: Thread 21 (gw/bb_boxc.c:function)
maps to pid 13948.
2010-08-21 07:22:02 [13948] [21] DEBUG: Started thread 22
(gw/bb_boxc.c:boxc_sender)
2010-08-21 07:22:02 [13948] [22] DEBUG: Thread 22
(gw/bb_boxc.c:boxc_sender) maps to pid 13948.
2010-08-21 07:22:27 [13948] [7] DEBUG: SMPP[B]: Sending enquire link:
2010-08-21 07:22:27 [13948] [7] DEBUG: SMPP PDU 0x184913d0 dump:
2010-08-21 07:22:27 [13948] [7] DEBUG: type_name: enquire_link
2010-08-21 07:22:27 [13948] [7] DEBUG: command_id: 21 = 0x00000015
2010-08-21 07:22:27 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:22:27 [13948] [7] DEBUG: sequence_number: 2 = 0x00000002
2010-08-21 07:22:27 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:22:28 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:22:28 [13948] [7] DEBUG: SMPP PDU 0x1849b740 dump:
2010-08-21 07:22:28 [13948] [7] DEBUG: type_name: enquire_link_resp
2010-08-21 07:22:28 [13948] [7] DEBUG: command_id: 2147483669 =
0x80000015
2010-08-21 07:22:28 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:22:28 [13948] [7] DEBUG: sequence_number: 2 = 0x00000002
2010-08-21 07:22:28 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:22:57 [13948] [7] DEBUG: SMPP[B]: Sending enquire link:
2010-08-21 07:22:57 [13948] [7] DEBUG: SMPP PDU 0x1849c5c0 dump:
2010-08-21 07:22:57 [13948] [7] DEBUG: type_name: enquire_link
2010-08-21 07:22:57 [13948] [7] DEBUG: command_id: 21 = 0x00000015
2010-08-21 07:22:57 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:22:57 [13948] [7] DEBUG: sequence_number: 3 = 0x00000003
2010-08-21 07:22:57 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:22:57 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:22:57 [13948] [7] DEBUG: SMPP PDU 0x1849c5e0 dump:
2010-08-21 07:22:57 [13948] [7] DEBUG: type_name: enquire_link_resp
2010-08-21 07:22:57 [13948] [7] DEBUG: command_id: 2147483669 =
0x80000015
2010-08-21 07:22:57 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:22:57 [13948] [7] DEBUG: sequence_number: 3 = 0x00000003
2010-08-21 07:22:57 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:23:19 [13948] [21] DEBUG: boxc_receiver: sms received
2010-08-21 07:23:19 [13948] [21] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2010-08-21 07:23:19 [13948] [7] DEBUG: SMPP[B]: Sending PDU:
2010-08-21 07:23:19 [13948] [7] DEBUG: SMPP PDU 0x1849c5e0 dump:
2010-08-21 07:23:19 [13948] [7] DEBUG: type_name: submit_sm
2010-08-21 07:23:19 [13948] [7] DEBUG: command_id: 4 = 0x00000004
2010-08-21 07:23:19 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: sequence_number: 4 = 0x00000004
2010-08-21 07:23:19 [13948] [7] DEBUG: service_type: NULL
2010-08-21 07:23:19 [13948] [7] DEBUG: source_addr_ton: 5 = 0x00000005
2010-08-21 07:23:19 [13948] [7] DEBUG: source_addr_npi: 0 = 0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: source_addr: " 9437112909"
2010-08-21 07:23:19 [13948] [7] DEBUG: dest_addr_ton: 2 = 0x00000002
2010-08-21 07:23:19 [13948] [7] DEBUG: dest_addr_npi: 1 = 0x00000001
2010-08-21 07:23:19 [13948] [7] DEBUG: destination_addr: "9437112909"
2010-08-21 07:23:19 [13948] [7] DEBUG: esm_class: 3 = 0x00000003
2010-08-21 07:23:19 [13948] [7] DEBUG: protocol_id: 0 = 0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: priority_flag: 0 = 0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: schedule_delivery_time: NULL
2010-08-21 07:23:19 [13948] [7] DEBUG: validity_period: NULL
2010-08-21 07:23:19 [13948] [7] DEBUG: registered_delivery: 0 =
0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: replace_if_present_flag: 0 =
0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: data_coding: 8 = 0x00000008
2010-08-21 07:23:19 [13948] [7] DEBUG: sm_default_msg_id: 0 =
0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: sm_length: 20 = 0x00000014
2010-08-21 07:23:19 [13948] [7] DEBUG: short_message:
2010-08-21 07:23:19 [13948] [7] DEBUG: Octet string at 0x1849c9a0:
2010-08-21 07:23:19 [13948] [7] DEBUG: len: 20
2010-08-21 07:23:19 [13948] [7] DEBUG: size: 21
2010-08-21 07:23:19 [13948] [7] DEBUG: immutable: 0
2010-08-21 07:23:19 [13948] [7] DEBUG: data: 00 68 00 65 00 6c 00 6c
00 6f 00 77 00 6f 00 72 .h.e.l.l.o.w.o.r
2010-08-21 07:23:19 [13948] [7] DEBUG: data: 00 6c 00 64
.l.d
2010-08-21 07:23:19 [13948] [7] DEBUG: Octet string dump ends.
2010-08-21 07:23:19 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:23:19 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:23:19 [13948] [7] DEBUG: SMPP PDU 0x1849c5e0 dump:
2010-08-21 07:23:19 [13948] [7] DEBUG: type_name: submit_sm_resp
2010-08-21 07:23:19 [13948] [7] DEBUG: command_id: 2147483652 =
0x80000004
2010-08-21 07:23:19 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:23:19 [13948] [7] DEBUG: sequence_number: 4 = 0x00000004
2010-08-21 07:23:19 [13948] [7] DEBUG: message_id: "50082115231209964"
2010-08-21 07:23:19 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:23:19 [13948] [7] DEBUG: SMSC[B]: creating DLR message
2010-08-21 07:23:19 [13948] [7] DEBUG: SMSC[B]: DLR =
http://smpp.xxx.com/dl.php?dlr=%d
2010-08-21 07:23:19 [13948] [22] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2010-08-21 07:23:19 [13948] [22] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2010-08-21 07:23:19 [13948] [21] DEBUG: boxc_receiver: got ack
2010-08-21 07:23:27 [13948] [7] DEBUG: SMPP[B]: Sending enquire link:
2010-08-21 07:23:27 [13948] [7] DEBUG: SMPP PDU 0x184a1c50 dump:
2010-08-21 07:23:27 [13948] [7] DEBUG: type_name: enquire_link
2010-08-21 07:23:27 [13948] [7] DEBUG: command_id: 21 = 0x00000015
2010-08-21 07:23:27 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:23:27 [13948] [7] DEBUG: sequence_number: 5 = 0x00000005
2010-08-21 07:23:27 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:23:27 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:23:27 [13948] [7] DEBUG: SMPP PDU 0x1849f270 dump:
2010-08-21 07:23:27 [13948] [7] DEBUG: type_name: enquire_link_resp
2010-08-21 07:23:27 [13948] [7] DEBUG: command_id: 2147483669 =
0x80000015
2010-08-21 07:23:27 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:23:27 [13948] [7] DEBUG: sequence_number: 5 = 0x00000005
2010-08-21 07:23:27 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:23:32 [13948] [21] DEBUG: boxc_receiver: heartbeat with
load
value 0 received
2010-08-21 07:23:37 [13948] [18] DEBUG: Dumping 0 messages to store
2010-08-21 07:23:57 [13948] [7] DEBUG: SMPP[B]: Sending enquire link:
2010-08-21 07:23:57 [13948] [7] DEBUG: SMPP PDU 0x1849f270 dump:
2010-08-21 07:23:57 [13948] [7] DEBUG: type_name: enquire_link
2010-08-21 07:23:57 [13948] [7] DEBUG: command_id: 21 = 0x00000015
2010-08-21 07:23:57 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:23:57 [13948] [7] DEBUG: sequence_number: 6 = 0x00000006
2010-08-21 07:23:57 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:23:57 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:23:57 [13948] [7] DEBUG: SMPP PDU 0x1849f270 dump:
2010-08-21 07:23:57 [13948] [7] DEBUG: type_name: enquire_link_resp
2010-08-21 07:23:57 [13948] [7] DEBUG: command_id: 2147483669 =
0x80000015
2010-08-21 07:23:57 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:23:57 [13948] [7] DEBUG: sequence_number: 6 = 0x00000006
2010-08-21 07:23:57 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:24:27 [13948] [7] DEBUG: SMPP[B]: Sending enquire link:
2010-08-21 07:24:27 [13948] [7] DEBUG: SMPP PDU 0x1849f270 dump:
2010-08-21 07:24:27 [13948] [7] DEBUG: type_name: enquire_link
2010-08-21 07:24:27 [13948] [7] DEBUG: command_id: 21 = 0x00000015
2010-08-21 07:24:27 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:24:27 [13948] [7] DEBUG: sequence_number: 7 = 0x00000007
2010-08-21 07:24:27 [13948] [7] DEBUG: SMPP PDU dump ends.
2010-08-21 07:24:28 [13948] [7] DEBUG: SMPP[B]: Got PDU:
2010-08-21 07:24:28 [13948] [7] DEBUG: SMPP PDU 0x1849f270 dump:
2010-08-21 07:24:28 [13948] [7] DEBUG: type_name: enquire_link_resp
2010-08-21 07:24:28 [13948] [7] DEBUG: command_id: 2147483669 =
0x80000015
2010-08-21 07:24:28 [13948] [7] DEBUG: command_status: 0 = 0x00000000
2010-08-21 07:24:28 [13948] [7] DEBUG: sequence_number: 7 = 0x00000007
2010-08-21 07:24:28 [13948] [7] DEBUG: SMPP PDU dump ends.