Author: mmichelson
Date: Wed Aug 20 15:06:10 2014
New Revision: 5491

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5491
Log:
Fix the diversion_caller_id test.

The test was actually checking for incorrect identification in its test. The 
test
had been passing, though, due to the fact that Asterisk was setting incorrect
information in the Diversion header. A recent fix that caused Asterisk to place
corrrect information in the Diversion header caused the test to start failing.
Now the test checks for appropriate information and passes!


Modified:
    
asterisk/trunk/tests/channels/pjsip/diversion/diversion_caller_id/sipp/user3.xml

Modified: 
asterisk/trunk/tests/channels/pjsip/diversion/diversion_caller_id/sipp/user3.xml
URL: 
http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/diversion/diversion_caller_id/sipp/user3.xml?view=diff&rev=5491&r1=5490&r2=5491
==============================================================================
--- 
asterisk/trunk/tests/channels/pjsip/diversion/diversion_caller_id/sipp/user3.xml
 (original)
+++ 
asterisk/trunk/tests/channels/pjsip/diversion/diversion_caller_id/sipp/user3.xml
 Wed Aug 20 15:06:10 2014
@@ -4,7 +4,7 @@
        <recv request="INVITE" crlf="true">
                 <action>
                         <!-- Check that the Diversion header is present and 
contains the correct caller id. -->
-                       <ereg regexp="user2" search_in="hdr" 
header="Diversion:" check_it="true" assign_to="1" />
+                       <ereg regexp="amenhotep.*sip:1234.*" search_in="hdr" 
header="Diversion:" check_it="true" assign_to="1" />
                        <log message="Received INVITE with Diversion header: 
[$1]." />
                </action>
         </recv>


-- 
_____________________________________________________________________
-- 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

Reply via email to