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