[asterisk-commits] jbigelow: testsuite/asterisk/trunk r4121 - in /asterisk/trunk/tests/channels/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 5 16:53:29 CDT 2013
Author: jbigelow
Date: Thu Sep 5 16:53:23 2013
New Revision: 4121
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4121
Log:
Add TCP and IPv6 iterations to inbound pjsip tests
This adds TCP and IPv6 iterations to the existing inbound call tests for
pjsip. Changes were also made so that RTP media is sent over the local IPv4 &
IPv6 address.
Review: https://reviewboard.asterisk.org/r/2765/
(closes issue ASTERISK-22282)
Modified:
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/test-config.yaml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/test-config.yaml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/test-config.yaml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/test-config.yaml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/test-config.yaml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user/test-config.yaml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/configs/ast1/pjsip.conf
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/sipp/echo_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/sipp/echo_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/sipp/incompatible_codecs.xml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/sipp/playback_with_deferred_sdp.xml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/sipp/playback_with_initial_sdp.xml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/sipp/unknown_destination.xml
asterisk/trunk/tests/channels/pjsip/incoming_calls_without_auth/test-config.yaml
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/configs/ast1/pjsip.conf?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/configs/ast1/pjsip.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/configs/ast1/pjsip.conf Thu Sep 5 16:53:23 2013
@@ -1,10 +1,10 @@
[local-transport-template](!)
type=transport
-bind=127.0.0.1
+bind=127.0.0.1:5060
[local-transport6-template](!)
type=transport
-bind=[::1]
+bind=[::1]:5060
[local-transport-udp](local-transport-template)
protocol=udp
@@ -15,19 +15,37 @@
[local-transport-tcp](local-transport-template)
protocol=tcp
-[endpoint-template](!)
+[local-transport-tcp6](local-transport6-template)
+protocol=tcp
+
+[endpoint-template-ipv4](!)
type=endpoint
context=default
allow=!all,ulaw,alaw
+external_media_address=127.0.0.1
-; alice is the caller
-[alice](endpoint-template)
-; Place alice-specific options here
+[endpoint-template-ipv6](!)
+type=endpoint
+context=default
+allow=!all,ulaw,alaw
+external_media_address=[::1]
+rtp_ipv6=yes
+
+[alice-ipv4-udp](endpoint-template-ipv4)
+transport=local-transport-udp
auth=alice-auth
-; bob is the recipient of outbound calls
-[bob](endpoint-template)
-; Place bob-specific options here
+[alice-ipv4-tcp](endpoint-template-ipv4)
+transport=local-transport-tcp
+auth=alice-auth
+
+[alice-ipv6-udp](endpoint-template-ipv6)
+transport=local-transport-udp6
+auth=alice-auth
+
+[alice-ipv6-tcp](endpoint-template-ipv6)
+transport=local-transport-tcp6
+auth=alice-auth
[auth-template](!)
type=auth
@@ -36,10 +54,6 @@
username=alice
auth_type=md5
md5_cred=c9b9e23e2160fd69b19f99116da19711
-; Place alice-specific auth options here
-
-[bob-auth](auth-template)
-username=bob
[identify-template](!)
type=identify
@@ -48,8 +62,3 @@
endpoint=alice
match=127.0.0.1
-; Place bob-specific auth options here
-; Note: in the first iteration of tests on
-; this page, there will never be any bob-specific
-; auth options because we do not respond properly
-; to auth challenges.
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_deferred_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_deferred_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_deferred_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -27,7 +27,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -44,7 +44,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -69,7 +69,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
@@ -97,7 +97,7 @@
BYE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 3 BYE
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_initial_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_initial_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/echo_with_initial_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -37,7 +37,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -54,7 +54,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -88,7 +88,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
@@ -107,7 +107,7 @@
BYE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 3 BYE
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_deferred_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_deferred_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_deferred_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -27,7 +27,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -44,7 +44,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -69,7 +69,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_initial_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_initial_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/sipp/playback_with_initial_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -37,7 +37,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -54,7 +54,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -63,7 +63,17 @@
[authentication username=alice password=swordfish]
Subject: Test
User-Agent: Test
- Content-Length: 0
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=phoneA 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio 6000 RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+
]]>
</send>
@@ -79,7 +89,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/test-config.yaml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_host/test-config.yaml Thu Sep 5 16:53:23 2013
@@ -9,46 +9,64 @@
typename: 'sipp.SIPpTestCase'
test-object-config:
+ reactor-timeout: 80
fail-on-any: False
test-iterations:
+ # IPv4 & UDP
-
scenarios:
- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061'} }
+ - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice-ipv4-udp'} }
-
scenarios:
- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-d': '5000'} }
+ - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-d': '5000', '-s': 'alice-ipv4-udp'} }
-
scenarios:
- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5061'} }
+ - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice-ipv4-udp'} }
-
scenarios:
- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-d': '5000'} }
+ - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-d': '5000', '-s': 'alice-ipv4-udp'} }
-# -
-# scenarios:
-# - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }
-# -
-# scenarios:
-# - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1', '-d': '5000'} }
-# -
-# scenarios:
-# - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-t': 't1'} }
-# -
-# scenarios:
-# - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-t': 't1', '-d': '5000'} }
-#
-# -
-# scenarios:
-# - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5061'} }
-# -
-# scenarios:
-# - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5062'} }
-# -
-# scenarios:
-# - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5066'} }
-# -
-# scenarios:
-# - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5067'} }
+ # IPv4 & TCP
+ -
+ scenarios:
+ - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1', '-s': 'alice-ipv4-tcp'} }
+ -
+ scenarios:
+ - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1', '-d': '5000', '-s': 'alice-ipv4-tcp'} }
+ -
+ scenarios:
+ - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-t': 't1', '-s': 'alice-ipv4-tcp'} }
+ -
+ scenarios:
+ - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-t': 't1', '-d': '5000', '-s': 'alice-ipv4-tcp'} }
+
+ # IPv6 & UDP
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5061', '-s': 'alice-ipv6-udp'} }
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5062', '-d': '5000', '-s': 'alice-ipv6-udp'} }
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5066', '-s': 'alice-ipv6-udp'} }
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5067', '-d': '5000', '-s': 'alice-ipv6-udp'} }
+
+ # IPv6 & TCP
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5061', '-t': 't1', '-s': 'alice-ipv6-tcp'} }
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5062', '-t': 't1', '-d': '5000', '-s': 'alice-ipv6-tcp'} }
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5066', '-t': 't1', '-s': 'alice-ipv6-tcp'} }
+ -
+ scenarios:
+ - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5067', '-t': 't1', '-d': '5000', '-s': 'alice-ipv6-tcp'} }
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/configs/ast1/pjsip.conf?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/configs/ast1/pjsip.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/configs/ast1/pjsip.conf Thu Sep 5 16:53:23 2013
@@ -15,20 +15,37 @@
[local-transport-tcp](local-transport-template)
protocol=tcp
-[endpoint-template](!)
+[local-transport-tcp6](local-transport6-template)
+protocol=tcp
+
+[endpoint-template-ipv4](!)
type=endpoint
context=default
allow=!all,ulaw,alaw
+external_media_address=127.0.0.1
-; alice is the caller
-[alice](endpoint-template)
-; Place alice-specific options here
+[endpoint-template-ipv6](!)
+type=endpoint
+context=default
+allow=!all,ulaw,alaw
+external_media_address=[::1]
+rtp_ipv6=yes
+
+[alice-ipv4-udp](endpoint-template-ipv4)
+transport=local-transport-udp
auth=alice-auth
-; bob is the recipient of outbound calls
-[bob](endpoint-template)
-host=127.0.0.1:5062
-; Place bob-specific options here
+[alice-ipv4-tcp](endpoint-template-ipv4)
+transport=local-transport-tcp
+auth=alice-auth
+
+[alice-ipv6-udp](endpoint-template-ipv6)
+transport=local-transport-udp6
+auth=alice-auth
+
+[alice-ipv6-tcp](endpoint-template-ipv6)
+transport=local-transport-tcp6
+auth=alice-auth
[auth-template](!)
type=auth
@@ -39,10 +56,3 @@
md5_cred=c9b9e23e2160fd69b19f99116da19711
; Place alice-specific auth options here
-[bob-auth](auth-template)
-username=bob
-; Place bob-specific auth options here
-; Note: in the first iteration of tests on
-; this page, there will never be any bob-specific
-; auth options because we do not respond properly
-; to auth challenges.
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_deferred_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_deferred_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_deferred_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -27,7 +27,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -44,7 +44,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -69,7 +69,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
@@ -97,7 +97,7 @@
BYE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 3 BYE
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_initial_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_initial_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/echo_with_initial_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -37,7 +37,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -54,7 +54,7 @@
INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -88,7 +88,7 @@
ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
@@ -107,7 +107,7 @@
BYE sip:echo@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 3 BYE
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_deferred_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_deferred_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_deferred_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -27,7 +27,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -44,7 +44,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -69,7 +69,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_initial_sdp.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_initial_sdp.xml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/sipp/playback_with_initial_sdp.xml Thu Sep 5 16:53:23 2013
@@ -7,7 +7,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
@@ -37,7 +37,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
@@ -54,7 +54,7 @@
INVITE sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 2 INVITE
@@ -63,7 +63,17 @@
[authentication username=alice password=swordfish]
Subject: Test
User-Agent: Test
- Content-Length: 0
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=phoneA 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio 6000 RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+
]]>
</send>
@@ -79,7 +89,7 @@
ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: test1 <sip:alice@[local_ip]:[local_port]>;tag=[call_number]
+ From: test1 <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 ACK
Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/test-config.yaml?view=diff&rev=4121&r1=4120&r2=4121
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_user/test-config.yaml Thu Sep 5 16:53:23 2013
@@ -13,20 +13,29 @@
test-iterations:
-
scenarios:
- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061'} }
- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-d': '5000'} }
- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5066'} }
- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-d': '5000'} }
+ # IPv4 & UDP
+ - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice-ipv4-udp'} }
+ - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-d': '5000', '-s': 'alice-ipv4-udp'} }
+ - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-s': 'alice-ipv4-udp'} }
+ - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-d': '5000', '-s': 'alice-ipv4-udp'} }
- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }
- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1', '-d': '5000'} }
- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-t': 't1'} }
- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-t': 't1', '-d': '5000'} }
+ # IPv4 & TCP
+ - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1', '-s': 'alice-ipv4-tcp'} }
+ - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1', '-d': '5000', '-s': 'alice-ipv4-tcp'} }
[... 1511 lines stripped ...]
More information about the asterisk-commits
mailing list