[Asterisk-code-review] app_originate: Tests for variables (testsuite[master])

George Joseph asteriskteam at digium.com
Wed Jun 9 11:54:50 CDT 2021


Attention is currently required from: N A.
George Joseph has posted comments on this change. ( https://gerrit.asterisk.org/c/testsuite/+/16061 )

Change subject: app_originate: Tests for variables
......................................................................


Patch Set 1: Code-Review-1

(3 comments)

Patchset:

PS1: 
You should be able to stop the test early...


File tests/apps/originate/test-config.yaml:

https://gerrit.asterisk.org/c/testsuite/+/16061/comment/5ffa5fbb_2a183f26 
PS1, Line 21: ami.AMIEventModule
Per IRC conversation...
Change this to pluggable_modules.EventActionModule


https://gerrit.asterisk.org/c/testsuite/+/16061/comment/5d9d7785_44349a8b 
PS1, Line 37:     -
            :         type: 'headermatch'
            :         conditions:
            :             match:
            :                 Event: 'UserEvent'
            :                 UserEvent: 'OriginateVariableSet'
            :         requirements:
            :             match:
            :                 Result: 'Pass'
            :         count: 9
            : 
Look at tests/channels/pjsip/qualify/no_qualify/test-config.yaml for a simple example of how to use the EventActionModule.  Each entry in ami-config is a pair of an event and an action.  If you look at the second pair in that example, when the EndpointDetail event is received, the internal "stop_test" command is issued.



-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/16061
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Change-Id: Ia63cf95a5a06257d4cfd856c029d6296abd82d9b
Gerrit-Change-Number: 16061
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Comment-Date: Wed, 09 Jun 2021 16:54:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210609/8fe208dc/attachment-0001.html>


More information about the asterisk-code-review mailing list