Updated configuration file to support dynamic MAC address (#7867)

This commit is contained in:
Ivan E
2026-04-27 20:04:07 -07:00
committed by GitHub
parent 4872eae4d8
commit a22dfe1145
@@ -1,4 +1,4 @@
admin.devname = sipalerter
admin.devname = sipalerter-$MAC$
admin.keyui = 1
admin.lang = en
admin.poe.mode = auto
@@ -9,24 +9,23 @@ admin.sic.use = 0
admin.start.status = 1
admin.startuptone = 1
admin.status.portid = 0
admin.teams.region = http://noam.ipp.sdg.teams.microsoft.com
admin.teams.use = 0
admin.timezone = {if isset($algo_timezone)}{$algo_timezone}{else}America/New_York{/if}
# admin.teams.use = 0
admin.timezone = {if isset($algo_timezone)}{$algo_timezone}{else}Canada/Pacific{/if}
admin.voice = en
admin.watchdog = 0
admin.web.api = 0
admin.web.timeout = 3600
admin.web.timeout = 1800
admin.welcome = 1
alert.cid1.regex =
alert.cid1.regex =
alert.cid1.tone = warble2-med.wav
alert.cid1.use = 0
alert.cid2.regex =
alert.cid2.regex =
alert.cid2.tone = warble2-med.wav
alert.cid2.use = 0
alert.cid3.regex =
alert.cid3.regex =
alert.cid3.tone = warble2-med.wav
alert.cid3.use = 0
alert.cid4.regex =
alert.cid4.regex =
alert.cid4.tone = warble2-med.wav
alert.cid4.use = 0
ann.confirm = 0
@@ -132,22 +131,22 @@ audio.page.delaymode = 0
audio.page.mode = 1
audio.page.timeout = 0
audio.page.tone = page-notif.wav
audio.page.vol = {$algo_page_vol}
# audio.page.vol = {$algo_page_vol}
audio.relay.mode = 0
audio.ring.cid1.delay = 0
audio.ring.cid1.regex =
audio.ring.cid1.regex =
audio.ring.cid1.tone = warble2-med.wav
audio.ring.cid1.use = 0
audio.ring.cid2.delay = 0
audio.ring.cid2.regex =
audio.ring.cid2.regex =
audio.ring.cid2.tone = warble2-med.wav
audio.ring.cid2.use = 0
audio.ring.cid3.delay = 0
audio.ring.cid3.regex =
audio.ring.cid3.regex =
audio.ring.cid3.tone = warble2-med.wav
audio.ring.cid3.use = 0
audio.ring.cid4.delay = 0
audio.ring.cid4.regex =
audio.ring.cid4.regex =
audio.ring.cid4.tone = warble2-med.wav
audio.ring.cid4.use = 0
audio.ring.io = 0
@@ -162,29 +161,29 @@ audio.ring.tone2 = Default
audio.ring.tone3 = Default
audio.ring.tone4 = Default
audio.ring.tone5 = Default
audio.ring.vol = {$algo_ring_vol}
# audio.ring.vol = {$algo_ring_vol}
audio.rtp.media = 1
audio.spk.mode = 0
audio.vol.adj = 0
callbox.call.action = 0
callbox.call.dest =
callbox.call.dest =
callbox.call.duration = 0
callbox.call.interval = 0
callbox.call.maxtone = 0
callbox.call.tone = chime.wav
callbox.cancel.action = 1
cancel.auth =
cancel.auth =
cancel.ctone = None
cancel.ext =
cancel.pwd =
cancel.realm =
cancel.ext =
cancel.pwd =
cancel.realm =
cancel.select = 0
dp.ctrl.disc = 0
dtmfpc.alert.code =
dtmfpc.alert.code =
dtmfpc.alert.tone = Default
dtmfpc.page.all = 1
dtmfpc.page.code =
dtmfpc.page.extensions =
dtmfpc.page.code =
dtmfpc.page.extensions =
dtmfpc.page.tone = Default
dtmfpc.page.use = 0
ifmc.dl.method = http
@@ -202,11 +201,11 @@ io.ring.mode = 0
io.ring.tone = chime.wav
iot.mqtt.ka = 30
iot.sync.conf = 0
iot.tenant =
iot.tenant =
iot.use = 0
log.level = info
log.method = local
log.server =
log.server =
log.size = 100
mcast.dtmf.fixed = 0
mcast.groups.select = 0
@@ -491,9 +490,9 @@ net.dscp.rtcp = 0
net.dscp.rtp = 0
net.dscp.sip = 0
net.ethmon = 0
net.http = 1
net.ipv4.method = dhcp
net.ipv6.method = dhcp
net.http = 2
# net.ipv4.method = dhcp
# net.ipv6.method = dhcp
net.ll.cdp = 1
net.ll.lldp = 1
net.pnac.auth = EAP-PEAP_MSCHAPV2
@@ -501,22 +500,22 @@ net.protocol = ipv4
net.snmp = 0
net.srv.snmp = 0
net.srv.snmp.auth = none
net.srv.snmp.authkey =
net.srv.snmp.community =
net.srv.snmp.authkey =
net.srv.snmp.community =
net.srv.snmp.priv = none
net.srv.snmp.privkey =
net.srv.snmp.privkey =
net.srv.snmp.security = 0
net.srv.snmp.user =
net.srv.snmp.user =
net.time = {$ntp_server_primary}
prov.download.cfgpath = {$project_path}app/provision
prov.server.static = {$domain_name}
net.time1 = 0.debian.pool.ntp.org
net.time2 = 1.debian.pool.ntp.org
net.time1 = {$ntp_server_primary}
net.time2 = {$ntp_server_secondary}
net.time3 = 2.debian.pool.ntp.org
net.time4 = 3.debian.pool.ntp.org
net.vlan.id = 0
net.vlan.priority = 0
net.vlan.use = 0
# net.vlan.id = 0
# net.vlan.priority = 0
# net.vlan.use = 0
phone.dtmf.src = rtp-telev
phone.timeout.inbound = 300
phone.timeout.outbound = 300
@@ -524,35 +523,35 @@ phone.timeout.ring = 0
phone.timeout.ringback = 0
phone.tone.page = Default
phone.tone.ringback = Default
prov.auth.pwd =
prov.auth.user =
prov.auth.pwd = {$http_auth_username}
prov.auth.user ={$http_auth_password}
prov.download.cert = 0
prov.download.fwpath =
prov.download.method = http
prov.download.fwpath =
prov.download.method = https
prov.i = 0
prov.server.method = static
prov.sync.endtime =
prov.sync.endtime =
prov.sync.frequency = daily
prov.sync.time =
prov.sync.time =
prov.sync.wdays = 1,2,3,4,5,6,7,
prov.use = 1
prov.ztp.use = 0
relayin.mcast.group = 1
relayin.mcast.ip =
relayin.mcast.ip =
relayin.mcast.mode = 0
relayin.mcast.port =
relayin.mcast.port =
relayin.mcast.type = 0
relayin.override.group =
relayin.override.group =
relayin.override.zone = 9,
relayin.tamper.action = 0
relayin.tamper.dest =
relayin.tamper.dest =
relayin.tamper.duration = 0
relayin.tamper.interval = 0
relayin.tamper.maxtone = 0
relayin.tamper.tone = buzzer.wav
relayin.trigger.action = 0
relayin.trigger.callmode = 0
relayin.trigger.dest =
relayin.trigger.dest =
relayin.trigger.duration = 0
relayin.trigger.interval = 0
relayin.trigger.maxtone = 0
@@ -560,88 +559,88 @@ relayin.trigger.restart = 0
relayin.trigger.tone = chime.wav
relayin.volctl.calibration = 0
relayin.volctl.mute = 1
remote.vol.ip =
remote.vol.ip =
remote.vol.mode = disabled
remote.vol.pwd =
sd.loud.dest =
remote.vol.pwd =
sd.loud.dest =
sd.loud.sens = 0
sd.loud.use = 0
sip.alert1.auth =
sip.alert1.auth =
sip.alert1.event = 2
sip.alert1.group = Default
sip.alert1.mode =
sip.alert1.pwd =
sip.alert1.user =
sip.alert1.mode =
sip.alert1.pwd =
sip.alert1.user =
sip.alert1.zone = Default
sip.alert10.auth =
sip.alert10.auth =
sip.alert10.group = Default
sip.alert10.pwd =
sip.alert10.pwd =
sip.alert10.tone = Default
sip.alert10.use = 0
sip.alert10.user =
sip.alert10.user =
sip.alert10.zone = Default
sip.alert2.auth =
sip.alert2.auth =
sip.alert2.event = 2
sip.alert2.group = Default
sip.alert2.pwd =
sip.alert2.pwd =
sip.alert2.tone = Default
sip.alert2.use = 0
sip.alert2.user =
sip.alert2.user =
sip.alert2.zone = Default
sip.alert3.auth =
sip.alert3.auth =
sip.alert3.event = 2
sip.alert3.group = Default
sip.alert3.pwd =
sip.alert3.pwd =
sip.alert3.tone = Default
sip.alert3.use = 0
sip.alert3.user =
sip.alert3.user =
sip.alert3.zone = Default
sip.alert4.auth =
sip.alert4.auth =
sip.alert4.event = 2
sip.alert4.group = Default
sip.alert4.pwd =
sip.alert4.pwd =
sip.alert4.tone = Default
sip.alert4.use = 0
sip.alert4.user =
sip.alert4.user =
sip.alert4.zone = Default
sip.alert5.auth =
sip.alert5.auth =
sip.alert5.event = 2
sip.alert5.group = Default
sip.alert5.pwd =
sip.alert5.pwd =
sip.alert5.tone = Default
sip.alert5.use = 0
sip.alert5.user =
sip.alert5.user =
sip.alert5.zone = Default
sip.alert6.auth =
sip.alert6.auth =
sip.alert6.group = Default
sip.alert6.pwd =
sip.alert6.pwd =
sip.alert6.tone = Default
sip.alert6.use = 0
sip.alert6.user =
sip.alert6.user =
sip.alert6.zone = Default
sip.alert7.auth =
sip.alert7.auth =
sip.alert7.group = Default
sip.alert7.pwd =
sip.alert7.pwd =
sip.alert7.tone = Default
sip.alert7.use = 0
sip.alert7.user =
sip.alert7.user =
sip.alert7.zone = Default
sip.alert8.auth =
sip.alert8.auth =
sip.alert8.group = Default
sip.alert8.pwd =
sip.alert8.pwd =
sip.alert8.tone = Default
sip.alert8.use = 0
sip.alert8.user =
sip.alert8.user =
sip.alert8.zone = Default
sip.alert9.auth =
sip.alert9.auth =
sip.alert9.group = Default
sip.alert9.pwd =
sip.alert9.pwd =
sip.alert9.tone = Default
sip.alert9.use = 0
sip.alert9.user =
sip.alert9.user =
sip.alert9.zone = Default
sip.bkproxy1 =
sip.bkproxy2 =
sip.bkproxy1 =
sip.bkproxy2 =
sip.detect.mode = 1
sip.diffport = 0
sip.interop.checksync = always-reboot
@@ -652,32 +651,32 @@ sip.ka.period = 30
sip.mwi.event = 0
sip.mwi.mode = 0
sip.mwi.subs = 0
sip.nat.media =
sip.nat.media =
sip.obproxy = {$account.1.outbound_proxy}
sip.outbound = 0
sip.page.use = 1
sip.proxy = {$account.1.server_address}
sip.regexp = {$account.1.register_expires}
sip.register.use = 1
sip.registrar =
sip.registrar =
sip.sips = 0
sip.srtp =
sip.srtp =
sip.srtp.suite = aes_cm_128_hmac_sha1_80
sip.ssr.chkact = 0
sip.ssr.interval = 120
sip.ssr.method = 0
sip.ssr.nofb = 0
sip.ssr.use = 0
sip.stun =
sip.stun.server =
sip.stun =
sip.stun.server =
sip.transp = auto
sip.turn.pwd =
sip.turn.server =
sip.turn.user =
sip.turn.pwd =
sip.turn.server =
sip.turn.user =
sip.u1.auth = {$account.1.auth_id}
sip.u1.pwd = {$account.1.password}
sip.u1.user = {$account.1.user_id}
synapps.port = 6789
synapps.server =
synapps.server =
synapps.use = 1
watcher.watchdog.use = 0
watcher.watchdog.use = 0