Hostname not being considered by fsctl recover

Guilherme Lima Hernandez Rinc√£o guilherme.lima at vulcanet.com.br
Tue Feb 4 13:33:19 UTC 2020


Hello. I've got 3 FS 1.6.20 instances sharing a postgre db, with different
hostnames, two of them receiving calls and the third one acting as a
failover.
Calls are correctly added with their respective hostname to the recovery
table but running fsctl recover on the failover, all calls are recovered,
not just the ones that match its hostname. Is this the expected behaviour?

Looking at the source code
<https://github.com/signalwire/freeswitch/blob/cd5d72ac744208ae63b0b81d18410f30eb8224da/src/switch_core_sqldb.c#L3316>,
it seems that hostname is not used as a filter, but the profile name is.
That does not match the wiki
<https://freeswitch.org/confluence/display/FREESWITCH/High+Availability>
documentation: *"hostname on both machines needs to be the same, as the sql
query to recover calls selects by hostname"*.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200204/d6d3b1c3/attachment-0001.html>


More information about the FreeSWITCH-users mailing list