]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial: Allow fractional seconds for dial timeouts. 23
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:41 +0000 (16:02 +0000)
commitf873127f0d6361a6bd77040b602adb501faa5bb0
treeda75ae59649a7b40b78d7d15cb37462c4bac446e
parent8908cc5b96afef505637e473e210ed8f4b7a8e5e
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