[Asterisk-code-review] testsuite: fix sipp error about referencing non-existing variable (testsuite[17])

Friendly Automation asteriskteam at digium.com
Thu Mar 12 09:25:17 CDT 2020


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/testsuite/+/13932 )

Change subject: testsuite: fix sipp error about referencing non-existing variable
......................................................................

testsuite: fix sipp error about referencing non-existing variable

Fix an error in moh_passthru_inactive test where it currently reporting
an error in the sipp script ref a variable that doesn't yet exist

Change-Id: I9268ec1f156e46daa1bde6c4141ea1202c2360a6
---
M tests/channels/pjsip/moh_passthru_inactive/sipp/uas_hold_reinvite.xml
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/tests/channels/pjsip/moh_passthru_inactive/sipp/uas_hold_reinvite.xml b/tests/channels/pjsip/moh_passthru_inactive/sipp/uas_hold_reinvite.xml
index 1d4fb93..7617388 100644
--- a/tests/channels/pjsip/moh_passthru_inactive/sipp/uas_hold_reinvite.xml
+++ b/tests/channels/pjsip/moh_passthru_inactive/sipp/uas_hold_reinvite.xml
@@ -10,8 +10,7 @@
     <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="3" />
   </action>
 </recv>
-<Reference variables="9"/>
-
+<Reference variables="6"/>
 
 <send>
 <![CDATA[

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

Gerrit-Project: testsuite
Gerrit-Branch: 17
Gerrit-Change-Id: I9268ec1f156e46daa1bde6c4141ea1202c2360a6
Gerrit-Change-Number: 13932
Gerrit-PatchSet: 1
Gerrit-Owner: Torrey Searle <tsearle at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200312/e1ab679f/attachment.html>


More information about the asterisk-code-review mailing list