[asterisk-commits] testsuite: validate dtmf mode in SDP (testsuite[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 28 09:18:39 CDT 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6250 )
Change subject: testsuite: validate dtmf mode in SDP
......................................................................
testsuite: validate dtmf mode in SDP
if PJSIP_DTMF_MODE is set to INFO then 200 ok should not contain
telephony-events
ASTERISK-27209 #close
Change-Id: Idb0a7499338f83d111fcfe26cc6409bed535d490
---
M tests/channels/pjsip/dialplan_functions/pjsip_dtmfmode/sipp/A_PARTY.xml
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, but someone else must approve
Matthew Fredrickson: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_dtmfmode/sipp/A_PARTY.xml b/tests/channels/pjsip/dialplan_functions/pjsip_dtmfmode/sipp/A_PARTY.xml
index c8c445d..2ed8076 100644
--- a/tests/channels/pjsip/dialplan_functions/pjsip_dtmfmode/sipp/A_PARTY.xml
+++ b/tests/channels/pjsip/dialplan_functions/pjsip_dtmfmode/sipp/A_PARTY.xml
@@ -58,6 +58,10 @@
<!-- are saved and used for following messages sent. Useful to test -->
<!-- against stateful SIP proxies/B2BUAs. -->
<recv response="200" rtd="true" crlf="true">
+ <action>
+ <ereg regexp="telephone-event" search_in="body" check_it_inverse="true" assign_to = "2" />
+ <log message="telephony-event [$2]"/>
+ </action>
</recv>
--
To view, visit https://gerrit.asterisk.org/6250
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Idb0a7499338f83d111fcfe26cc6409bed535d490
Gerrit-Change-Number: 6250
Gerrit-PatchSet: 1
Gerrit-Owner: Torrey Searle <tsearle at gmail.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170828/d6492fc5/attachment-0001.html>
More information about the asterisk-commits
mailing list