<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/testsuite/+/17342">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_iax2: Add tests for ad hoc dialing with RSA authentication<br><br>Previously, the use of RSA authentication was mutually exclusive<br>with the use of a secret for AES-128 encryption in IAX2. This is<br>no longer the case.<br><br>This adds a test for the updated Dial syntax for IAX2 to allow a<br>secret and an outkey to be specified at the same time.<br><br>Change-Id: I6e0218f96993d157096d0052f0e987d8026a233c<br>---<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/extensions.conf<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/iax.conf<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/cdr.conf<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/extensions.conf<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/iax.conf<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast1/astvarlibdir/keys/test.key<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast2/astvarlibdir/keys/test.pub<br>A tests/channels/iax2/encrypted-calls/rsa-dynamic/test-config.yaml<br>M tests/channels/iax2/encrypted-calls/tests.yaml<br>9 files changed, 247 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/42/17342/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/extensions.conf b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/extensions.conf</span><br><span>new file mode 100644</span><br><span>index 0000000..6c995e9</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/extensions.conf</span><br><span>@@ -0,0 +1,8 @@</span><br><span style="color: hsl(120, 100%, 40%);">+[general]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[globals]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[iaxtest]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+exten => 1000,1,Answer()</span><br><span style="color: hsl(120, 100%, 40%);">+exten => 1000,n,Echo()</span><br><span>\ No newline at end of file</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/iax.conf b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/iax.conf</span><br><span>new file mode 100644</span><br><span>index 0000000..11ef13c</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast1/iax.conf</span><br><span>@@ -0,0 +1,19 @@</span><br><span style="color: hsl(120, 100%, 40%);">+[general]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+bindport=4570</span><br><span style="color: hsl(120, 100%, 40%);">+bindaddr=127.0.0.1</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+disallow=all</span><br><span style="color: hsl(120, 100%, 40%);">+allow=ulaw</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+jitterbuffer=no</span><br><span style="color: hsl(120, 100%, 40%);">+forcejitterbuffer=no</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+encryption=yes</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[guest70]</span><br><span style="color: hsl(120, 100%, 40%);">+type=user</span><br><span style="color: hsl(120, 100%, 40%);">+context=iaxtest</span><br><span style="color: hsl(120, 100%, 40%);">+auth=md5</span><br><span style="color: hsl(120, 100%, 40%);">+secret=passw0rd</span><br><span style="color: hsl(120, 100%, 40%);">+forceencryption=yes</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/cdr.conf b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/cdr.conf</span><br><span>new file mode 100644</span><br><span>index 0000000..921793c</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/cdr.conf</span><br><span>@@ -0,0 +1,7 @@</span><br><span style="color: hsl(120, 100%, 40%);">+[general]</span><br><span style="color: hsl(120, 100%, 40%);">+unanswered=yes</span><br><span style="color: hsl(120, 100%, 40%);">+[csv]</span><br><span style="color: hsl(120, 100%, 40%);">+usegmtime=yes ; log date/time in GMT. Default is "no"</span><br><span style="color: hsl(120, 100%, 40%);">+loguniqueid=yes ; log uniqueid. Default is "no"</span><br><span style="color: hsl(120, 100%, 40%);">+loguserfield=yes ; log user field. Default is "no"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/extensions.conf b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/extensions.conf</span><br><span>new file mode 100644</span><br><span>index 0000000..c3939af</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/extensions.conf</span><br><span>@@ -0,0 +1,9 @@</span><br><span style="color: hsl(120, 100%, 40%);">+[general]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[globals]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[iaxtest]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+exten => 1000,1,Answer()</span><br><span style="color: hsl(120, 100%, 40%);">+exten => 1000,n,Wait(1)</span><br><span style="color: hsl(120, 100%, 40%);">+exten => 1000,n,Hangup()</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/iax.conf b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/iax.conf</span><br><span>new file mode 100644</span><br><span>index 0000000..9fdbfdb</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/configs/ast2/iax.conf</span><br><span>@@ -0,0 +1,17 @@</span><br><span style="color: hsl(120, 100%, 40%);">+[general]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+bindport=4569</span><br><span style="color: hsl(120, 100%, 40%);">+bindaddr=127.0.0.1</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+disallow=all</span><br><span style="color: hsl(120, 100%, 40%);">+allow=ulaw</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+encryption=yes</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[guest69]</span><br><span style="color: hsl(120, 100%, 40%);">+type=user</span><br><span style="color: hsl(120, 100%, 40%);">+context=iaxtest</span><br><span style="color: hsl(120, 100%, 40%);">+auth=rsa</span><br><span style="color: hsl(120, 100%, 40%);">+secret=passw0rd</span><br><span style="color: hsl(120, 100%, 40%);">+forceencryption=yes</span><br><span style="color: hsl(120, 100%, 40%);">+inkeys=test</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast1/astvarlibdir/keys/test.key b/tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast1/astvarlibdir/keys/test.key</span><br><span>new file mode 100644</span><br><span>index 0000000..417ef16</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast1/astvarlibdir/keys/test.key</span><br><span>@@ -0,0 +1,15 @@</span><br><span style="color: hsl(120, 100%, 40%);">+-----BEGIN RSA PRIVATE KEY-----</span><br><span style="color: hsl(120, 100%, 40%);">+MIICXQIBAAKBgQCeDuRnTJWkht1ssoxcaD62nNkgQDxn6AMObAuBMcDK8WJzdlgl</span><br><span style="color: hsl(120, 100%, 40%);">+lnsoyJqDFNl1i3TZ1JW8GQLjwNZyKREsGE7UDj4eKWYgqKhdGjkuM9L8EI0y5GTj</span><br><span style="color: hsl(120, 100%, 40%);">+QClUokKrkFa0L5rQwbyw0m4doQpae3myjlGtKQIKUFtv0r78sprSBh/WUQIDAQAB</span><br><span style="color: hsl(120, 100%, 40%);">+AoGABdpxVO3+ILCp5IucLRPjNqoKVGpskkCCVHdl2av5Asr7pWD9lK7E8tay+iW8</span><br><span style="color: hsl(120, 100%, 40%);">+g+DdO+/md6fJdpu+lU22CBcCXEMgpIFgaPbo+6tKcLi4fgO00GhFZl2d6YRXDY8C</span><br><span style="color: hsl(120, 100%, 40%);">+XdaEgnI1lO05LtLpwCO8neIWTXn8B5cafHEitziWoDrwFf0CQQDKPjTCRAL9gO9T</span><br><span style="color: hsl(120, 100%, 40%);">+b9ExsWqwXEnSGWtjTdcy3LYTF0G15HP0rY6e/U5O4YT8sevWgl84hLquh50kqpt2</span><br><span style="color: hsl(120, 100%, 40%);">+0mKzal5jAkEAyBIXz+JDto0n63tpiyCKf6RmKWpOg0aJv+zF6URrvKfPYchymOag</span><br><span style="color: hsl(120, 100%, 40%);">+REfx7GZaUNd48emvE9fhEK/R2qbpTdLMuwJBALuy8BQ8Ouo79+JgLK8KEhKMFJdB</span><br><span style="color: hsl(120, 100%, 40%);">+sEEBxXAXF4SwWPQPiu7TBULZpQvgkiRUnKUBao5x4TCJ/HZDQPYOXDxXxDECQALu</span><br><span style="color: hsl(120, 100%, 40%);">+QOsKpXNHHg6VADbJgz3baqOwqvXBUsM89Kk2F13sF12XUhZrSm21oBWWajxE68Cf</span><br><span style="color: hsl(120, 100%, 40%);">+a7EeuG1GJgzN5Rz+uYECQQDIXC3bHXapjYR4wog2ANnTuYuxvmo9Zos6tuyj98aE</span><br><span style="color: hsl(120, 100%, 40%);">+OdAmJ2tAUL5Vfaj9Ndp9rtxOMV6Kg+fSeBfgihJimFQm</span><br><span style="color: hsl(120, 100%, 40%);">+-----END RSA PRIVATE KEY-----</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast2/astvarlibdir/keys/test.pub b/tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast2/astvarlibdir/keys/test.pub</span><br><span>new file mode 100644</span><br><span>index 0000000..088fe33</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/files/ast2/astvarlibdir/keys/test.pub</span><br><span>@@ -0,0 +1,6 @@</span><br><span style="color: hsl(120, 100%, 40%);">+-----BEGIN PUBLIC KEY-----</span><br><span style="color: hsl(120, 100%, 40%);">+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCeDuRnTJWkht1ssoxcaD62nNkg</span><br><span style="color: hsl(120, 100%, 40%);">+QDxn6AMObAuBMcDK8WJzdlgllnsoyJqDFNl1i3TZ1JW8GQLjwNZyKREsGE7UDj4e</span><br><span style="color: hsl(120, 100%, 40%);">+KWYgqKhdGjkuM9L8EI0y5GTjQClUokKrkFa0L5rQwbyw0m4doQpae3myjlGtKQIK</span><br><span style="color: hsl(120, 100%, 40%);">+UFtv0r78sprSBh/WUQIDAQAB</span><br><span style="color: hsl(120, 100%, 40%);">+-----END PUBLIC KEY-----</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/rsa-dynamic/test-config.yaml b/tests/channels/iax2/encrypted-calls/rsa-dynamic/test-config.yaml</span><br><span>new file mode 100644</span><br><span>index 0000000..926eff7</span><br><span>--- /dev/null</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/rsa-dynamic/test-config.yaml</span><br><span>@@ -0,0 +1,165 @@</span><br><span style="color: hsl(120, 100%, 40%);">+testinfo:</span><br><span style="color: hsl(120, 100%, 40%);">+ summary: 'Test a basic IAX2 call using RSA authentication with encryption'</span><br><span style="color: hsl(120, 100%, 40%);">+ description: |</span><br><span style="color: hsl(120, 100%, 40%);">+ 'This test initiates an IAX2 call between 2 instances of Asterisk.</span><br><span style="color: hsl(120, 100%, 40%);">+ The test only verifies that an IAX2 call is actually instantiated</span><br><span style="color: hsl(120, 100%, 40%);">+ between the two Asterisk instances using RSA authentication with</span><br><span style="color: hsl(120, 100%, 40%);">+ encryption and that proper records are generated.'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+properties:</span><br><span style="color: hsl(120, 100%, 40%);">+ dependencies:</span><br><span style="color: hsl(120, 100%, 40%);">+ - python : 'twisted'</span><br><span style="color: hsl(120, 100%, 40%);">+ - python : 'starpy'</span><br><span style="color: hsl(120, 100%, 40%);">+ - asterisk : 'cdr_csv'</span><br><span style="color: hsl(120, 100%, 40%);">+ tags:</span><br><span style="color: hsl(120, 100%, 40%);">+ - iax2</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+test-modules:</span><br><span style="color: hsl(120, 100%, 40%);">+ test-object:</span><br><span style="color: hsl(120, 100%, 40%);">+ config-section: test-object-config</span><br><span style="color: hsl(120, 100%, 40%);">+ typename: 'test_case.TestCaseModule'</span><br><span style="color: hsl(120, 100%, 40%);">+ modules:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ config-section: originator</span><br><span style="color: hsl(120, 100%, 40%);">+ typename: 'pluggable_modules.Originator'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ config-section: ami-config</span><br><span style="color: hsl(120, 100%, 40%);">+ typename: 'ami.AMIEventModule'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ config-section: hangup-monitor</span><br><span style="color: hsl(120, 100%, 40%);">+ typename: 'pluggable_modules.HangupMonitor'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ config-section: cdr-config</span><br><span style="color: hsl(120, 100%, 40%);">+ typename: 'cdr.CDRModule'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ config-section: 'cel-config'</span><br><span style="color: hsl(120, 100%, 40%);">+ typename: 'ami.AMIEventModule'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+test-object-config:</span><br><span style="color: hsl(120, 100%, 40%);">+ asterisk-instances: 2</span><br><span style="color: hsl(120, 100%, 40%);">+ connect-ami: True</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+originator:</span><br><span style="color: hsl(120, 100%, 40%);">+ trigger: 'ami_connect'</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '0'</span><br><span style="color: hsl(120, 100%, 40%);">+ channel: 'IAX2/guest69:passw0rd:[test]@127.0.0.1:4569/1000'</span><br><span style="color: hsl(120, 100%, 40%);">+ context: 'iaxtest'</span><br><span style="color: hsl(120, 100%, 40%);">+ exten: '1000'</span><br><span style="color: hsl(120, 100%, 40%);">+ priority: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ async: 'True'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ami-config:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '0'</span><br><span style="color: hsl(120, 100%, 40%);">+ type: 'headermatch'</span><br><span style="color: hsl(120, 100%, 40%);">+ count: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ conditions:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Event: 'Newchannel'</span><br><span style="color: hsl(120, 100%, 40%);">+ requirements:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ type: 'headermatch'</span><br><span style="color: hsl(120, 100%, 40%);">+ count: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ conditions:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Event: 'Newchannel'</span><br><span style="color: hsl(120, 100%, 40%);">+ requirements:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '0'</span><br><span style="color: hsl(120, 100%, 40%);">+ type: 'headermatch'</span><br><span style="color: hsl(120, 100%, 40%);">+ count: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ conditions:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Event: 'Hangup'</span><br><span style="color: hsl(120, 100%, 40%);">+ requirements:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ type: 'headermatch'</span><br><span style="color: hsl(120, 100%, 40%);">+ count: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ conditions:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Event: 'Hangup'</span><br><span style="color: hsl(120, 100%, 40%);">+ requirements:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+hangup-monitor:</span><br><span style="color: hsl(120, 100%, 40%);">+ ids: '0'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+cdr-config:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: 0</span><br><span style="color: hsl(120, 100%, 40%);">+ file: 'Master'</span><br><span style="color: hsl(120, 100%, 40%);">+ lines:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ destination: '1000'</span><br><span style="color: hsl(120, 100%, 40%);">+ dcontext: 'iaxtest'</span><br><span style="color: hsl(120, 100%, 40%);">+ channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ lastapp: 'Echo'</span><br><span style="color: hsl(120, 100%, 40%);">+ disposition: 'ANSWERED'</span><br><span style="color: hsl(120, 100%, 40%);">+ amaflags: 'DOCUMENTATION'</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: 1</span><br><span style="color: hsl(120, 100%, 40%);">+ file: 'Master'</span><br><span style="color: hsl(120, 100%, 40%);">+ lines:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ destination: '1000'</span><br><span style="color: hsl(120, 100%, 40%);">+ dcontext: 'iaxtest'</span><br><span style="color: hsl(120, 100%, 40%);">+ channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ lastapp: 'Hangup'</span><br><span style="color: hsl(120, 100%, 40%);">+ disposition: 'ANSWERED'</span><br><span style="color: hsl(120, 100%, 40%);">+ amaflags: 'DOCUMENTATION'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+cel-config:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '0'</span><br><span style="color: hsl(120, 100%, 40%);">+ type: 'cel'</span><br><span style="color: hsl(120, 100%, 40%);">+ conditions:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ requirements:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: CHAN_START</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: ANSWER</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: HANGUP</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: CHAN_END</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: LINKEDID_END</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ id: '1'</span><br><span style="color: hsl(120, 100%, 40%);">+ type: 'cel'</span><br><span style="color: hsl(120, 100%, 40%);">+ conditions:</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ Channel: 'IAX2/.*'</span><br><span style="color: hsl(120, 100%, 40%);">+ requirements:</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: CHAN_START</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: ANSWER</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: HANGUP</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: CHAN_END</span><br><span style="color: hsl(120, 100%, 40%);">+ -</span><br><span style="color: hsl(120, 100%, 40%);">+ match:</span><br><span style="color: hsl(120, 100%, 40%);">+ EventName: LINKEDID_END</span><br><span>diff --git a/tests/channels/iax2/encrypted-calls/tests.yaml b/tests/channels/iax2/encrypted-calls/tests.yaml</span><br><span>index ac9491e..3d1246b 100644</span><br><span>--- a/tests/channels/iax2/encrypted-calls/tests.yaml</span><br><span>+++ b/tests/channels/iax2/encrypted-calls/tests.yaml</span><br><span>@@ -2,3 +2,4 @@</span><br><span> tests:</span><br><span> - test: 'md5'</span><br><span> - test: 'rsa'</span><br><span style="color: hsl(120, 100%, 40%);">+ - test: 'rsa-dynamic'</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/testsuite/+/17342">change 17342</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/+/17342"/><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: I6e0218f96993d157096d0052f0e987d8026a233c </div>
<div style="display:none"> Gerrit-Change-Number: 17342 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>