]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip: update qualify_timeout documentation with DNS note
authorMike Bradeen <mbradeen@sangoma.com>
Tue, 26 Sep 2023 19:19:27 +0000 (13:19 -0600)
committerMike Bradeen <mbradeen@sangoma.com>
Thu, 5 Oct 2023 16:58:53 +0000 (16:58 +0000)
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

res/res_pjsip/pjsip_config.xml

index d3f3049d84514ba0fb56e83a9937e919ddfb3c04..0f4079a1f80d39f7eac7af84a54d620520b382e2 100644 (file)
                                        <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>
                                        <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>