I used playsms 1.3 and kannel 1.4.3.
This is kannel.conf
group = core
admin-port = 13005
smsbox-port = 13009
admin-password = bar
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
box-deny-ip = "..."
box-allow-ip = “127.0.0.1”
SMSC CONNECTIONS SMPP
group = smsc
smsc = smpp
smsc-id = SMPP
interface-version=34
host = ...
receive-port =8888
smsc-username = playsms
smsc-password = playsms
system-type = EMPTY
log-file = /var/log/kannel/smsc-smpp.log
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
enquire-link-interval = 60
reconnect-delay = 10
throughput = 100
SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 18205
global-sender = 18205
sendsms-chars = "0123456789 ±"
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
SEND-SMS USERS
group = sendsms-user
default-smsc = none
username = playsms
password = playsms
max-messages = 6
concatenation = true
SERVICES
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”
I start bearerbox service and smsbox service using below cmd
/usr/sbin/bearerbox /etc/kannel/smsplaysms.conf &
/usr/sbin/smsbox /etc/kannel/smsplaysms.conf &
Two service successfully starting no error showing, status also running,but playsms kannel gateway kannel status showing re-connecting , i can not send sms. Please help me…
Thanks,
Kannel bearerbox
version 1.4.3'. Build
Jul 8 2010 10:44:15’, compiler `4.4.4
20100525 (Red Hat 4.4.4-5)’. System Linux, release
2.6.32-573.7.1.el6.x86_64, version #1 SMP Tue Sep 22 22:00:00 UTC
2015, machine x86_64. Hostname vps54325.vps.ovh.ca, IP
158.69.195.174. Libxml version 2.7.6. Using OpenSSL 1.0.0-fips 29 Mar
2010. Using SQLite 3.6.20. Using native malloc.
Status: running,
uptime 0d 0h 3m 14s WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (0 queued), store size -1 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 2m 55s)
SMSC connections: SMPP
SMPP:ip ...:port/port:apexeeeinfo:EMTTPTY (re-connecting, rcvd 0,
sent 0, failed 0, queued 0 msgs)