I see that pj_getaddrinfo() called from pj_gethostip() hits the 5 second timeout for some nameservers on a Linux-based device. The call to pj_getaddrinfo() is not able to resolve the local host IP address and defaults to pj_getdefaultipinterface(). I was wondering if I could disable the call to pj_getaddrinfo() by setting 'PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION' - I already see this set for macOS. Are there any pitfalls of setting this for Linux platform too?
Incidentally, pj_getaddrinfo() is able to resolve the ip address when using the same nameservers.
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org