-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Alejandro Guerrieri wrote:
| I suppose that if you say that it's not working, no http request is
| being made, right?

some configs and logs:

[EMAIL PROTECTED] etc]# cat kannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = ********
status-password = ********
log-file = "/usr/local/kannel/logs/bearerbox.log"
log-level = 0
access-log = "/usr/local/kannel/logs/beareraccess.log"
store-file = "/usr/local/kannel/var/bearer.store"
#ssl-server-cert-file = "/usr/local/kannel/etc/ca.crt"
#ssl-server-key-file = "/usr/local/kannel/etc/ca.key"
dlr-storage = mysql

group = smsbox
smsbox-id = SMSBox1
bearerbox-host = localhost
sendsms-port = 13013
log-file = "/usr/local/kannel/logs/smsbox.log"
log-level = 0
access-log = "/usr/local/kannel/logs/smsboxaccess.log"

# Delivery Reports
group = mysql-connection
id = mydlr
host = localhost
username = ********
password = ********
database = dlr

# Delivery reports storage
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


include = "/usr/local/kannel/etc/smscs.conf"
include = "/usr/local/kannel/etc/users.conf"
include = "/usr/local/kannel/etc/services.conf"

smscs.conf:
include="/usr/local/kannel/etc/smscs/provider.conf"

users.conf:
include="/usr/local/kannel/etc/users/test.conf"

services.conf:
include="/usr/local/kannel/etc/services/services.conf"

smscs/provider.conf:
[EMAIL PROTECTED] etc]# cat smscs/Umniah.conf
group = smsc
smsc-id = provider
smsc = smpp
host = "10.1.1.154"
port = 5020
receive-port = 5020
smsc-username ="******"
smsc-password = "******"
transceiver-mode = false
system-type = "VMA"
interface-version = 34
source-addr-autodetect = false
send-url = "http://somedomain.com/getsms.php?from=%P&to=%p&text=%b";;
address-range = ""
allowed-prefix = "****;*****;***;"
preferred-prefix = "****;****;***;"

users/test.conf:
group = sendsms-user
username = ******
password = ******

services/services.conf:
group = sms-service
keyword = default
get-url = "http://somedomain/getsms.php?phone=%p&msg=%r";
catch-all = true

