Open ivanuschak opened 3 days ago
I've implemented the fix for this issue in this branch, this fix works - the issue is not reproduced when this fix applied. However I don't like some parts of this implementation and I would appreciate if sofia-sip developers reviewed/adjusted this update. Thanks in advance.
When a DNS record has a big size then the DNS UDP reply can come truncated and DNS request should be re-sent over TCP, like for example
nslookup
does for this DNS name ca.nga911.com:nslookup
prints;; Truncated, retrying in TCP mode.
and then it retries the DNS request over TCP.When FreeSwitch (sofia-sip library) receives a truncated UDP DNS reply then it does not retry over TCP and consider this DNS request as failed, hence it causes the call gets failed: