我使用kannel作为短信网关发送短信。我已经下载了kannel 1.4.3,我使用西门子TC35i作为GSM调制解调器。我可以通过拨打 http://127.0.0.1:13013/cgi-bin/sendsms?username= 用户名& password = 密码&来发送消息= 收件人&安培;文本= 消息
但是,如果我尝试向同一个收件人发送100封邮件,则速度有点慢(向同一收件人发送100封邮件大约需要10分钟),即1 sms / 6秒。
有没有办法提高费率?
这是我的smskannel.conf文件
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/tmp/access.log"
group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB0
my-number = 0040728467060
connect-allow-ip = 127.0.0.1
log-level = 0
speed = 115200
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 0040728467060
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"
group = sendsms-user
username = tester
password = foobar
concatenation = true
max-messages = 10000
group = sms-service
keyword = default
concatenation = true
catch-all = yes
max-messages = 10000
get-url = "http://localhost/sms?phone=%p&text=%a"
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword = default
text = "No service specified"
max-messages = 1
include = "/etc/kannel/modems.conf"
答案 0 :(得分:3)
GSM协议需要6秒钟来处理一个SMS发送(标准协议)。您正在使用GSM调制解调器,因此您无法获得比这更快的速度。如果您需要更快的连接,请从运营商处获得IP连接。
答案 1 :(得分:0)
考虑到您的配置,由于您没有设置任何吞吐量限制,唯一的猜测是您正在使用的移动运营商将消息发送限制为每6秒约1个sms。您的配置中没有任何内容会以这种方式限制您。