Hi,

I have included detailed logs relevant to the problem, Please find below.

Kannel Logs:
Bearerbox.log
2010-11-11 12:02:46 [9117] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2010-11-11 12:02:46 [9117] [0] INFO: HTTP: Opening server at port 13000.
2010-11-11 12:02:46 [9117] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2010-11-11 12:02:46 [9117] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-11-11 12:02:46 [9117] [0] INFO: SMS resend retry set to unlimited.
2010-11-11 12:02:46 [9117] [0] INFO: Set throughput to 200.000 for smsc id
<fake>
2010-11-11 12:02:46 [9117] [0] INFO: DLR rerouting for smsc id <fake>
disabled.
2010-11-11 12:02:46 [9117] [0] INFO: Added logfile
`/var/log/kannel/fake.log' with level `0'.
2010-11-11 12:02:46 [9117] [0] WARNING: Both 'allowed-smsc-id' and
'denied-smsc-id' set, deny-list automatically ignored
2010-11-11 12:02:46 [9117] [0] INFO: Adding interface *
2010-11-11 12:02:46 [9117] [0] ERROR: Missing wapbox-port variable, cannot
start WAP
2010-11-11 12:02:46 [9117] [0] INFO:
----------------------------------------
2010-11-11 12:02:46 [9117] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2010-11-11 12:02:46 [9117] [0] INFO: MAIN: Start-up done, entering mainloop
2010-11-11 12:02:46 [9117] [5] INFO: Client connected from <127.0.0.1>
2010-11-11 12:02:46 [9117] [6] INFO: Logging thread `6' to logfile
`/var/log/kannel/loopa.log' with level `0'.
2010-11-11 12:05:19 [9117] [13] INFO: Connection closed by the box
<127.0.0.1>
2010-11-11 12:05:19 [9117] [0] WARNING: Killing signal or HTTP admin command
received, shutting down...
2010-11-11 12:05:20 [9117] [0] INFO: All flow threads have died, killing
core
2010-11-11 12:05:20 [9117] [0] INFO: Total WDP messages: received 0, sent 0
2010-11-11 12:05:20 [9117] [0] INFO: Total SMS messages: received 0, sent 0

Smsc.log
2010-11-11 12:04:46 [9117] [6] DEBUG:   command_status: 0 = 0x00000000
2010-11-11 12:04:46 [9117] [6] DEBUG:   sequence_number: 5 = 0x00000005
2010-11-11 12:04:46 [9117] [6] DEBUG: SMPP PDU dump ends.
2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP[fake]: Sending enquire link:
2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU 0x9d27568 dump:
2010-11-11 12:05:16 [9117] [6] DEBUG:   type_name: enquire_link
2010-11-11 12:05:16 [9117] [6] DEBUG:   command_id: 21 = 0x00000015
2010-11-11 12:05:16 [9117] [6] DEBUG:   command_status: 0 = 0x00000000
2010-11-11 12:05:16 [9117] [6] DEBUG:   sequence_number: 6 = 0x00000006
2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU dump ends.
2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP[fake]: Got PDU:
2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU 0x9d27568 dump:
2010-11-11 12:05:16 [9117] [6] DEBUG:   type_name: enquire_link_resp
2010-11-11 12:05:16 [9117] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2010-11-11 12:05:16 [9117] [6] DEBUG:   command_status: 0 = 0x00000000
2010-11-11 12:05:16 [9117] [6] DEBUG:   sequence_number: 6 = 0x00000006
2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU dump ends.
2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP[fake]: Sending unbind:
2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU 0x9d2f4e0 dump:
2010-11-11 12:05:19 [9117] [6] DEBUG:   type_name: unbind
2010-11-11 12:05:19 [9117] [6] DEBUG:   command_id: 6 = 0x00000006
2010-11-11 12:05:19 [9117] [6] DEBUG:   command_status: 0 = 0x00000000
2010-11-11 12:05:19 [9117] [6] DEBUG:   sequence_number: 7 = 0x00000007
2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU dump ends.
2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP[fake]: Got PDU:
2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU 0x9d2f4e0 dump:
2010-11-11 12:05:19 [9117] [6] DEBUG:   type_name: unbind_resp
2010-11-11 12:05:19 [9117] [6] DEBUG:   command_id: 2147483654 = 0x80000006
2010-11-11 12:05:19 [9117] [6] DEBUG:   command_status: 0 = 0x00000000
2010-11-11 12:05:19 [9117] [6] DEBUG:   sequence_number: 7 = 0x00000007
2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU dump ends.
2010-11-11 12:05:20 [9117] [6] DEBUG: SMPP[fake]: io_thread: break and
shutting down
2010-11-11 12:05:20 [9117] [6] DEBUG: Thread 6
(gw/smsc/smsc_smpp.c:io_thread) terminates.


