如何在Vsmppbox中连接多个bearerbox?

时间:2016-09-04 12:59:37

标签: smpp kannel opensmpp opensmppbox

如何在Vsmppbox中连接多个bearerbox进行负载均衡,我的配置文件是

group=vsmppbox
id=VSMPPBOX
log-file=/var/log/kannel/vsmppbox.log
log-level=0
smpp-port=4721
database-type=mysql
database-config=mysql
database-enable-queue=1
inbound-queue-threads=10
outbound-queue-threads=10
auth-method=1
database-user-table=smpp_users
database-store-table=smpp_store
database-log-table=smpp_log
database-pdu-table=smpp_queued_pdu
database-route-table=smpp_route
database-ndnc-table=smpp_ndnc
database-spam-table=smpp_spam
database-template-table=smpp_template
database-sender-table=smpp_sender
database-version-table=smpp_version

group=mysql-connection
id=mysql
host=localhost
username=root
password=
database=kannel_smpp
max-connections=50

group=bearerbox-connection
id=SMPPBOX-TEST
host=localhost
port=13002

group=http-server
port=14010
password=vsmppbox

group=smpp-routing
routing-method=1

如何在bearerbox中使用相同的smsc_id为MT短信配置多个bearerbox,并在vsmppbox中的路由表中使用相同的sms_ids?

2 个答案:

答案 0 :(得分:1)

可以进行多个bearerbox连接,您可以在配置文件中重复使用此配置,

 group=bearerbox-connection
id=SMPPBOX-TEST
host=localhost
port=13002

group=bearerbox-connection
id=SMPPBOX-TEST1
host=localhost
port=13003

group=bearerbox-connection
id=SMPPBOX-TEST2
host=localhost
port=13004 

答案 1 :(得分:0)

可以进行多个bearerbox连接,

group=bearerbox-connection
id=SMPPBOX-TEST
host=localhost
port=13002

group=bearerbox-connection
id=SMPPBOX-TEST1
host=localhost
port=13003

group=bearerbox-connection
id=SMPPBOX-TEST2
host=localhost
port=13004 

您可以在配置文件中重复使用此配置,  idport更改,