DearTapan,

 

I try to settings  your guide and error on kannel log has gone  but error on 
smsbox log still available , Do you have other solution for me?

 

Thanks & Regards,

Nilubon Soonthon

 

From: Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com] 
Sent: Thursday, March 5, 2015 3:37 PM
To: Nilubon Soonthon
Cc: users@kannel.org
Subject: Re: Message rejected by bearerbox, no router!

 

Dear Nilubon,

You can try below sendsms-user settings.

group = sendsms-user

username = admin

password = kannel

default-smsc = SMPPSim

forced-smsc = SMPPSim

default-sender = '1000'

However you need to check with playsms group that while playsms is submitting 
sms to kannel, what sendsms url they are invoking.

 

On Thu, Mar 5, 2015 at 1:39 PM, Nilubon Soonthon <nilubo...@jasmine.com> wrote:

Hi,

 

I have problem with sending throw SMPP - connection,

when I`m trying send sms throw WEB-browser I see that in my kannel log:

 

2012-05-02 09:18:49 [1756] [9] WARNING: Cannot find SMSCConn for 
message to <xxxxxx>, rejected.
2012-05-02 09:18:49 [1756] [9] WARNING: Message rejected by bearerbox, 
no router!

 

 

and smsbox.log:

 

2009-07-21 02:01:52 [7125] [3] DEBUG: HTTP: Destroying HTTPClient area  
0x8ac08888.
2009-07-21 02:01:52 [7125] [3] DEBUG: HTTP: Destroying HTTPClient for  
`xx.xx.xx.16'.
2009-07-21 02:01:52 [7125] [1] DEBUG: HTTP: Destroying HTTPClient area  
0x8ac04680.
2009-07-21 02:01:52 [7125] [1] DEBUG: HTTP: Destroying HTTPClient for  
`xx.xx.xx.16'

 

 

This my config:

#kannel.conf

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = kannel

status-password = kannel

log-file = /var/log/kannel/kannel.log

log-level = 0

access-log = /var/log/kannel/access_kannel.log

dlr-storage = internal

 

#--- mysql connection

group = mysql-connection

id = mydlr

host = 10.11.21.136

username = kannel

password = kannel

database = kannelDb

max-connections = 1

 

#---- DLR table structure

group = dlr-db

id = mydlr

table = "dlr"

field-smsc = smsc

field-timestamp = timstamp

field-destination = destination

field-source = source

field-service = service

field-url = url

field-mask = mask

field-status = status

field-boxc-id = boxc_id

 

group = smsbox

smsbox-id = smsbox1

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 13013

#global-sender = 1000

log-file = /var/log/kannel/smsbox.log

log-level = 0

mo-recode = true

 

group = smsbox-route

smsbox-id = smsbox1

smsc-id = SMPPSim

 

 

group = smsc

smsc = smpp

smsc-id = SMPPSim

host = 10.11.21.78

#port = 2775

transceiver-mode = 0

receive-port = 2775

smsc-username = smppclient1

smsc-password = 12345

system-type = 'VMA'

#service-type = 'test'

interface-version = 34

system-id = smppclient1

preferred-smsc-id = SMPPSim

allowed-smsc-id=SMPPSim

log-file = "/var/log/kannel/smppsim.log"

 

group = sendsms-user

username = playsms

password = playsms

user-allow-ip = "10.11.21.*"

user-deny-ip = "*.*.*.*"

default-smsc = SMPPSim

default-sender = '1000'

 

group = sendsms-user

username = admin

password = kannel

default-smsc = SMPPSim

default-sender = '1000'

 

group = sms-service

keyword = default

accept-x-kannel-headers = true

accepted-smsc = SMPPSim

catch-all = true

post-url = "http://localhost/playsms/index.php?app=call 
<http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=posturl&t=%25t&q=%25q&a=%25a>
 &cat=gateway&plugin=kannel&access=posturl&t=%t&q=%q&a=%a"

 

Thanks & Regards

Nilubon Soonthon

 

Reply via email to