<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">I'm curious, in what scenario do you need the '#' key to signal the<br>end of app_readexten? The only scenario I could think of is if you<br>have 2 extensions:</p><p style="white-space: pre-wrap; word-wrap: break-word;">exten => 100,1,Playback(hello-world)<br>exten => 1001,1,Playback(tt-monkeys)</p><p style="white-space: pre-wrap; word-wrap: break-word;">If you are in the readexten application and you enter "100", it<br>will wait for the timeout before setting the variable to "100"<br>since there is an extension that would match if you entered more<br>digits ("1"). However, it seems like you can already press the "#"<br>key to signal the end of input.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Is there a scenario that you need this for that I'm not thinking<br>of?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Simple example<br>exten => 100,1,Playback(hello-world)<br>exten => 1001,1,Playback(tt-monkeys)<br>; and International<br>exten => _011[2-9]XXXX.,1,Playback(tt-monkeys)</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11387">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11387">change 11387</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/11387"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: If77c40c9c8b525885730821e768f5dea71cf04c1 </div>
<div style="display:none"> Gerrit-Change-Number: 11387 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 21 May 2019 18:32:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>