目前正在做一些涉及 Kannel 的项目,但是我遇到了问题。
当我向 kannel 网关发送长短信时,它会接收短信的第一部分,然后使用 get-url 发送我的 php 脚本以添加到网站。然后第二部分被发送,同样的事情发生了。
有没有办法将完整的短信发送到网站?
非常感谢您的任何帮助。下面是我附加的 kannel.conf
group = core
admin-port = <snip>
admin-password = <snip>
status-password = <snip>
smsbox-port = <snip>
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyUSB1
speed = 9600
connect-allow-ip = 127.0.0.1
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = <snip>
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
global-sender = <snip>
sms-length = 500
group = sendsms-user
username = <snip>
password = <snip>
concatenation = true
group = modems
id = huawei_e220
name = "Huawei_E220"
detect-string = "huawei"
message-storage = sm
speed = 9600
group = sms-service
keyword =
catch-all = 1
max-messages = 0
# trying this below
#assume-plain-text = true
concatenation = true
get-url = "http://<snip>.net/inbound.php?phone=%p&text=%t"
# Ends