==cut here
2008-04-14 17:16:31 [11071] [6] DEBUG: SMPP[Umniah]: Sending enquire link:
2008-04-14 17:16:31 [11071] [6] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:16:31 [11071] [6] DEBUG:   type_name: enquire_link
2008-04-14 17:16:31 [11071] [6] DEBUG:   command_id: 21 = 0x00000015
2008-04-14 17:16:31 [11071] [6] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:16:31 [11071] [6] DEBUG:   sequence_number: 47 = 0x0000002f
2008-04-14 17:16:31 [11071] [6] DEBUG: SMPP PDU dump ends.
2008-04-14 17:16:31 [11071] [6] DEBUG: SMPP[Umniah]: Got PDU:
2008-04-14 17:16:31 [11071] [6] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:16:31 [11071] [6] DEBUG:   type_name: enquire_link_resp
2008-04-14 17:16:31 [11071] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2008-04-14 17:16:31 [11071] [6] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:16:31 [11071] [6] DEBUG:   sequence_number: 47 = 0x0000002f
2008-04-14 17:16:31 [11071] [6] DEBUG: SMPP PDU dump ends.
2008-04-14 17:16:31 [11071] [7] DEBUG: SMPP[Umniah]: Sending enquire link:
2008-04-14 17:16:31 [11071] [7] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:16:31 [11071] [7] DEBUG:   type_name: enquire_link
2008-04-14 17:16:31 [11071] [7] DEBUG:   command_id: 21 = 0x00000015
2008-04-14 17:16:31 [11071] [7] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:16:31 [11071] [7] DEBUG:   sequence_number: 48 = 0x00000030
2008-04-14 17:16:31 [11071] [7] DEBUG: SMPP PDU dump ends.
2008-04-14 17:16:32 [11071] [7] DEBUG: SMPP[Umniah]: Got PDU:
2008-04-14 17:16:32 [11071] [7] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:16:32 [11071] [7] DEBUG:   type_name: enquire_link_resp
2008-04-14 17:16:32 [11071] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2008-04-14 17:16:32 [11071] [7] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:16:32 [11071] [7] DEBUG:   sequence_number: 48 = 0x00000030
2008-04-14 17:16:32 [11071] [7] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:01 [11071] [7] DEBUG: SMPP[Umniah]: Sending enquire link:
2008-04-14 17:17:01 [11071] [7] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:01 [11071] [7] DEBUG:   type_name: enquire_link
2008-04-14 17:17:01 [11071] [7] DEBUG:   command_id: 21 = 0x00000015
2008-04-14 17:17:01 [11071] [7] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:01 [11071] [7] DEBUG:   sequence_number: 49 = 0x00000031
2008-04-14 17:17:01 [11071] [7] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:01 [11071] [7] DEBUG: SMPP[Umniah]: Got PDU:
2008-04-14 17:17:01 [11071] [7] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:01 [11071] [7] DEBUG:   type_name: enquire_link_resp
2008-04-14 17:17:01 [11071] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2008-04-14 17:17:01 [11071] [7] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:01 [11071] [7] DEBUG:   sequence_number: 49 = 0x00000031
2008-04-14 17:17:01 [11071] [7] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:01 [11071] [6] DEBUG: SMPP[Umniah]: Sending enquire link:
2008-04-14 17:17:01 [11071] [6] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:01 [11071] [6] DEBUG:   type_name: enquire_link
2008-04-14 17:17:01 [11071] [6] DEBUG:   command_id: 21 = 0x00000015
2008-04-14 17:17:01 [11071] [6] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:01 [11071] [6] DEBUG:   sequence_number: 50 = 0x00000032
2008-04-14 17:17:01 [11071] [6] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:01 [11071] [6] DEBUG: SMPP[Umniah]: Got PDU:
2008-04-14 17:17:01 [11071] [6] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:01 [11071] [6] DEBUG:   type_name: enquire_link_resp
2008-04-14 17:17:01 [11071] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2008-04-14 17:17:01 [11071] [6] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:01 [11071] [6] DEBUG:   sequence_number: 50 = 0x00000032
2008-04-14 17:17:01 [11071] [6] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:02 [11071] [4] WARNING: smsbox_list empty!
2008-04-14 17:17:31 [11071] [7] DEBUG: SMPP[Umniah]: Sending enquire link:
2008-04-14 17:17:31 [11071] [7] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:31 [11071] [7] DEBUG:   type_name: enquire_link
2008-04-14 17:17:31 [11071] [7] DEBUG:   command_id: 21 = 0x00000015
2008-04-14 17:17:31 [11071] [7] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:31 [11071] [7] DEBUG:   sequence_number: 51 = 0x00000033
2008-04-14 17:17:31 [11071] [7] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:31 [11071] [7] DEBUG: SMPP[Umniah]: Got PDU:
2008-04-14 17:17:31 [11071] [7] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:31 [11071] [7] DEBUG:   type_name: enquire_link_resp
2008-04-14 17:17:31 [11071] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2008-04-14 17:17:31 [11071] [7] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:31 [11071] [7] DEBUG:   sequence_number: 51 = 0x00000033
2008-04-14 17:17:31 [11071] [7] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:31 [11071] [6] DEBUG: SMPP[Umniah]: Sending enquire link:
2008-04-14 17:17:31 [11071] [6] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:31 [11071] [6] DEBUG:   type_name: enquire_link
2008-04-14 17:17:31 [11071] [6] DEBUG:   command_id: 21 = 0x00000015
2008-04-14 17:17:31 [11071] [6] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:31 [11071] [6] DEBUG:   sequence_number: 52 = 0x00000034
2008-04-14 17:17:31 [11071] [6] DEBUG: SMPP PDU dump ends.
2008-04-14 17:17:31 [11071] [6] DEBUG: SMPP[Umniah]: Got PDU:
2008-04-14 17:17:31 [11071] [6] DEBUG: SMPP PDU 0x8ea9480 dump:
2008-04-14 17:17:31 [11071] [6] DEBUG:   type_name: enquire_link_resp
2008-04-14 17:17:31 [11071] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2008-04-14 17:17:31 [11071] [6] DEBUG:   command_status: 0 = 0x00000000
2008-04-14 17:17:31 [11071] [6] DEBUG:   sequence_number: 52 = 0x00000034
2008-04-14 17:17:31 [11071] [6] DEBUG: SMPP PDU dump ends.

