Recently, I have moved from chan_sip to res_pjsip. Also, I do not rely on public internet for DNS resolution instead do DNS resolution through /etc/hosts.
Earlier in chan_sip, I was using “srvlookup=false” in sip.conf and with that asterisk directly take dns values from /etc/hosts file rather than doing run time dns lookup and all endpoints (trunks) come up online within a second. I have a large list of endpoints (trunks 100+) which are not publicly resolvable
But after moving from chan_sip to res_pjsip, I am not able to find such flag in pjsip.conf.
Please help me with equivalent of “srvlookup” flag in PJSIP.conf