res_pjsip: update qualify_timeout documentation with DNS note

The documentation on qualify_timeout does not explicitly state that the timeout
includes any time required to perform any needed DNS queries on the endpoint.

If the OPTIONS response is delayed due to the DNS query, it can still render an
endpoint as Unreachable if the net time is enough for qualify_timeout to expire.

Resolves: #352
(cherry picked from commit 933490b758)
This commit is contained in:
Mike Bradeen 2023-09-26 13:19:27 -06:00 committed by Asterisk Development Team
parent c06fd10f0a
commit 0df2848147
1 changed files with 4 additions and 2 deletions

View File

@ -1902,7 +1902,8 @@
<synopsis>Timeout for qualify</synopsis>
<description><para>
If the contact doesn't respond to the OPTIONS request before the timeout,
the contact is marked unavailable.
the contact is marked unavailable. This includes time spent performing
any required DNS lookup(s) prior to sending the OPTIONS.
If <literal>0</literal> no timeout. Time in fractional seconds.
</para></description>
</configOption>
@ -2127,7 +2128,8 @@
<synopsis>Timeout for qualify</synopsis>
<description><para>
If the contact doesn't respond to the OPTIONS request before the timeout,
the contact is marked unavailable.
the contact is marked unavailable. This includes time spent performing
any required DNS lookup(s) prior to sending the OPTIONS.
If <literal>0</literal> no timeout. Time in fractional seconds.
</para></description>
</configOption>