<p>Sébastien Duthil has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/testsuite/+/14085">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_channel: test reading 4 more fields<br><br>The fields are:<br>- exten<br>- context<br>- userfield<br>- channame<br><br>ASTERISK-28796<br><br>Change-Id: Ic229f561663495a75faae67caef59dbbf2909485<br>---<br>M tests/funcs/func_channel/configs/ast1/extensions.conf<br>1 file changed, 7 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/85/14085/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/funcs/func_channel/configs/ast1/extensions.conf b/tests/funcs/func_channel/configs/ast1/extensions.conf</span><br><span>index e5504e7..b9ea177 100644</span><br><span>--- a/tests/funcs/func_channel/configs/ast1/extensions.conf</span><br><span>+++ b/tests/funcs/func_channel/configs/ast1/extensions.conf</span><br><span>@@ -30,11 +30,18 @@</span><br><span> </span><br><span> same = n,Gosub(check_match,1(channeltype,"Local"))</span><br><span> same = n,Gosub(check_regex,1(name,"Local/test@default-........\;2"))</span><br><span style="color: hsl(120, 100%, 40%);">+same = n,Gosub(check_regex,1(channame,"Local/test@default-........\;2"))</span><br><span> </span><br><span> same = n,Gosub(check_match,1(accountcode,""))</span><br><span> </span><br><span> same = n,Gosub(check_match,1(checkhangup,"0"))</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+same = n,Gosub(check_match,1(exten,"check_match"))</span><br><span style="color: hsl(120, 100%, 40%);">+same = n,Gosub(check_match,1(context,"default"))</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+same = n,Set(CHANNEL(userfield)="some-userfield")</span><br><span style="color: hsl(120, 100%, 40%);">+same = n,Gosub(check_match,1(userfield,"some-userfield"))</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> same = n,Gosub(check_regex,1(uniqueid,"[0-9][0-9]*\.[0-9]"))</span><br><span> same = n,Gosub(check_regex,1(linkedid,"[0-9][0-9]*\.[0-9]"))</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/testsuite/+/14085">change 14085</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/testsuite/+/14085"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 17 </div>
<div style="display:none"> Gerrit-Change-Id: Ic229f561663495a75faae67caef59dbbf2909485 </div>
<div style="display:none"> Gerrit-Change-Number: 14085 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sébastien Duthil <sduthil@wazo.community> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>