-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 12
-
Fix Version/s: 12
-
Component/s: Endpoint (Commercial)
-
Labels:
-
Environment:
Up to date standard FreePBX 12 on latest Distro
-
ToDo:
-
Distro:FreePBX Distro
Yealink basefiles use the parameter
{noformat}_lineXsipPort_{noformat}in account.X.sip_server_port and in account.X.sip_listen_port.
{noformat}_lineXsipPort_{noformat}is taken from the specific extension configuration when creating the provisioning file, so if the phone is set to listen on a port different from 5060 (say 5062, and many Yealink phones do), the provisioning file incorrectly tells the phone that the server is running on 5062, not the port the server is running on, usually 5060.
This results in the phone not registering, if the SIP port is set to anything different from 5060 in the extension configuration.
{noformat}_lineXsipPort_{noformat}should only be used in account.X.sip_listen_port and not in account.X.sip_server_port.
I suggest creating a
{noformat}_sipServerPort_{noformat}parameter, taken from SIP Settings - Chan SIP - Bind Port to use in account.X.sip_server_port.