]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Tue, 7 Oct 2025 15:16:22 +0000 (15:16 +0000)
commite6bb467b4ae7757b2e293c6d20b1725330b8ef1d
tree603d234b882a32cadc17223afafbdba8ce764649
parentdaab5c330b11151c4ae7c0ff8b7b1c772d6ac228
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