kannel をインストールしたばかりの新しいボックス (17.xxx) を接続しようとしています。私はすでに、SMS を送信して受信できる別のボックス (19.xxx) で実行中の kannel を持っています。19.xxx に opensmppbox をインストールしました。opensmppbox を起動すると、着信接続を待機していることがわかります。次に、17.xxx で kannel を開始すると、smsbox に接続されますが、opensmppbox への接続でエラーが発生します。私はこれに時間を費やしすぎました。
どうすればこの問題を解決できますか。ここに 17.xxx の kannel.conf があります
# Core
group = core
admin-port=9000
wapbox-port=9001
smsbox-port=9002
admin-password=Wass
status-password=Wing
dlr-storage=mysql
log-file="/var/log/kannel/bearerbox.log"
log-level=0
access-log="/var/log/kannel/access.log"
access-log-clean=true
access-log-format="%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F][from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"
box-allow-ip="*.*.*.*"
unified-prefix="0234,+234,00234"
#######################################
# WAPBOX box
group = wapbox
bearerbox-host = 127.0.0.1
log-file = "/var/log/kannel/wapbox.log"
#######################################
#SMSC group - For 38276
group = smsc
smsc = smpp
smsc-id = smppbox
host = 192.101.17.30
port = 2775
transceiver-mode = true
smsc-username = "hot"
smsc-password = "kkkk"
interface-version = 34
system-type =
my-number=38260
msg-id-type = 0x03
alt-charset = GSM
#denied-smsc-id =
#source-addr-ton = 0
#source-addr-npi = 0
#dest-addr-ton = 0
#dest-addr-npi = 0
allowed-prefix-regex = ^\+?(0|234)((8[01]2)|(808)|(7[01]8))
#######################################
# SMSBOX
group = smsbox
bearerbox-host = localhost
smsbox-id = vsmsc
sendsms-port = 9009
sendsms-url = "/cgi-bin/sendsms"
global-sender = cingular
reply-couldnotfetch = "Could not temporarily get content...please try again"
sendsms-chars = "0123456789 +-"
http-request-retry = 1
reply-emptymessage = ""
http-queue-delay = 30
max-pending-requests = 1000
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox-access.log"
#######################################
# DATABASE
group = mysql-connection
id=mydlr
host=localhost
username=root
password=Wind
database=inm
max-connections=1
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
below is the opensmppbox.conf
#
group = core
dlr-storage = internal
group = opensmppbox
opensmppbox-id = smppbox
opensmppbox-port = 2775
bearerbox-host = localhost
bearerbox-port = 9000
log-level = 0
log-file = /var/log/kannel/opensmppbox/opensmppbox.log
our-system-id =
use-systemid-as-smsboxid = true
route-to-smsc =Singtel
smpp-logins = "/etc/kannel/smpplogins.txt"
#route-to-smsc = emitsms
group = mysql-connection
id = mydlr
host = localhost
username = root
password = Wing
database = inm
max-connections = 1
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxcid
below is the smpplogins.txt
system-id-01 password-01 system-type-01
client-02 password-02 vma 127.0.0.1
client-03 password-03 vma *.*.*.*
hot cingul12 vma 17.x.x.x