Phones take a while to reconnect if the server rebooted

Doing a little out of hours work on the server and I’ve rebooted it.
It does seem to take ages before all the endpoints show up. The console shows many of these lines:

`[2016-04-06 19:07:27] ERROR[4670]: tcptls.c:908 ast_tcptls_client_start: Unable to connect SIP socket to 10.10.0.179:52662: Connection refused

It’s been up for 20 minutes now only half of the extensions are online, the rest showing as “unreachable”, there are only 16 connected devices right now.

Any ideas on what I can do to improve this? I rather suspect it is the ‘Register Expires’ key in the phones config, which is set to 3600 (seconds I guess, so an hour).

In the next 40 minutes, I recon they’ll all be online, what are the bad points of setting the register expire value to something lower, like five minutes?

Set your expire time to 60. Con: you spam your network. Thats all.

That sounds like a fun experiment. One for a rainy weekend I think!