[Asterisk-code-review] testsuite: SIP route header is missing on UPDATE (testsuite[master])

Michael Bradeen asteriskteam at digium.com
Thu Apr 28 14:03:50 CDT 2022


Michael Bradeen has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/18489 )


Change subject: testsuite: SIP route header is missing on UPDATE
......................................................................

testsuite: SIP route header is missing on UPDATE

Fix escape characters on variable assignment

ASTERISK-29955

Change-Id: I2cbce7806007f28aeb67feebe17c11c437307359
---
M tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
M tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uas.xml
M tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
M tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uas.xml
4 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/89/18489/1

diff --git a/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml b/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
index d678884..8711da7 100644
--- a/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
+++ b/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
@@ -7,7 +7,7 @@
 		<action>
 			<assignstr
 				assign_to="rr_out"
-				value="<sip:[local_ip]:[local_port];transport=[transport];lr>" />
+				value="\x3Csip:[local_ip]:[local_port];transport=[transport];lr\x3E" />
 		</action>
 	</nop>
 
diff --git a/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uas.xml b/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uas.xml
index 4899731..91eb681 100644
--- a/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uas.xml
+++ b/tests/channels/SIP/sip_semi_attended_transfer_record_route/sipp/uas.xml
@@ -25,7 +25,7 @@
 		<action>
 			<assignstr
 				assign_to="rr_out"
-				value="<sip:[local_ip]:[local_port];transport=[transport];lr>" />
+				value="\x3Csip:[local_ip]:[local_port];transport=[transport];lr\x3E" />
 		</action>
 	</nop>
 
diff --git a/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml b/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
index dc8b57e..c841ed8 100644
--- a/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
+++ b/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uac-no-hangup.xml
@@ -7,7 +7,7 @@
 		<action>
 			<assignstr
 				assign_to="rr_out"
-				value="<sip:[local_ip]:[local_port];transport=[transport];lr>" />
+				value="\x3Csip:[local_ip]:[local_port];transport=[transport];lr\x3E" />
 		</action>
 	</nop>
 
diff --git a/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uas.xml b/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uas.xml
index 54fc4b9..74eb121 100644
--- a/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uas.xml
+++ b/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_semi_attended_transfer_record_route/sipp/uas.xml
@@ -25,7 +25,7 @@
 		<action>
 			<assignstr
 				assign_to="rr_out"
-				value="<sip:[local_ip]:[local_port];transport=[transport];lr>" />
+				value="\x3Csip:[local_ip]:[local_port];transport=[transport];lr\x3E" />
 		</action>
 	</nop>
 

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

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Change-Id: I2cbce7806007f28aeb67feebe17c11c437307359
Gerrit-Change-Number: 18489
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220428/ffe10c70/attachment.html>


More information about the asterisk-code-review mailing list