Author: mmichelson Date: Mon Aug 11 10:21:12 2014 New Revision: 5423 URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5423 Log: Fix failing dialog-info subscription test.
The RLS merge changed how local URIs are computed. Now the URI communicated in the dialog-info XML contains a port. The SIPp scenario did not account for a port being present. Modified: asterisk/trunk/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml Modified: asterisk/trunk/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml?view=diff&rev=5423&r1=5422&r2=5423 ============================================================================== --- asterisk/trunk/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml (original) +++ asterisk/trunk/tests/channels/pjsip/subscriptions/presence/dialog_info_xml/sipp/subscribe.xml Mon Aug 11 10:21:12 2014 @@ -24,7 +24,7 @@ <recv request="NOTIFY" crlf="true"> <action> - <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"0\" state=\"full\" entity=\"sip:presence@127.0.0.1\"> + <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"0\" state=\"full\" entity=\"sip:presence@127.0.0.1:5060\"> <dialog id=\"presence\"> <state>terminated</state> </dialog> @@ -51,7 +51,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@127.0.0.1\"> + <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"1\" state=\"full\" entity=\"sip:presence@127.0.0.1:5060\"> <dialog id=\"presence\"> <state>early</state> </dialog> @@ -78,7 +78,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@127.0.0.1\"> + <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"1\" state=\"full\" entity=\"sip:presence@127.0.0.1:5060\"> <dialog id=\"presence\"> <state>confirmed</state> </dialog> @@ -105,7 +105,7 @@ <recv request="NOTIFY" crlf="true"> <action> - <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"3\" state=\"full\" entity=\"sip:presence@127.0.0.1\"> + <ereg regexp="<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"3\" state=\"full\" entity=\"sip:presence@127.0.0.1:5060\"> <dialog id=\"presence\"> <state>confirmed</state> <local> -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits