Hi all,
First of all, I just want to mention how much I love playSMS: great stuff, I love it - keep up the good work!
The last couple of days I’ve been trying to connect install Kannel (with playSMS) and connect it to an SMPP connection (SMPPSim for starters) but I can’t seem to resolve this issue by myself.
I have successfully set up the Kannel gateway in playSMS and can see that the setup, so far, is correct and working. Please see below for the status (before trying to connect to a specific SMPP connection).
Kannel bearerbox version `1.4.3'.
Build `Nov 24 2011 09:54:00', compiler `4.6.2'.
System Linux, release 3.13.0-57-generic, version #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015, machine x86_64.
Hostname ubuntu2, IP 127.0.1.1.
Libxml version 2.7.8.
Using OpenSSL 1.0.0e 6 Sep 2011.
Compiled with MySQL 5.5.17, using MySQL 5.5.46.
Using SQLite 3.7.9.
Using native malloc.
Status: running, uptime 0d 0h 0m 2s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (0 queued), store size 0
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using internal storage
Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 1s)
SMSC connections:
FAKE FAKE:10000 (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
When I try to add a # SMSC smpp1 connection in my kannel.conf it fails and I instead get the below error:
Unable to access Kannel admin commands
I have tried configuring the kannel.conf to connect to SMPPSim with the following kannel.conf
# CORE
group = core
admin-port = 13000
admin-password = password
status-password = password
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
mo-recode = true
SMSC smpp1
smsc = smpp
smsc-id = smpp1
allowed-smsc-id = smpp1
preferred-smsc-id = smpp1
host = localhost
port = 2775
transceiver-mode = yes
smsc-username = smppclient1
smsc-password = password
system-type = "VMA"
log-file = /var/log/kannel/smsc-smpp1.log
log-level = 0
Here’s my SMSC configuration in playSMS (as I can connect to Kannel but not to the specific SMPP connection I guess the mainpage is not helpful?): http://prntscr.com/8zfv2z
I’m pretty much going crazy here, so if anyone can help me out or point me in the right direction that would be highly appreciated.
Cheerios!