[asterisk-commits] rmudgett: testsuite/asterisk/trunk r3222 - in /asterisk/trunk/tests/channels/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 16 13:15:24 CDT 2012
Author: rmudgett
Date: Wed May 16 13:15:20 2012
New Revision: 3222
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3222
Log:
Add message_mark_all_outbound external test.
Tests Set(MESSAGE(custom_data)=mark_all_outbound).
Added:
asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/
- copied from r3221, asterisk/trunk/tests/channels/SIP/message_auth_cust_hdr/
Modified:
asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/configs/ast1/extensions.conf
asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/sipp/message.xml
asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/test-config.yaml
asterisk/trunk/tests/channels/SIP/tests.yaml
Modified: asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/configs/ast1/extensions.conf?view=diff&rev=3222&r1=3221&r2=3222
==============================================================================
--- asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/configs/ast1/extensions.conf Wed May 16 13:15:20 2012
@@ -13,5 +13,5 @@
exten => user,n,Verbose(1,From Hdr: ${MESSAGE_DATA(from)})
exten => user,n,Verbose(1,X-Custom-Header: ${MESSAGE_DATA(X-Custom-Header)})
exten => user,n,Verbose(1,Body: ${MESSAGE(body)})
-exten => user,n,Set(MESSAGE_DATA(X-Custom-Header)=Custom shopping)
+exten => user,n,Set(MESSAGE(custom_data)=mark_all_outbound)
exten => user,n,MessageSend(sip:user2,fred)
Modified: asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/sipp/message.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/sipp/message.xml?view=diff&rev=3222&r1=3221&r2=3222
==============================================================================
--- asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/sipp/message.xml (original)
+++ asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/sipp/message.xml Wed May 16 13:15:20 2012
@@ -14,7 +14,7 @@
Contact: sip:user@[local_ip]:[local_port]
Max-Forwards: 20
Expires: 3600
- X-Custom-Header: Hello Dolly
+ X-Custom-Header: Custom shopping
Content-Type: text/plain
Content-Length: 18
@@ -36,7 +36,7 @@
CSeq: 2 MESSAGE
Contact: sip:user@[local_ip]:[local_port]
Expires: 3600
- X-Custom-Header: Hello Dolly
+ X-Custom-Header: Custom shopping
[authentication username=user password=blah]
Content-Type: text/plain
Content-Length: 18
Modified: asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/test-config.yaml?view=diff&rev=3222&r1=3221&r2=3222
==============================================================================
--- asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/SIP/message_mark_all_outbound/test-config.yaml Wed May 16 13:15:20 2012
@@ -1,10 +1,11 @@
testinfo:
- summary: 'Test MessageSend with authentication and custom headers.'
+ skip: 'Must wait until mmichelsons trunk-digiumphones branch is merged.'
+ summary: 'Test MessageSend with mark_all_outbound application.'
description: |
- 'Send Asterisk a MESSAGE and wait for Asterisk to send it back with custom headers.'
+ 'Send Asterisk a MESSAGE and wait for Asterisk to send it back with all headers.'
properties:
- minversion: '10'
+ minversion: '11'
dependencies:
- sipp :
version : 'v3.0'
Modified: asterisk/trunk/tests/channels/SIP/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/tests.yaml?view=diff&rev=3222&r1=3221&r2=3222
==============================================================================
--- asterisk/trunk/tests/channels/SIP/tests.yaml (original)
+++ asterisk/trunk/tests/channels/SIP/tests.yaml Wed May 16 13:15:20 2012
@@ -30,6 +30,7 @@
- test: 'message_auth_cust_hdr'
- test: 'message_send_ami'
- test: 'message_from_call'
+ - test: 'message_mark_all_outbound'
- test: 'handle_response_address_incomplete'
- test: 'realtime_sipregs'
- test: 'realtime_nosipregs'
More information about the asterisk-commits
mailing list