[Asterisk-code-review] testsuite: Validate tag info in CHANNEL function (testsuite[master])
Jenkins2
asteriskteam at digium.com
Thu Aug 31 16:25:06 CDT 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6331 )
Change subject: testsuite: Validate tag info in CHANNEL function
......................................................................
testsuite: Validate tag info in CHANNEL function
Check if remote_tag and local_tag are available in pjsip CHANNEL.
Use remote_tag gerenated by SIPp.
ASTERISK-27220
Change-Id: I1a8606fc22b675e2f156267f4920fb412fc9244c
---
M tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf b/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf
index 98a10ac..22ec556 100644
--- a/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf
+++ b/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf
@@ -90,7 +90,9 @@
same => n,GoSub(default,test_variable,1(pjsip,secure,,=,"0"))
same => n,GoSub(default,test_variable,1(pjsip,target_uri,,=,"sip:alice at 127.0.0.1:5062"))
same => n,GoSub(default,test_variable,1(pjsip,local_uri,,=,"\"sut\" <sip:alice at 127.0.0.1>"))
+same => n,GoSub(default,test_variable,1(pjsip,local_tag,,!=,""))
same => n,GoSub(default,test_variable,1(pjsip,remote_uri,,=,"\"alice\" <sip:alice at 127.0.0.1:5062>"))
+same => n,GoSub(default,test_variable,1(pjsip,remote_tag,,:,"[0-9]+SIPpTag00[0-9]+"))
same => n,GoSub(default,test_variable,1(pjsip,t38state,,=,"DISABLED"))
same => n,GoSub(default,test_variable,1(pjsip,local_addr,,=,"127.0.0.1:5061"))
same => n,GoSub(default,test_variable,1(pjsip,remote_addr,,=,"127.0.0.1:5062"))
--
To view, visit https://gerrit.asterisk.org/6331
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1a8606fc22b675e2f156267f4920fb412fc9244c
Gerrit-Change-Number: 6331
Gerrit-PatchSet: 1
Gerrit-Owner: Andre Nazario <samoied at users.sourceforge.net>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170831/3c4635a1/attachment.html>
More information about the asterisk-code-review
mailing list