Smsbox.log
2010-11-11 12:02:46 [9127] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.
2010-11-11 12:02:46 [9127] [0] INFO: Service global sender set as 'XXXXX'
2010-11-11 12:02:46 [9127] [0] INFO: Logging accesses to
'/var/log/kannel/access.log'.
2010-11-11 12:02:46 [9127] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2010-11-11 12:02:46 [9127] [0] INFO: HTTP: Opening server at port 13013.
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2010-11-11 12:02:46 [9127] [0] INFO: Set up send sms service at port 13013
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2010-11-11 12:02:46 [9127] [0] INFO: Using HTTP request queueing with 10
retries, 10s delay.
2010-11-11 12:02:46 [9127] [0] DEBUG:
----------------------------------------------
2010-11-11 12:02:46 [9127] [0] DEBUG: Kannel smsbox version 1.4.3 starting
2010-11-11 12:02:46 [9127] [0] DEBUG:   dumping group (sendsms-user):
2010-11-11 12:02:46 [9127] [0] DEBUG:     <omit-empty> = <true>
2010-11-11 12:02:46 [9127] [0] DEBUG:     <group> = <sendsms-user>
2010-11-11 12:02:46 [9127] [0] DEBUG:     <max-messages> = <3>
2010-11-11 12:02:46 [9127] [0] DEBUG:     <forced-smsc> = <fake>
2010-11-11 12:02:46 [9127] [0] DEBUG:     <username> = <foo>
2010-11-11 12:02:46 [9127] [0] DEBUG:     <concatenation> = <1>
2010-11-11 12:02:46 [9127] [0] DEBUG:     <password> = <bar>
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2010-11-11 12:02:46 [9127] [0] INFO: Connected to bearerbox at localhost
port 13001.
2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2010-11-11 12:02:46 [9127] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 9127.
2010-11-11 12:02:46 [9127] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 9127.
2010-11-11 12:02:46 [9127] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 9127.
2010-11-11 12:02:46 [9127] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 9127.
2010-11-11 12:02:46 [9127] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 9127.
2010-11-11 12:02:46 [9127] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 9127.
2010-11-11 12:02:46 [9127] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
maps to pid 9127.

Regards,
Akira.


Te-Ch-Akira wrote:
> 
> 
> Hi,
> 
> I'm trying to deny some numbers to be sent SMS which are already declared
> in the black-list.
> but still the sms is going to deliver. 
> i have found an issue in issue tracker
> (http://redmine.kannel.org/projects/kannel/issues) bug no: Bug #523 status
> is new
> the black listing is very urgently required, if any body provide some
> solution or patch for this a bug tht would be helpfull,
>  
> here i have menctioned my config below.
>  
> group = core
> admin-port = 13000
> admin-password = foo
> status-password = bar
> #admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1,192.168.1.*"
> smsbox-port = 13001
> #wapbox-port = 13002
> #box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> wdp-interface-name = "*"
> store-location = "/var/spool/kannel/kannel.new"
> log-file = "/var/log/kannel/bearerbox.log"
> #dlr-storage = internal
> log-level = 1
>  
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> #global-sender = 13013
> log-file = "/var/log/kannel/smsbox.log"
> access-log = "/var/log/kannel/access.log"
> mo-recode = true
> global-sender = "56322"
> http-request-retry = 10
> http-queue-delay = 10
> black-list = "http://localhost/blacklist.txt";
> 
> group = sendsms-user
> username = bar
> password = foo
> concatenation = 1
> max-messages = 3
> forced-smsc = "fake"
> omit-empty = true
> black-list = "http://localhost/blacklist.txt";
> 
> 
> Thanks in advance.
> 

-- 
View this message in context: 
http://old.nabble.com/Issues-with-black-list-in-kannel-1.4.3-tp30168270p30187551.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to