【发布时间】:2018-09-11 08:12:08
【问题描述】:
我已配置并连接 SMSC 以在 Kannel 上正确接收 SMS。 正如我从访问日志中看到的那样,我能够成功接收 SMS,但我的 API 没有受到攻击。
这是配置文件:
group = smsc
smsc = smpp
smsc-id = XXXXXX
host = abc.abc.abc.abc
port = 1111
transceiver-mode = true
throughput = 10
smsc-username = xxxxx
smsc-password = xxxxx
reconnect-delay = 60
system-type = XXXXXX
allowed-smsc-id = XXXXXX
#get-url = "https://example.org/sms-receive?sender=%P&recipient=%p×tamp=%t&smstext=%a" //tried this too, but didnt work
group = sms-service
keyword-regex = .*
catch-all = true
forced-smsc = XXXXXX
get-url = "https://example.org/sms-receive?sender=%P&recipient=%p×tamp=%t&smstext=%a" //tried this too, but didnt work
#post-url = "https://example.org/sms-receive?sender=%P&recipient=%p×tamp=%t&smstext=%a" //tried this too, but didnt work
我在访问日志中得到关注:
2018-09-11 13:08:38 Receive SMS [SMSC:XXXXXX] [SVC:] [ACT:xxxxx] [BINF:CMT] [FID:] [META:?smpp?] [from:91xxxxxxxxxx] [to:+91xxxxxxxxxx] [flags:-1:0:-1:0:-1] [msg:16:Hello World] [udh:0:]
我做错了什么或错过了什么?
【问题讨论】:
标签: callback sms sms-gateway kannel geturl