I have a clean installation of FreePBX v184.108.40.206 running EPM v220.127.116.11. All endpoints are using pj_sip FWIW.
I’m trying to auto provision an OBi202 with a handset on port 1 and a fax on port 2. The Obihai template is pretty lightweight, so there’s really not a lot to go wrong. It’s only one page of info, and nothing includes specifying the UDP port.
I setup the voice extension with Account 1 and the fax extension with Account 2.
Everything looks great, but when I auto provision the device, the SP2 Service Status on the OBi202 Status page shows it “Retyring Register” on port 5070.
Sure enough, when I grep /tftpboot/$MAC.xml, I can see that VoiceService.1.VoiceProfile.2.SIP.OutboundProxyPort is set to 5070 in the config file. (At least that confirms the auto provisioning is working. )
Worse, when I try to manually set the VoiceService.1.VoiceProfile.2.SIP.OutboundProxyPort value to 5060 in the Basefile Edit page in order to override the incorrect value, I get the following error when I click Apply “Save and Rebuild Config(s)”:
Undefined variable: value
Does anyone have any ideas for a workaround? Does anyone know where to log a bug against the Obihai EPM module?