]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial: Allow fractional seconds for dial timeouts.
authorNaveen Albert <asterisk@phreaknet.org>
Tue, 30 Sep 2025 14:25:01 +0000 (10:25 -0400)
committerNaveen Albert <asterisk@phreaknet.org>
Thu, 2 Oct 2025 16:02:42 +0000 (16:02 +0000)
commitd8bc249f2eb24d91c217e1702d875b64b0a82b29
tree9a115f32733e2f6c7e8bd3a035a5f7c2ce020a85
parent0bf9396aa92ead0e6c9efef0568622677d87d70d
app_dial: Allow fractional seconds for dial timeouts.

Even though Dial() internally uses milliseconds for its dial timeouts,
this capability has been mostly obscured from users as the argument is
only parsed as an integer, thus forcing the use of whole seconds for
timeouts.

Parse it as a decimal instead so that timeouts can now truly have
millisecond precision.

Resolves: #1487

UserNote: The answer and progress dial timeouts now have millisecond
precision, instead of having to be whole numbers.
apps/app_dial.c