Hii,

I have configured opensmppbox in kannel 1.5.0.

I have faced issue in *Waiting for SMPP connections on port 2346. *

opensmppbox logs as given below.

[root@SqlBOX opensmppbox]# opensmppbox -v 0 opensmppbox.conf
2012-04-05 01:10:48 [4069] [0] ERROR: Error while gw_gethostbyname occurs.
2012-04-05 01:10:48 [4069] [0] ERROR: System error 1: Operation not
permitted
2012-04-05 01:10:48 [4069] [0] ERROR: Can't find out official hostname for
this host, using `SqlBOX' instead.
2012-04-05 01:10:48 [4069] [0] INFO: Debug_lvl = 0, log_file = <none>,
log_lvl = 0
2012-04-05 01:10:48 [4069] [0] DEBUG: Kannel opensmppbox version svn-r
gwlib version `1.5.0'.
Build `Mar  6 2012 21:43:19', compiler `4.1.2 20080704 (Red Hat 4.1.2-51)'.
System Linux, release 2.6.18-274.el5, version #1 SMP Fri Jul 22 04:43:29
EDT 2011, machine x86_64.
Hostname SqlBOX, IP 127.0.0.1.
Libxml version 2.6.26.
Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008.
Compiled with MySQL 5.0.95, using MySQL 5.0.95.
Using native malloc.

2012-04-05 01:10:48 [4069] [0] INFO: MYSQL: Connected to server at
localhost.
2012-04-05 01:10:48 [4069] [0] INFO: MYSQL: server version 5.0.95, client
version 5.0.95.
2012-04-05 01:10:48 [4069] [0] INFO: DLR using storage type: mysql
2012-04-05 01:10:48 [4069] [0] INFO: Starting to log to file
/var/log/kannel/opensmppbox.log level 0
2012-04-05 01:10:48 [4069] [0] INFO: Added logfile
`/var/log/kannel/opensmppbox.log' with level `0'.
2012-04-05 01:10:48 [4069] [0] INFO:* Waiting for SMPP connections on port
2346.*



opensmppbox.conf

group = core
#dlr-storage = internal
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
#opensmppbox-port = 13001
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
log-level = 0
log-file = /var/log/kannel/opensmppbox.log
our-system-id = viva
#route-to-smsc = my-default-smsc
route-to-smsc = SMPP-Testing1
# see sample smpplogins.txt
smpp-logins = "/root/gateway-1.5.0/addons/opensmppbox/smpplogins.txt"

# the following is just standard dlr configuration

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

# you can increase this upon a higher load
#max-connections = 1

group = dlr-db
id = mydlr
table = dlr
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 = boxcid

Reply via email to