Hii,

I have configured sqlbox to sending the SMS and I am facing bearerbox
connectivity issue.

Kindly find the below smskannel.conf file parameters.

*sqlbox ---> bearerbox ---->smsbox*

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL

#---------------------------------------------
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'

group = core
admin-port = 13000
smsbox-port = 13001
#smsbox-port = 13003
admin-password = demokannel
status-password =demokannel
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/var/log/kannel/kannel_access.log"
store-file = "/home/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage= sqlbox
sms-resend-freq=60
sms-resend-retry=5

#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs

group= smsc
smsc = smpp
smsc-id = demo
host= 127.0.0.1
smsc-username= demo
smsc-password= demo
port = 1234
#receive-port= 1234
connect-allow-ip = 127.0.0.1
system-type=""
#address-range=""
#alt-charset=1
#alt-charset="ASCII"
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
#msg-id-type=0x01
allowed-smsc-id= demo
#transceiver-mode=1
throughput= 10

group= smsc
smsc = smpp
smsc-id = demo
host= 127.0.0.1
smsc-username= demo
smsc-password= demo
#port = 1234
receive-port= 1234
connect-allow-ip = 127.0.0.1
system-type=""
#address-range=""
#alt-charset=1
#alt-charset="ASCII"
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
#msg-id-type=0x01
allowed-smsc-id= demo
#transceiver-mode=1
throughput= 10


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

#-------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

group = smsbox
smsbox-id=dlrbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#sendsms-port = 13003
global-sender = demo
#sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
#access-log = "/tmp/access.log"
http-request-retry=5
http-queue-delay=50


#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
..

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
concatenation = true
default-smsc = demo

#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.

group = sms-service
keyword = nop
accepted-smsc= demo
text = "You asked nothing and I did it!"

# ------ SMS BOX ROUTE ---
#------------------------
group = smsbox-route
smsbox-id = dlrbox
smsc-id = demo


# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = default
text = <480 Characters with spaces>
concatenation = true
max-messages = 5

group = mysql-connection
id = mydlr
host = localhost
username = root
password = root

database = dlr
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

##############sqlbox .conf#########

group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
#global-sender = ""
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/kannel-sqlbox.log"
log-level = 0
#ssl-client-certkey-file = ""
#ssl-server-cert-file = ""
#ssl-server-key-file = ""
#ssl-trusted-ca-file = ""

# Database connection examples. Please uncomment as needed

# Example MYSQL Connection
group = mysql-connection
id = sqlbox-db
host = localhost
username = root
password = sqladmin
database = smart_kannel


so kindly let me if any wrong parameters I have mention.

Reply via email to