📄 smsserver.conf
字号:
gateway.0=modem1, SerialModem
modem1.port=COM1
modem1.baudrate=19200
modem1.manufacturer=Nokia
modem1.model=6310i
modem1.protocol=PDU
modem1.pin=0000
modem1.inbound=yes
modem1.outbound=yes
#gateway.0=Test1, Test
#gateway.1=Test2, Test
#gateway.2=Test3, Test
#gateway.3=Test4, Test
interface.0=db1, Database
db1.url=jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=smslib
db1.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db1.username=smslib
db1.password=smslib
db1.type=mssql
db1.tables.sms_in=smssvr_in
db1.tables.sms_out=smssvr_out
db1.tables.calls=smssvr_calls
db1.batch_size=50
db1.retries=2
interface.1=file1, SimpleInboundFileLogger, inbound
file1.filename=f:/logger.txt
#interface.2=xml1, Xml, outbound
#xml1.in=c:/temp/in
#xml1.out=c:/temp/out
#interface.3=jmx1, Jmx
#jmx1.registry_port=1988
#jmx1.url=service:jmx:rmi:///jndi/rmi://localhost:1988/SMSlib
#jmx1.object_name=org.smslib:name=SMSServer
#interface.4=email1, Email
#email1.mailbox_protocol=pop3
#email1.mailbox_host=host
#email1.mailbox_port=110
#email1.mailbox_user=user
#email1.mailbox_password=password
#email1.mailbox_name=INBOX
#email1.to=to@example.com
#email1.from=from@example.com
#email1.smtp_host=host
#email1.smtp_port=25
#email1.smtp_user=user
#email1.smtp_password=password
#email1.message_subject=SMS from %originator%
#email1.message_body=emailbody.html.tpl
#Polling interval in seconds (for processing inbound messages).
settings.poll_interval=10
#After reading, should SMSServer delete the processed messages from the gateways?
#Default is "no" for safety. Set to "yes" if you wish to delete messages.
#If you leave it to "no", SMSServer will process the same messages over and over again!
settings.delete_after_processing=no
# Should SMSServer work in sync or async sending mode?
# Async mode forwards messages to gateway queues.
# Values can be "sync" and "async".
settings.send_mode = async
# Allowed dispatch time-fames per priority
settings.timeframe.low=0900-2200
settings.timeframe.normal=0000-2359
settings.timeframe.high=0000-2359
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -