I have a res_mysql.conf
configured to use some database db
which is refilled from db.sql
file. After loading the dump I reload configurations and my SIP peers disappear:
dev-ast*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Realtime
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
After a while, they register again:
dev-ast*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Realtime
S0ea8c0d/S0ea8c0d 192.168.242.235 D 5060 OK (12 ms) Cached RT
S7af152e/S7af152e 192.168.241.147 D 5060 OK (14 ms) Cached RT
Se865486/Se865486 192.168.241.132 D 5060 OK (14 ms) Cached RT
3 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 0 offline]
I noticed that if I wait for a minute or two after loading the dump I can reload configurations safely, without losing my peers.
Any ideas?