]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 30 Oct 2025 16:09:10 +0000 (16:09 +0000)
commit87974ee767e067b55663a82a191aa5e5cb5dbce6
tree6525bb1b5ec6e415dca8c23b7e7d23087a11f6b7
parent41864fbb1245375282364bbfffc802ac0e04ffc5
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