PhoneToolMX/PolyProv/Views/Config/Sip.cshtml
snow flurry eff2dda7a4 Add PolyProv
Dynamic configuration for Polycom (VVX?) phones.
2023-10-20 12:58:23 -07:00

13 lines
372 B
Plaintext

@using PhoneToolMX.Models
@model Phone
@{
Layout = null;
}
<?xml version="1.0" standalone="yes"?>
<localcfg>
@for (var i = 0; i < Model.Extensions.Count; i++) {
<server @($"voIpProt.server.{i + 1}").address="172.20.42.254"/>
}
<digitmap dialplan.digitmap="[1-4]xxx|*xx|[5-9]1xxxxxxxxxx|#[5-9]1xxxxxxxxxx|9011x.T|0xxxxxxxxx|9444[3-4]"/>
</localcfg>