<p><a href="https://gerrit.asterisk.org/c/testsuite/+/11567">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/11567/4/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_anonymous/test-config.yaml">File tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_anonymous/test-config.yaml:</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/11567/4/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_anonymous/test-config.yaml@1">Patch Set #4, Line 1:</a> <code style="font-family:monospace,monospace">testinfo:</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Do we need a test to ensure that if the "anonymous" identify module isn't loaded an anonymous call w […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I wondered the same thing. Opted at the time to not add one as I figured we already have tests checking authentication for endpoints. Which I then figured any test that does that (like the wrong_password one) is pretty much equivalent to an anonymous call.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I could try to add one in specifically for this if you think it'd be worthwhile?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/11567/4/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_is_busy_at/test-config.yaml">File tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_is_busy_at/test-config.yaml:</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/11567/4/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_is_busy_at/test-config.yaml@1">Patch Set #4, Line 1:</a> <code style="font-family:monospace,monospace">testinfo:</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I must be missing something.  I don't see the second originate. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The first originate is initiated by the "Originator" module. It just uses all the defaults, so there was no need for a config section. The second one is done through the AMI action below and it triggered off a received event.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Regarding your question...</p><p style="white-space: pre-wrap; word-wrap: break-word;">I initially went that route, but the second call did not fail. Either there were timing problems (hard to sync the two calling scenarios), and also as far as I can tell Asterisk still dials if the endpoint is busy. It's up to the user to configure the dialplan to dial or not dial based on some state I believe.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Doing it this way allowed for checking the endpoint state, and simplified the test.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/testsuite/+/11567">change 11567</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/+/11567"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Iae9854ea496d7241c1a4f9cd551be2ca1fb01078 </div>
<div style="display:none"> Gerrit-Change-Number: 11567 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.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-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 19 Jul 2019 18:18:33 +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: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>