]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial: Allow fractional seconds for dial timeouts. master
authorNaveen Albert <asterisk@phreaknet.org>
Tue, 30 Sep 2025 14:25:01 +0000 (10:25 -0400)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 2 Oct 2025 16:02:48 +0000 (16:02 +0000)
commita6b15bfb685af67701df46274bf1c88d8ec906ab
tree22504343a486cffc4bfbe9475c4cf9ed1312d0b7
parente57f10bbe52e332a007c7b405c31677e37a8ea0e
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