[Asterisk-code-review] testsuite: validate dtmf mode in SDP (testsuite[master])

Torrey Searle asteriskteam at digium.com
Mon Aug 21 04:25:42 CDT 2017


Torrey Searle has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/50/6250/1

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: newchange
Gerrit-Change-Id: Idb0a7499338f83d111fcfe26cc6409bed535d490
Gerrit-Change-Number: 6250
Gerrit-PatchSet: 1
Gerrit-Owner: Torrey Searle <tsearle at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170821/2bdd5d24/attachment.html>


More information about the asterisk-code-review mailing list