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

Friendly Automation asteriskteam at digium.com
Wed May 19 11:28:15 CDT 2021


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

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(-)

Approvals:
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit



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/+/15894
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-Change-Id: I3bf277e500ba00981939718898eb12d2bf9366e8
Gerrit-Change-Number: 15894
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210519/f3676c41/attachment.html>


More information about the asterisk-code-review mailing list