2008-04-14 17:05:02 [11094] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 11094.
2008-04-14 17:05:02 [11094] [0] DEBUG: Started thread 4 
(gw/smsbox.c:obey_request_thread)
2008-04-14 17:05:02 [11094] [0] DEBUG: Started thread 5 
(gw/smsbox.c:url_result_thread)
2008-04-14 17:05:02 [11094] [0] DEBUG: Started thread 6 
(gw/smsbox.c:http_queue_thread)
2008-04-14 17:05:02 [11094] [0] INFO: Connected to bearerbox at localhost port 
13001.
2008-04-14 17:05:02 [11094] [0] DEBUG: Started thread 7 
(gw/heartbeat.c:heartbeat_thread)
2008-04-14 17:05:02 [11094] [4] DEBUG: Thread 4 
(gw/smsbox.c:obey_request_thread) maps to pid 11094.
2008-04-14 17:05:02 [11094] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) 
maps to pid 11094.
2008-04-14 17:05:02 [11094] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) 
maps to pid 11094.
2008-04-14 17:05:02 [11094] [7] DEBUG: Thread 7 
(gw/heartbeat.c:heartbeat_thread) maps to pid 11094.

2008-04-14 16:48:01 Log begins
2008-04-14 16:48:47 Receive SMS [SMSC:Umniah] [SVC:] [ACT:] [BINF:] 
[from:+111111111111] [to:98940]
[flags:-1:0:-1:0:-1] [msg:12:Good day man] [udh:0:]
2008-04-14 16:49:36 Receive SMS [SMSC:Umniah] [SVC:] [ACT:] [BINF:I] 
[from:+111111111111] [to:98940]
[flags:-1:0:-1:0:-1] [msg:11:I love this] [udh:0:]
2008-04-14 16:55:01 Log begins
2008-04-14 16:55:37 Receive SMS [SMSC:Umniah] [SVC:] [ACT:] [BINF:] 
[from:+111111111111] [to:98940]
[flags:-1:0:-1:0:-1] [msg:18:What do you think?] [udh:0:]
2008-04-14 16:57:01 Log begins
2008-04-14 16:57:44 Receive SMS [SMSC:Umniah] [SVC:] [ACT:] [BINF:] 
[from:+111111111111] [to:98940]
[flags:-1:0:-1:0:-1] [msg:12:Good evening] [udh:0:]
2008-04-14 17:04:53 Log ends
2008-04-14 17:05:01 Log begins
2008-04-14 17:05:44 Receive SMS [SMSC:Umniah] [SVC:] [ACT:] [BINF:] 
[from:+111111111111] [to:98940]
[flags:-1:0:-1:0:-1] [msg:9:No limits] [udh:0:]

==cut here

Any ideas why the HTTP request to the sms-service's get-url does not happen?

- --
Arturo "Buanzo" Busleiman
Reliable inter-continental Mail Relay Service - Ask me!
Independent Security Consultant - SANS - OISSG
http://www.buanzo.com.ar/pro/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIA+KvAlpOsGhXcE0RCl3dAJ9dCH9YnPymYPmvY+10D+YYohsLzACeM6gR
v0kb6KVVPgG6uOMMb+R+HUo=
=h6G4
-----END PGP SIGNATURE-----

Reply via email to