[Asterisk-code-review] app_senddtmf: Add receive mode to AMI Action PlayDTMF (testsuite[16])

lvl asteriskteam at digium.com
Tue Nov 19 05:38:47 CST 2019


lvl has posted comments on this change. ( https://gerrit.asterisk.org/c/testsuite/+/13164 )

Change subject: app_senddtmf: Add receive mode to AMI Action PlayDTMF
......................................................................


Patch Set 1:

(6 comments)

https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/sipp/invite.xml 
File tests/manager/playdtmf/sipp/invite.xml:

https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/sipp/invite.xml@7 
PS1, Line 7:             INVITE sip:dialplan@[remote_ip]:[remote_port] SIP/2.0
           :             Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
           :             From: "alice" <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
           :             To: "bob" <sip:dialplan@[remote_ip]:[remote_port]>
           :             Call-ID: [call_id]
           :             CSeq: [cseq] INVITE
           :             Contact: sip:alice@[local_ip]:[local_port]
           :             Max-Forwards: 70
           :             Content-Type: application/sdp
           :             Content-Length: [len]
> Use tab spacing
Done


https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/sipp/invite.xml@46 
PS1, Line 46:                         Allow: INVITE, ACK, MESSAGE, BYE
> Tab spacing
Done


https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/sipp/invite.xml@64 
PS1, Line 64:                         Allow: INVITE, ACK, MESSAGE, BYE
> Tab spacing
Done


https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/test-config.yaml 
File tests/manager/playdtmf/test-config.yaml:

https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/test-config.yaml@2 
PS1, Line 2:     summary: 'PlayDTMF testcase'
           :     description: |
           :         'asdf'
> These should both be more descriptive :)
Done


https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/test-config.yaml@9 
PS1, Line 9:         - asterisk : 'res_pjsip'
> Add an '- asterisk : 'app_senddtmf' dependency as well.
Done


https://gerrit.asterisk.org/c/testsuite/+/13164/1/tests/manager/playdtmf/test-config.yaml@52 
PS1, Line 52:         ami-events:
            :             count: 1
            :             conditions:
            :                 match:
            :                     Event: 'UserEvent'
            :                     UserEvent: 'valid'
> I would add another event here for 'invalid', and make sure it happens 0 times so that there's a fai […]
I don't believe this is necessary? In the dialplan the "valid" and "invalid" events are exclusive, if "invalid" is sent it means "valid" won't be sent and the test will already fail.



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

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-Change-Id: I50f29a7c86ad10ef0f94d1aebb6eca4d905b4ec4
Gerrit-Change-Number: 13164
Gerrit-PatchSet: 1
Gerrit-Owner: lvl <digium at lvlconsultancy.nl>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Tue, 19 Nov 2019 11:38:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kevin Harwell <kharwell at digium.com>
Comment-In-Reply-To: Benjamin Keith Ford <bford at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20191119/e07b6ae4/attachment.html>


More information about the asterisk-code-review mailing list