[Asterisk-code-review] pjsip/subscriptions/presence/dialog info xml: Update regex. (testsuite[master])

Joshua Colp asteriskteam at digium.com
Tue Apr 12 10:27:45 CDT 2016


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/2578

Change subject: pjsip/subscriptions/presence/dialog_info_xml: Update regex.
......................................................................

pjsip/subscriptions/presence/dialog_info_xml: Update regex.

A change to fix ASTERISK-24601 has added a direction attribute
to the dialog-info+xml content when an extension is ringing.

This change updates the regex to expect it to be present.

ASTERISK-24601

Change-Id: I033e4a562eb9c2d75e7233ca9381b47c3ab78725
---
M tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/78/2578/1

diff --git a/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml b/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml
index fcfd261..ccb7597 100644
--- a/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml
+++ b/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml
@@ -52,7 +52,7 @@
   <recv request="NOTIFY" crlf="true">
     <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\">
+ <dialog id=\"presence\" direction=\"recipient\">
   <state>early</state>
  </dialog>
 </dialog-info>" check_it="true" search_in="body" assign_to="body2" />

-- 
To view, visit https://gerrit.asterisk.org/2578
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I033e4a562eb9c2d75e7233ca9381b47c3ab78725
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list