fix: add parameter dataCoding and serverNumber to alarm SMS forward

This commit is contained in:
2024-09-20 11:03:43 +08:00
parent 9e71a35cd7
commit e9e5822d6c
6 changed files with 98 additions and 81 deletions

View File

@@ -129,6 +129,7 @@ omc:
# TLS Skip verify: true/false
# email/sms
# smProxy: sms(Short Message Service)/smsc(SMS Centre)
# dataCoding: 0:UCS2, 1:ASCII, 2:LATIN1
alarm:
alarmEmailForward:
enable: true
@@ -145,6 +146,8 @@ alarm:
systemID: "omc"
password: "omc123"
systemType: "UTRAN"
dataCoding: 0
serviceNumber: "OMC"
sms:
apiURL: http://smsc.xxx.com/
accessKeyID: xxxx

View File

@@ -98,3 +98,17 @@ omc:
filter: ""
display: "System Type"
comment: ""
- name: "dataCoding"
type: "enum"
value: "ASCII"
access: "rw"
filter: '{"0":"UCS2","1":"ASCII","2":"LATIN1"}'
display: "Data Coding"
comment: "Short message coding type"
- name: "serviceNumber"
type: "string"
value: "OMC"
access: "rw"
filter: "3~20"
display: "Service Number"
comment: "It is the source address and length is between 3 and 20"