So i have this strange problem with both the 1.4 and 1.5 releases.

when i call the Kannel api to send a message i see that it hits Kannel and
most of the time it sends via the provider, but randomly i see it get
accepted but then it never makes to the carrier.


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

# include the providers
include = "/etc/kannel/providers"

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

# include users
include = "/etc/kannel/users"

group = sms-service
keyword = default
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "
https://api.domain.com/SMS/getInboundCallback?CODING=%c&CHARSET=%C&ORIGINATOR=%p&RECEIVER=%P&BODY=%a&TIME=%t&PATH=%o&UDH=%u&dcs=%m&MWI=%M
"


the providers file

### bandwidth.com - Los Angeles, Ca
group   =       smsc
smsc    =       smpp
smsc-id =       smpp-bwcom
host    =       xxxxxxxxxx
port    =       2775
log-file = "/var/log/kannel/bwcom1.log"
smsc-username=xxxxx
smsc-password=xxxxx
system-type=SMPP
transceiver-mode=true
dest-addr-ton=1
dest-addr-npi=1

## bandwidth.com - Dallas, TX
group   =       smsc
smsc    =       smpp
smsc-id =       smpp-bwcom
host    =      xxxxxxxxxxxxx
port    =       2775
log-file = "/var/log/kannel/bwcom2.log"
smsc-username=xxxxx
smsc-password=xxxxx
system-type=SMPP
transceiver-mode=true
dest-addr-ton=1
dest-addr-npi=1


not sure where to go from here, i have debugging enabled, i see that bearer
box gets it, and smsbox gets it, but it never hits the provider.
occasionally it vanishes into thin air, then the next one will go all the
way through. I checked for DLR, nothing.

thanks

Mr. NPP

Reply via email to