Good morning to all,

We are configuering the kannel server so first of all we configuer the
sms gateway application  through it we are able to send the
messages, after it we enable the mysql for dlr storage.
now sms gateway application is completed so we are going to confgiuer
the SQLBox.
so we are able to store for dlr storage in mysql through sqlbox.

and finally we want to configuer the Opensmppbox,
we are configuer the opensmppbox and not only configuer also bind the
client but client can't able to send the messages, so problem is that
what we do next,
due to this client easily send the messages.
after configuer the Opensmppbox we reboot the server.and doing following step..
1. (when we execute the bearerbox we hidden the opensmpp.conf in
kannel.conf file)
means in kannel.conf  #include = opensmppbox.conf
run the bearerbox   ./bearerbox
2. ./opensmppbox (before execute this command we remove the # in
kannel.conf in front of opensmppbox.conf)

here is problem in my arcitecture the offcourse you write me.
so now client is bind with opensmppbox.conf but can't able to send
message. my all file are look like as

kannel.conf

group = core
admin-port = 13000
admin-password = 123
status-password = 123
dlr-storage = mysql
smsbox-port = 13003
storage-type = file
storage-file = /knl_store
log-level = 4
access-log = /var/log/bearerbox1.access
log-file = /var/log/bearerbox1.log
unified-prefix = "+91;+,91"

include = "kannelserver.conf"
inculde = "opensmppbox.conf"

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
log-level = 4
access-log = /var/log/smsbox1.access
log-file = /var/log/smsbox1.log


group = smsbox-route
smsbox-id = sqlbox
smsc-id = "KannelServer"


group = sendsms-user
username = 123india
password = 123city

# DLR Setup
group = mysql-connection
id = mydlr
host = localhost
username = root
password = redhat
database = sms_dlr
max-connections = 1

group = dlr-db
id = mydlr
table = dlr_kannel
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


 # SMSC kannelserver.conf

group = smsc
smsc = smpp
smsc-id = kannelserve
host = "27.127.56.242"
port = "4252"
#transceiver-mode = true
smsc-username = acubeS1
smsc-password = acubeS1
system-type = "smpp"
address-range = ""
reconnect-delay = 2
alt-charset=1
reconnect-delay = 10
source-addr-ton = 1
throughput = 40
allowed-smsc-id = "kannelserver"
dest-addr-ton = 1
enquire-link-interval = 30
alt-charset = "ASCII;windows-1252"
alt-charset = "ISO-8859-1"
alt-charset = "ASCII"
alt-addr-charset = "GSM"

SQLBox Server Configuration
----------------------------------------------


group = sqlbox
id = mydlr
smsbox-id = sqlbox
bearerbox-host = localhost
bearerbox-port = 13003
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/sqlbox1.log"
log-level = 4

group = mysql-connection
id = mydlr
host = localhost
username = root
password = redhat
database = SQLBOX
max-connections = 10

group = sdb-connection
id = mydlr
url = mysql:host=localhost:db=SQLBOX:uid=root:pwd=root

OpenSMPPBox Configuration
----------------------------------------------
# opensmppbox.conf

group = core
dlr-storage = mysql

group = opensmppbox
opensmppbox-id = OpenSMPPBox1
opensmppbox-port = 13001
bearerbox-host = 127.0.0.1
bearerbox-port = 13003
log-level = 4
log-file = "/var/log/opensmppbox.log"
our-system-id = OpenSMPPBox
route-to-smsc = kannelserver
# see sample smpplogins.txt
smpp-logins =
"/usr/local/gateway/trunk/addons/opensmppbox/example/smpplogins.txt.example"

# the following is just standard dlr configuration
group = mysql-connection
id = mydlr
host = localhost
username = root
password = redhat
database = SMPPBOX
#max-connections = 1

group = dlr-db
id = mydlr
table = smppdlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

In this configuration if you see any type of error then please write me and
this is the client smsc file of opensmppbox

group = smsc
smsc = smpp
smsc-id = Normal.conf
host = 184.148.68.143
port = "13001"
smsc-username = demo
smsc-password = demo
system-type = "smpp"
reconnect-delay = 2
alt-charset=1
transceiver-mode = true
allowed-smsc-id = "Normal"
alt-charset = "ASCII;windows-1252"
alt-charset = "ISO-8859-1"
alt-charset = "ASCII"
alt-addr-charset = "GSM"

please help meI am new in kannel but i am try to configuer the
opensmppbox from last week.your help must be needed..here ican't erite
well english so ignore it.
show the error
SMPP PDU DUMP ENDS
Invalid SMPP PDU received
--





Vijay Kr. Dadhich
+918890909111

Reply via email to