I have more than a few FreePBX servers, and a few hundred phones behind all kinds of routers and networks. One common issue I find is that at some places, when there’s a router reboot the phones don’t always come back right away - and sometimes never - unless we log into the phones and change the LOCAL SIP PORT.
We exclusively use Yealink phones and otherwise love them, but this happens to them, and also to some Polycoms we use.
We typically assign our phones random ports in the 8000-12000 range and are using PJSIP on our freepbx server. We are NOT having stability issues outside of this ‘the router rebooted’ issue - the phones themselves act fine - even come back generally OK if we have to reboot the FreePBX server itself or there is internet latency/timeouts.
Anyone have experience on this, and/or a tweak?
Here’s an example of of our config
account.1.auth_name = 100
account.1.display_name = 100 Mgr
account.1.dnd.off_code = *79
account.1.dnd.on_code = *78
account.1.enable = 1
account.1.label = 100 Mgr
account.1.missed_calllog = 0
account.1.session_timer.expires = 120
account.1.sip_server.1.port = 5260
account.1.sip_server.1.retry_counts = 10
account.1.sip_server.2.port = 5260
account.1.sip_server.2.retry_counts = 10
account.1.subscribe_mwi = 1
account.1.subscribe_mwi_to_vm = 1
account.1.subscribe_register = 1
account.1.user_name = 100
sip.listen_port = 11000