PhoneToolMX/PolyProv/Views/Config/Sip.cshtml

13 lines
372 B
Plaintext
Raw Normal View History

@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>