[asterisk-commits] tests/channels/pjsip/dialplan functions: Update tests for dy... (testsuite[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 28 08:15:28 CDT 2015
Anonymous Coward #1000019 has submitted this change and it was merged.
Change subject: tests/channels/pjsip/dialplan_functions: Update tests for dynamic contacts
......................................................................
tests/channels/pjsip/dialplan_functions: Update tests for dynamic contacts
Recently, a change went into the PJSIP stack in Asterisk that modified storage
of dynamic contacts in PJSIP to use a MD5 hash. This was done so that
relatively arbitrarily long contact URIs could be stored and retrieved. This
patch updates two tests that used the old formatting for dynamic contacts,
pjsip_aor and pjsip_contact, to expect the new MD5 hash.
Change-Id: Ib62fe519136e552020542d34cd1440e915ceaf49
---
M tests/channels/pjsip/dialplan_functions/pjsip_aor/configs/ast1/extensions.conf
M tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
2 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_aor/configs/ast1/extensions.conf b/tests/channels/pjsip/dialplan_functions/pjsip_aor/configs/ast1/extensions.conf
index 8b7480e..0086c48 100644
--- a/tests/channels/pjsip/dialplan_functions/pjsip_aor/configs/ast1/extensions.conf
+++ b/tests/channels/pjsip/dialplan_functions/pjsip_aor/configs/ast1/extensions.conf
@@ -15,7 +15,7 @@
same => n,Answer()
; Test Alice's (dynamic registration) properties
-same => n,GoSub(default,test_variable,1(alice,contact,alice\;@sip:alice at 127.0.0.1:5061))
+same => n,GoSub(default,test_variable,1(alice,contact,alice\;@81363c8ccd1bbe394538018e5bee371f))
same => n,GoSub(default,test_variable,1(alice,authenticate_qualify,false))
same => n,GoSub(default,test_variable,1(alice,default_expiration,30))
same => n,GoSub(default,test_variable,1(alice,mailboxes,))
diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf b/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
index 41036cb..61d47c1 100644
--- a/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
+++ b/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
@@ -15,10 +15,10 @@
same => n,Answer()
; Test Alice's (dynamic registration) properties
-same => n,GoSub(default,test_variable,1(alice\;@sip:alice at 127.0.0.1:5061,uri,sip:alice at 127.0.0.1:5061))
-same => n,GoSub(default,test_variable,1(alice\;@sip:alice at 127.0.0.1:5061,status,Unknown))
-same => n,GoSub(default,test_variable,1(alice\;@sip:alice at 127.0.0.1:5061,rtt,N/A))
-same => n,GoSub(default,test_variable,1(alice\;@sip:alice at 127.0.0.1:5061,user_agent,Test))
+same => n,GoSub(default,test_variable,1(alice\;@81363c8ccd1bbe394538018e5bee371f,uri,sip:alice at 127.0.0.1:5061))
+same => n,GoSub(default,test_variable,1(alice\;@81363c8ccd1bbe394538018e5bee371f,status,Unknown))
+same => n,GoSub(default,test_variable,1(alice\;@81363c8ccd1bbe394538018e5bee371f,rtt,N/A))
+same => n,GoSub(default,test_variable,1(alice\;@81363c8ccd1bbe394538018e5bee371f,user_agent,Test))
; Test Bob's (static contact) properties
same => n,GoSub(default,test_variable,1(bob@@sip:1000 at 127.0.0.1,uri,sip:1000 at 127.0.0.1))
--
To view, visit https://gerrit.asterisk.org/1335
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib62fe519136e552020542d34cd1440e915ceaf49
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
More information about the asterisk-commits
mailing list