I guess multiple modules could benefit from this, but we're using the dispatcher module to distribute calls to static destinations, while monitoring availability of them. I see this PR might not be directly related.
Anyway, if socket is specified in the dispatcher entry and that's not available locally it will throw a lot of errors in the log. Currently we use "kamcmd dispatcher.ping_active <1 or 0>", controlled by the software responsible for moving the VIP between hosts. But this needs to be re-executed after a Kamailio restart.
You'll have a similar issue if udp ping is enabled for registrations and you got those replicated from the live node, as you mentioned.