[Asterisk-code-review] pjsip: Update dialog-info+xml test to include local node. (testsuite[18])

Joshua Colp asteriskteam at digium.com
Wed May 19 06:10:27 CDT 2021


Joshua Colp has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/15909 )


Change subject: pjsip: Update dialog-info+xml test to include local node.
......................................................................

pjsip: Update dialog-info+xml test to include local node.

The local node is now present in this test, so check for it.

ASTERISK-24601

Change-Id: I3bf277e500ba00981939718898eb12d2bf9366e8
---
M tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe-direction-recipient.xml
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/09/15909/1

diff --git a/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe-direction-recipient.xml b/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe-direction-recipient.xml
index 042c187..cbf6ebc 100644
--- a/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe-direction-recipient.xml
+++ b/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe-direction-recipient.xml
@@ -53,6 +53,10 @@
     <action>
       <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"1\" state=\"full\" entity=\"sip:presence at 127.0.0.1(:5060)?\">
  <dialog id=\"presence\" direction=\"recipient\">
+  <local>
+   <identity>sip:presence at 127.0.0.1:5060</identity>
+   <target uri=\"sip:presence at 127.0.0.1:5060\" />
+  </local>
   <state>early</state>
  </dialog>
 </dialog-info>" check_it="true" search_in="body" assign_to="body2" />

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

Gerrit-Project: testsuite
Gerrit-Branch: 18
Gerrit-Change-Id: I3bf277e500ba00981939718898eb12d2bf9366e8
Gerrit-Change-Number: 15909
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210519/08ca8fd1/attachment.html>


More information about the asterisk-code-review mailing list