]> git.ipfire.org Git - thirdparty/asterisk.git/commit
sig_analog: Allow '#' to end the inter-digit timeout when dialing.
authorNaveen Albert <asterisk@phreaknet.org>
Fri, 3 Oct 2025 19:56:06 +0000 (15:56 -0400)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 7 Oct 2025 15:16:27 +0000 (15:16 +0000)
commitcf9c107e4d7dde39ae9a8d1e6d2bf2d929f3699a
tree0371773fe324148c3c654ac47e49407cd9dbcdb9
parent9a2a853fee64bf39d04b17de0b519e4c8ae2203e
sig_analog: Allow '#' to end the inter-digit timeout when dialing.

It is customary to allow # to terminate digit collection immediately
when there would normally be a timeout. However, currently, users are
forced to wait for the timeout to expire when dialing numbers that
are prefixes of other valid matches, and there is no way to end the
timeout early. Customarily, # terminates the timeout, but at the moment,
this is just rejected unless there happens to be a matching extension
ending in #.

Allow # to terminate the timeout in cases where there is no dialplan
match. This ensures that the dialplan is always respected, but if a
valid extension has been dialed that happens to prefix other valid
matches, # can be used to dial it immediately.

Resolves: #1510
channels/sig_analog.c