Hi, Thanks for your immediate reply, I’m trying to reject the numbers in MT(Push) Messages , I Have tried with including black-list in smsbox. When I included balck-list in smsbox group kannel is not starting. Please check my configuration and let me know if any changes that I have to do.
Kannel.conf # Default kannel configuration file group = core admin-port = 13000 admin-password = bar 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 #----------------------------------------- #----------------------------------------- # SMSBOX SETUP group = smsbox #smsbox-id = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsbox-access.log" mo-recode = true http-request-retry = 10 http-queue-delay = 10 #group = smsbox-route #smsbox-id = smsbox #smsc-id = "TATA" #=========================================== include = "/etc/kannel/conf/smsc.conf" smsc.conf #---------SMSC--------- group = smsc smsc = smpp smsc-id = fake host = XX.XX.XX.XX port = XXXX smsc-username = "foo" smsc-password = bar system-type = "fake" address-range = "XXXXX" source-addr-ton = 5 source-addr-npi = 9 dest-addr-ton = 1 dest-addr-npi = 1 allowed-smsc-id = "fake" #denied-smsc-id = "" transceiver-mode = 1 throughput = 200 enquire-link-interval = 30 max-pending-submits = 10 reconnect-delay = 60 log-file = "/var/log/kannel/fake.log" log-level = 0 alt-dcs= 0 alt-charset = "ASCII" alt-addr-charset = "GSM" msg-id-type = 0x00 #receive-port = 0 wait-ack = 1 wait-ack-expire = 0x02 #============================================================= #SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 ##global-sender = 13013 black-list=http://localhost/blacklist log-file = "/var/log/kannel/smsbox.log" access-log = "/var/log/kannel/sms-access.log" mo-recode = true global-sender = "XXXX" http-request-retry = 10 http-queue-delay = 10 #black-list = http://localhost:8080/blacklist.txt # #================================================================ #SEND-SMS USERS group = sendsms-user username = foo password = bar concatenation = 1 max-messages = 3 forced-smsc = "fake" omit-empty = true Thanks 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-tp30168270p30187437.html Sent from the Kannel - User mailing list archive at Nabble.com.
