Open insiac opened 3 years ago
sres.c:2988 sres_query_report_error() sres(q=0x7fdb78028670): reporting error OK for A sipprovider.com
:point_up: this stands out, the DNS response is decoded properly but not accounted for as an error; https://github.com/freeswitch/sofia-sip/pull/29 should fix that and enable the desired behaviour.
OS: Debian GNU/Linux 10 (buster) FS version: FreeSWITCH Version 1.10.5-release-17-25569c1631~64bit (-release-17-25569c1631 64bit)
We have two DNS server configured in the /etc/resolve.conf file (10.1.0.[20,21]) When one of the servers (10.1.0.21) was under maintenance, it ended up sending "REFUSED" response back to FS when it was trying to query for the gateway hostname (sipprovider.com). DNS reply:
It looks like the error is noted in the debug output, but query to the alternate server is not reattempted:
After this, SIP clients were not able to make calls through the gateway. sngrep showed that SIP REGISRATIONS and pings ( SIP OPTIONS) to the gateway stopped. 'sofia loglevel all 9' output from the even that caused the REJECTED DNS answer:
Once the "failing" DNS server was removed from the resolve.conf FS reregisterd with the gateway, but the pings did not restart. After restarting FS, the pings to the gateway resumed.