What’s the http url that you are using to send the message via smsbox?

 

Probably you will need to add &smsc=smpp-clicksend to your url variables.

 

== Rene

 

 

Van: users <users-boun...@kannel.org> Namens abod ahameed
Verzonden: woensdag 13 november 2019 16:13
Aan: users@kannel.org
Onderwerp: hi i have problem when linking kannel with clicksend

 

this my kannel.conf 

group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 2775
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

group = smsbox
bearerbox-host="localhost"
sendsms-port = 13013
sendsms-chars = "+0123456789"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
log-level = 0
mo-recode = 1

group = smsc
smsc = smpp
smsc-id = smpp-clicksend
host =  smpp1.clicksend.com <http://smpp1.clicksend.com> 
port = 2775
receive-port = 2775
transceiver-mode = false
throughput = 10
smsc-username = *****
smsc-password = *****
system-type = clicksend
dest-addr-ton=1
log-file = "/var/log/kannel/smpp-clicksend.log"
log-level = 0
msg-id-type=0x01
alt-charset = LATIN1
enquire-link-interval = 30

group = sendsms-user
username = *****
password = ******
forced-smsc =  smpp-clicksend
name = users
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
max-messages = 3

 

and this my smsbox.conf

 

group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 2775
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

group = smsbox
bearerbox-host="localhost"
sendsms-port = 13013
sendsms-chars = "+0123456789"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
log-level = 0
mo-recode = 1

group = smsc
smsc = smpp
smsc-id = smpp-clicksend
host =  smpp1.clicksend.com <http://smpp1.clicksend.com> 
port = 2775
receive-port = 2775
transceiver-mode = false
throughput = 10
smsc-username = *****
smsc-password = *****
system-type = clicksend
dest-addr-ton=1
log-file = "/var/log/kannel/smpp-clicksend.log"
log-level = 0
msg-id-type=0x01
alt-charset = LATIN1
enquire-link-interval = 30

group = sendsms-user
username = *****
password = ******
forced-smsc =  smpp-clicksend
name = users
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
max-messages = 3

*------------------------------------------------------------------------------*

When I go to run link shows me this sentence . 3: Queued for later delivery

and in the terminal it shows me this way  

this terminal kannel.conf

sms_router: handling message (0x7f19e0002c70 vs 0x7f19e0002fd0)
2019-11-13 17:49:23 [5733] [8] DEBUG: Routing failed, re-queued.
2019-11-13 17:49:23 [5733] [8] DEBUG: sms_router: handling message 
(0x7f19e0002fd0 vs 0x7f19e0002fd0)
2019-11-13 17:49:23 [5733] [8] DEBUG: Routing failed, re-queued.
2019-11-13 17:49:23 [5733] [8] DEBUG: sms_router: time to sleep 30.00 secs.

 

----------*--------------------------------------

and this terminal smsbox.conf

: HTTP: Creating HTTPClient for `127.0.0.1'.
2019-11-13 17:46:53 [5744] [2] DEBUG: HTTP: Created HTTPClient area 
0x7fc96c0014e0.
2019-11-13 17:46:53 [5744] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
2019-11-13 17:46:53 [5744] [3] INFO: sendsms used by <YRFN5JRa>
2019-11-13 17:46:53 [5744] [3] INFO: sendsms sender:<YRFN5JRa:test> (127.0.0.1) 
to:<00967774168311> msg:<Hello World>
2019-11-13 17:46:53 [5744] [3] DEBUG: Stored UUID 
83bd8435-e297-4992-8d78-3a38eb117371
2019-11-13 17:46:53 [5744] [3] DEBUG: message length 11, sending 1 messages
2019-11-13 17:46:53 [5744] [3] DEBUG: Status: 202 Answer: <Sent.>
2019-11-13 17:46:53 [5744] [3] DEBUG: Delayed reply - wait for bearerbox
2019-11-13 17:46:53 [5744] [0] DEBUG: Got ACK (3) of 
83bd8435-e297-4992-8d78-3a38eb117371
2019-11-13 17:46:53 [5744] [0] DEBUG: HTTP: Resetting HTTPClient for 
`127.0.0.1'.
2019-11-13 17:46:53 [5744] [3] INFO: smsbox: Got HTTP request </favicon.ico> 
from <127.0.0.1>
2019-11-13 17:46:53 [5744] [3] DEBUG: Status: 404 Answer: <Unknown request.>
2019-11-13 17:46:53 [5744] [3] DEBUG: HTTP: Resetting HTTPClient for 
`127.0.0.1'.
2019-11-13 17:46:53 [5744] [1] DEBUG: HTTP: Destroying HTTPClient area 
0x7fc96c0014e0.
2019-11-13 17:46:53 [5744] [1] DEBUG: HTTP: Destroying HTTPClient for 
`127.0.0.1'.

 

what's my mistake and whate is soletion

 

Reply via email to