【问题标题】:kannel status denied in playSMSplaySMS 中的 kannel 状态被拒绝
【发布时间】:2015-02-03 14:57:08
【问题描述】:

我正在尝试在 ubuntu Server 14.04 上使用 playSMS。 我已经安装了 playSMS,比如 show here,我已经配置了 Kannel,比如 show here。 我的 /etc/Kannel/kannel.conf 是:

# CORE
group = core
admin-port = 13000
admin-password = playsms
status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-type = file
store-file = /var/log/kannel/kannel.store
smsbox-max-pending = 100

# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+"
log-file = /var/log/kannel/smsbox.log
log-level = 0
global-sender = "isi dengan sms center"
access-log = /var/log/kannel/access.log

#SMSC MODEM GSM
group = smsc
smsc = at
port = 13013
host = localhost
smsc-id = modex
modemtype = auto
device = /dev/ttyUSB0
sms-center = "+393359609600"
speed = 230400

# GROUP MODEM
group = modems
id = siemens_mc35i
name = "SIEMENS MC35i"
detect-string = "SIEMENS"
detect-string2 = "MC35i"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 230400
enable-hwhs = "AT\\Q3"
need-sleep = true

# SENDSMS-USER
group = sendsms-user
default-smsc = default
username = playsms
password = playsms
max-messages = 10
concatenation = true

# SMS SERVICE 'default'
group = sms-service
keyword = default
accept-x-kannel-headers = true
max-messages = 0
assume-plain-text = true
catch-all = true
get-url = "http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q"

但是当我登录 playms 应用程序时,我的短信进入队列,我可以在带有黄色框的 Outgoing SMS 中看到它们。

如果我进入管理 -> 管理网关 -> Kannel -> 管理 kannel,则 kannel 状态为拒绝。

有人可以帮帮我吗?

【问题讨论】:

    标签: sms-gateway ubuntu-server kannel


    【解决方案1】:

    确保你的 Kannel 正在运行,你可以通过 ps ax 和 tail Kannel log 来查看 Kannel 是否正常运行。

    ps ax | grep box tail -f /var/log/kannel/kannel.log

    一旦你知道 Kannel 正在运行,然后登录你的 playSMS 网站,通过菜单:Administration -> Manage gateway -> Kannel -> Manage kannel,你需要根据你的 kannel 设置 Kannel 管理端口和 Kannel 管理员密码.conf 它们是:

    管理端口 = 13000 admin-password = playms

    【讨论】:

      【解决方案2】:

      尝试在浏览器中检查 kannel 状态的链接 url: 有链接: http://localhost:13000/status?password=playsms

      【讨论】:

        猜你喜欢
        • 2019-10-30
        • 1970-01-01
        • 2019-04-17
        • 1970-01-01
        • 2018-09-23
        • 2019-11-06
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多