<p> Attention is currently required from: Richard Mudgett. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/18369">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18369/comment/bb4fc1dc_396c69d1">Patch Set #3, Line 16:</a> <code style="font-family:monospace,monospace">For instance, something like DAHDI/5 or PJSIP/device</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Are you talking about a dialplan extension like this? […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I've never actually used a static extension, like that, what I have is stuff like this:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">;exten => _DAHDI[A-Za-z0-9].,1,Goto(DAHDI/${EXTEN:5},1)<br>;exten => _SIP[A-Za-z0-9].,1,Goto(SIP/${EXTEN:3},1)<br>;exten => _PJSIP[A-Za-z0-9].,1,Goto(PJSIP/${EXTEN:5},1)<br>;exten => _MGCP[A-Za-z0-9].,1,Goto(MGCP/${EXTEN:4},1)<br>exten => _[A-Z].,1,Set(CDR_PROP(disable)=1)<br> same => n,Answer()<br> same => n,Set(__fullpeername=${EXTEN})</pre><p style="white-space: pre-wrap; word-wrap: break-word;">The number/callerid only applies to statically defined extensions.<br>If it is a pattern match, then "anything goes".</p><p style="white-space: pre-wrap; word-wrap: break-word;">I often use the device name as an extension as is, and for a while have had to use hacky workarounds to work around the limitation of local channels not being able to access them directly, as you would be able to with a Goto. That's what's demonstrated above... the commented out extensions I don't need anymore with this fix.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18369">change 18369</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/+/18369"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8e85bc14072e452d0537a801aba17779569d0360 </div>
<div style="display:none"> Gerrit-Change-Number: 18369 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Attention: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 09 Apr 2022 01:35:10 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>