[Solved] I need to connect playSMS and Kannel SMS getway

First of all, I want to say hello to all of the members of PlaySMS, that’s my first topic on this forum,
Secondly, I need a help to resolve my problem:

  • I need to connect PlaySMS to Kannel SMS Gateway using SMPP protocol; I followed this link for installation and configuration github.
  • I need someone to help me to complete the process of the configuration
  • I join some shoot screens and Kannel configuration file think you

Kannel.conf

# CORE
group = core
admin-port = 13000
admin-password = P@ssDEV2018*+
status-password = P@ssDEV2018*+
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 = 700
transceiver-mode = yes
smsc-username = admin
smsc-password = P@ssDEV2018*+
system-type = "VMA"
log-file = /var/log/kannel/smsc-smpp1.log
log-level = 0


# SENDSMS-USER
group = sendsms-user
default-smsc = none
username = playsms
password = P@ssDEV2018*+
max-messages = 6
concatenation = true

# SMS SERVICE
group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = "http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i"

1 Like

you can contact me at skype id "adev09@gmail.com"

I want to thank you so much brodher for your help.
It’s correctly working now


group = core
admin-port = 13000
admin-password = admin
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.1.179"
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.1.179"
dlr-storage = internal
log-level = 0

group = smsbox
smsbox-id = mysmsbox
bearerbox-host = localhost
sendsms-port = 13013
log-level = 0

group = sendsms-user
username = simple
password = simple123

group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
log-level = 0

group = smsbox-route
smsbox-id = mysmsbox
smsc-id = FAKE

group = sms-service
keyword = default
text = "hi how are you"
accepted-smsc = FAKE

# SMS SERVICE
group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = "http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i"