[asterisk-commits] jbigelow: testsuite/asterisk/trunk r4136 - in /asterisk/trunk/tests/channels/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 9 16:24:59 CDT 2013


Author: jbigelow
Date: Mon Sep  9 16:24:56 2013
New Revision: 4136

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4136
Log:
Identify by host as intended for pjsip tests

The pjsip tests that identify by host were actually being identified by user.
The revision 3967 caused the inbound calls to be identified by user. This patch
allows the inbound calls to be identified by host/IP as they once were but by
using a different method.

Review: https://reviewboard.asterisk.org/r/2767/


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

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=4136&r1=4135&r2=4136
==============================================================================
--- 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 Mon Sep  9 16:24:56 2013
@@ -58,7 +58,11 @@
 [identify-template](!)
 type=identify
 
-[alice-identify](identify-template)
-endpoint=alice
+[alice-identify-ipv4](identify-template)
+endpoint=alice-ipv4-udp
 match=127.0.0.1
 
+[alice-identify-ipv6](identify-template)
+endpoint=alice-ipv6-udp
+match=[::1]
+

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=4136&r1=4135&r2=4136
==============================================================================
--- 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 Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -27,8 +27,8 @@
 
       ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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=4136&r1=4135&r2=4136
==============================================================================
--- 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 Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -37,8 +37,8 @@
 
       ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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=4136&r1=4135&r2=4136
==============================================================================
--- 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 Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -27,8 +27,8 @@
 
       ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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=4136&r1=4135&r2=4136
==============================================================================
--- 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 Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -37,8 +37,8 @@
 
       ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 2 INVITE
@@ -89,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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/userpass/ident_by_host/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/configs/ast1/pjsip.conf?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/configs/ast1/pjsip.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/configs/ast1/pjsip.conf Mon Sep  9 16:24:56 2013
@@ -57,7 +57,11 @@
 [identify-template](!)
 type=identify
 
-[alice-identify](identify-template)
-endpoint=alice
+[alice-identify-ipv4](identify-template)
+endpoint=alice-ipv4-udp
 match=127.0.0.1
 
+[alice-identify-ipv6](identify-template)
+endpoint=alice-ipv6-udp
+match=[::1]
+

Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/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/userpass/ident_by_host/sipp/echo_with_deferred_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/echo_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/echo_with_deferred_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -27,8 +27,8 @@
 
       ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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/userpass/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/userpass/ident_by_host/sipp/echo_with_initial_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/echo_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/echo_with_initial_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -37,8 +37,8 @@
 
       ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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/userpass/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/userpass/ident_by_host/sipp/playback_with_deferred_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/playback_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/playback_with_deferred_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -27,8 +27,8 @@
 
       ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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/userpass/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/userpass/ident_by_host/sipp/playback_with_initial_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/playback_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_host/sipp/playback_with_initial_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -37,8 +37,8 @@
 
       ACK sip:playback@[remote_ip]:[remote_port] SIP/2.0
       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
-      From: sipp <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
-      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
+      From: sipp <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
+      To: sut <sip:unknown@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
       Contact: <sip:sipp@[local_ip]:[local_port];transport=[transport]>
@@ -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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 2 INVITE
@@ -89,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[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/unauthed/ident_by_host/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/configs/ast1/pjsip.conf?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/configs/ast1/pjsip.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/configs/ast1/pjsip.conf Mon Sep  9 16:24:56 2013
@@ -46,7 +46,11 @@
 [identify-template](!)
 type=identify
 
-[alice-identify](identify-template)
-endpoint=alice
+[alice-identify-ipv4](identify-template)
+endpoint=alice-ipv4-udp
 match=127.0.0.1
 
+[alice-identify-ipv6](identify-template)
+endpoint=alice-ipv6-udp
+match=[::1]
+

Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/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/unauthed/ident_by_host/sipp/echo_with_deferred_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/echo_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/echo_with_deferred_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -31,7 +31,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
@@ -59,7 +59,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 2 BYE

Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/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/unauthed/ident_by_host/sipp/echo_with_initial_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/echo_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/echo_with_initial_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -41,7 +41,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK
@@ -60,7 +60,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 2 BYE

Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/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/unauthed/ident_by_host/sipp/playback_with_deferred_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/playback_with_deferred_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/playback_with_deferred_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -31,7 +31,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK

Modified: asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/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/unauthed/ident_by_host/sipp/playback_with_initial_sdp.xml?view=diff&rev=4136&r1=4135&r2=4136
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/playback_with_initial_sdp.xml (original)
+++ asterisk/trunk/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host/sipp/playback_with_initial_sdp.xml Mon Sep  9 16:24:56 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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>
       Call-ID: [call_id]
       CSeq: 1 INVITE
@@ -41,7 +41,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:[service]@[local_ip]:[local_port]>;tag=[call_number]
+      From: test1 <sip:unknown@[local_ip]:[local_port]>;tag=[call_number]
       To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
       Call-ID: [call_id]
       CSeq: 1 ACK




More information about the asterisk-commits mailing list