A
A
Andriy Kondratiev2013-11-13 23:22:17
SMS
Andriy Kondratiev, 2013-11-13 23:22:17

Kannel not sending SMS via GET request?

Received SMPP connection data from the SMS gateway provider. System - FreeBSD 9.2 + kannel. At authorization through the browser means of GET-request - success. Server statistics through port 13000 is displayed. However, the messages themselves are not sent. For a GET request:

<a href="http://127.0.0.1:13013/cgi-bin/sendsms?username=admin&amp;password=100500&amp;to=380961239268&amp;text=Test%20from%20Kannel">http://192.168.0.160:13013/cgi-bin/sendsms?username=admin&amp;password=100500&amp;to=+380961234567&amp;text=Test%20from%20Kannel</a>

I get a message with the following content:
Not routable. Do not try again.
What is the problem - I have no idea. This is how I have /usr/local/etc/kannel.conf configured
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = "100500"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
access-log = "/var/log/kannel/access_kannel.log"
store-file = "/var/log/kannel/store_sms"
dlr-storage = internal
sms-resend-retry = 1

#################################################

group = smsc
smsc = smpp
smsc-id = smpp
host = 12.34.56.78
port = 29900
smsc-username = логин от шлюза
smsc-password = пароль от шлюза
system-type = VASP
address-range = ""
transceiver-mode = 1
interface-version = 34
allowed-smsc-id = smpp
denied-smsc-id = smpplatin

#######################################

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
smsbox-id = suncoin-sender
global-sender = 13013
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access_smsbox.log

group = sendsms-user
username = "admin"
password = "100500"
concatenation = true
max-messages = 20

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
concatenation = true
max-messages = 7

group = sms-service
keyword = default
text = "No service spec."

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2014-09-18
@Rema1ns

Most likely you have closed port 13013

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question