[asterisk-commits] pabelanger: branch pabelanger/sipp r1083 - in /asterisk/team/pabelanger/sipp/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 6 15:32:38 CST 2010
Author: pabelanger
Date: Mon Dec 6 15:32:33 2010
New Revision: 1083
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1083
Log:
Second round of updates
Modified:
asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/call.xml
asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/wait-for-call.xml
asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call-then-hangup.xml
asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call.xml
asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/wait-for-call-hangup.xml
asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/call-then-blind-transfer.xml
asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/register.xml
asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml
asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call.xml
asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-busy.xml
asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-congestion.xml
asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-timeout.xml
asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call.xml
asterisk/team/pabelanger/sipp/tests/sip_outbound_address/sipp/uas1.xml
asterisk/team/pabelanger/sipp/tests/sip_outbound_address/sipp/uas2.xml
asterisk/team/pabelanger/sipp/tests/sip_register/sipp/registerv4.xml
asterisk/team/pabelanger/sipp/tests/sip_register/sipp/registerv6.xml
Modified: asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/call.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/call.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/call.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/call.xml Mon Dec 6 15:32:33 2010
@@ -1,77 +1,74 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="send a call then wait for a hangup">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- INVITE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 INVITE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Type: application/sdp
- Content-Length: [len]
+ INVITE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
- v=0
- o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
- s=-
- c=IN IP[media_ip_type] [media_ip]
- t=0 0
- m=audio [media_port] RTP/AVP 0
- a=rtpmap:0 PCMU/8000
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
- ]]>
- </send>
+ ]]>
+ </send>
- <recv response="100" optional="true"/>
- <recv response="180" optional="true"/>
- <recv response="183" optional="true"/>
+ <recv response="100" optional="true" />
+ <recv response="180" optional="true" />
+ <recv response="183" optional="true" />
+ <recv response="200" rtd="true" rrs="true" />
- <recv response="200" rtd="true" rrs="true"/>
-
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- ACK sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 ACK
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
+ ACK sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
- <recv request="BYE" optional="false"/>
+ <recv request="BYE" optional="false" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
-
+ ]]>
+ </send>
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/wait-for-call.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/wait-for-call.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/wait-for-call.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/app_dial_G_flag/sipp/wait-for-call.xml Mon Dec 6 15:32:33 2010
@@ -2,64 +2,60 @@
<scenario name="wait for a call followed by a hangup">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <recv request="INVITE" crlf="true"/>
+ <recv request="INVITE" crlf="true" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 180 Ringing
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
+ <send>
+ <![CDATA[
- <send>
- <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ ]]>
+ </send>
- ]]>
- </send>
-
- <recv request="ACK" optional="false"/>
- <recv request="BYE" optional="false"/>
+ <recv request="ACK" optional="false" />
+ <recv request="BYE" optional="false" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
-
-
+ ]]>
+ </send>
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call-then-hangup.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call-then-hangup.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call-then-hangup.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call-then-hangup.xml Mon Dec 6 15:32:33 2010
@@ -1,80 +1,77 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="send a call then hanup">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- INVITE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 INVITE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Type: application/sdp
- Content-Length: [len]
+ INVITE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
- v=0
- o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
- s=-
- c=IN IP[media_ip_type] [media_ip]
- t=0 0
- m=audio [media_port] RTP/AVP 0
- a=rtpmap:0 PCMU/8000
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
- ]]>
- </send>
+ ]]>
+ </send>
- <recv response="100" optional="true"/>
- <recv response="180" optional="true"/>
- <recv response="183" optional="true"/>
+ <recv response="100" optional="true" />
+ <recv response="180" optional="true" />
+ <recv response="183" optional="true" />
+ <recv response="200" rtd="true" rrs="true" />
- <recv response="200" rtd="true" rrs="true"/>
-
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- ACK sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 ACK
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
+ ACK sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
- <pause milliseconds="5000"/>
+ <pause milliseconds="5000" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- BYE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 2 BYE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
+ BYE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 2 BYE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- ]]>
- </send>
-
- <recv response="200" optional="false"/>
+ ]]>
+ </send>
+ <recv response="200" optional="false" />
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/call.xml Mon Dec 6 15:32:33 2010
@@ -1,77 +1,74 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="send a call then wait for a hangup">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- INVITE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 INVITE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Type: application/sdp
- Content-Length: [len]
+ INVITE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
- v=0
- o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
- s=-
- c=IN IP[media_ip_type] [media_ip]
- t=0 0
- m=audio [media_port] RTP/AVP 0
- a=rtpmap:0 PCMU/8000
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
- ]]>
- </send>
+ ]]>
+ </send>
- <recv response="100" optional="true"/>
- <recv response="180" optional="true"/>
- <recv response="183" optional="true"/>
+ <recv response="100" optional="true" />
+ <recv response="180" optional="true" />
+ <recv response="183" optional="true" />
+ <recv response="200" rtd="true" rrs="true" />
- <recv response="200" rtd="true" rrs="true"/>
-
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- ACK sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 ACK
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
+ ACK sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field1 line="[$line]"] <sip:[field1 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
- <recv request="BYE" optional="false"/>
+ <recv request="BYE" optional="false" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
-
+ ]]>
+ </send>
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/wait-for-call-hangup.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/wait-for-call-hangup.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/wait-for-call-hangup.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/app_queue/sipp/wait-for-call-hangup.xml Mon Dec 6 15:32:33 2010
@@ -2,67 +2,64 @@
<scenario name="wait for a call followed by a hangup">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <recv request="INVITE" crlf="true"/>
+ <recv request="INVITE" crlf="true" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 180 Ringing
- [last_Via:]
- [last_From:]
- [last_To:]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
+ <send>
+ <![CDATA[
- <send>
- <![CDATA[
+ SIP/2.0 200 OK
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ [last_From:]
+ [last_To:]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- SIP/2.0 200 OK
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- [last_From:]
- [last_To:]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ ]]>
+ </send>
- ]]>
- </send>
-
- <recv request="ACK" optional="false"/>
+ <recv request="ACK" optional="false" />
- <pause milliseconds="5000"/>
+ <pause milliseconds="5000" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- BYE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- [last_From:]
- [last_To:]
- [last_Call-ID:]
- CSeq: 2 BYE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
+ BYE sip:[field1 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ [last_From:]
+ [last_To:]
+ [last_Call-ID:]
+ CSeq: 2 BYE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- ]]>
- </send>
-
- <recv response="200" optional="false"/>
+ ]]>
+ </send>
+ <recv response="200" optional="false" />
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/call-then-blind-transfer.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/call-then-blind-transfer.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/call-then-blind-transfer.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/call-then-blind-transfer.xml Mon Dec 6 15:32:33 2010
@@ -1,116 +1,114 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="Send Call then Blind Transfer">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- INVITE sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 INVITE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Type: application/sdp
- Content-Length: [len]
+ INVITE sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
- v=0
- o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
- s=-
- c=IN IP[media_ip_type] [media_ip]
- t=0 0
- m=audio [media_port] RTP/AVP 0
- a=rtpmap:0 PCMU/8000
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
- ]]>
- </send>
+ ]]>
+ </send>
- <recv response="100" optional="true"/>
- <recv response="180" optional="true"/>
- <recv response="183" optional="true"/>
+ <recv response="100" optional="true" />
+ <recv response="180" optional="true" />
+ <recv response="183" optional="true" />
+ <recv response="200" rtd="true" rrs="true" />
- <recv response="200" rtd="true" rrs="true"/>
-
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- ACK sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 ACK
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
+ ACK sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
- <pause milliseconds="1000"/>
+ <pause milliseconds="1000" />
- <send retrans="500">
- <![CDATA[
+ <send retrans="500">
+ <![CDATA[
- REFER sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 2 REFER
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
- Refer-To: <sip:[field3 line="[$line]"]@[remote_ip]:[remote_port]>
- Reffered-By: <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>
+ REFER sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 2 REFER
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
+ Refer-To: <sip:[field3 line="[$line]"]@[remote_ip]:[remote_port]>
+ Reffered-By: <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>
- ]]>
- </send>
+ ]]>
+ </send>
- <recv response="202" optional="false"/>
+ <recv response="202" optional="false" />
+ <recv request="NOTIFY" optional="false" />
- <recv request="NOTIFY" optional="false"/>
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:]
- [last_Call-ID:]
- [last_CSeq:]
- [last_Record-Route:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:]
+ [last_Call-ID:]
+ [last_CSeq:]
+ [last_Record-Route:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
-
- <recv request="NOTIFY" optional="false"/>
- <send>
- <![CDATA[
+ ]]>
+ </send>
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:]
- [last_Call-ID:]
- [last_CSeq:]
- [last_Record-Route:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ <recv request="NOTIFY" optional="false" />
- ]]>
- </send>
+ <send>
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:]
+ [last_Call-ID:]
+ [last_CSeq:]
+ [last_Record-Route:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
+
+ ]]>
+ </send>
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/register.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/register.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/register.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/register.xml Mon Dec 6 15:32:33 2010
@@ -1,39 +1,32 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-
<!--
This scenario will execute a sip register with the given parameters.
-->
+<scenario name="Register">
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
+ <send retrans="500">
+ <![CDATA[
-<scenario name="Register">
+ REGISTER sip:[field0 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 REGISTER
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
+ Expires: [field1 line="[$line]"]
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ ]]>
+ </send>
- <send retrans="500">
- <![CDATA[
-
- REGISTER sip:[field0 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 1 REGISTER
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
- Expires: [field1 line="[$line]"]
-
- ]]>
- </send>
-
- <recv response="100" optional="true"/>
-
- <recv response="200"/>
-
+ <recv response="100" optional="true" />
+ <recv response="200" />
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml Mon Dec 6 15:32:33 2010
@@ -1,68 +1,64 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="wait for a call, then hangup">
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <recv request="INVITE" crlf="true" />
- <recv request="INVITE" crlf="true"/>
+ <send>
+ <![CDATA[
- <send>
- <![CDATA[
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- SIP/2.0 180 Ringing
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ ]]>
+ </send>
+ <send>
+ <![CDATA[
- ]]>
- </send>
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- <send>
- <![CDATA[
+ ]]>
+ </send>
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ <recv request="ACK" optional="false" />
- ]]>
- </send>
+ <pause milliseconds="2000" />
- <recv request="ACK" optional="false"/>
+ <send retrans="500">
+ <![CDATA[
- <pause milliseconds="2000"/>
+ BYE sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
+ To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 2 BYE
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Max-Forwards: 70
+ Content-Length: 0
- <send retrans="500">
- <![CDATA[
+ ]]>
+ </send>
- BYE sip:[field2 line="[$line]"]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: [field0 line="[$line]"] <sip:[field0 line="[$line]"]@[local_ip]:[local_port]>;tag=[call_number]
- To: [field2 line="[$line]"] <sip:[field2 line="[$line]"]@[remote_ip]:[remote_port]>
- Call-ID: [call_id]
- CSeq: 2 BYE
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Max-Forwards: 70
- Content-Length: 0
-
- ]]>
- </send>
-
- <recv response="200" optional="false"/>
-
+ <recv response="200" optional="false" />
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call.xml Mon Dec 6 15:32:33 2010
@@ -2,64 +2,60 @@
<scenario name="wait for a call followed by a hangup">
- <Global variables="file,user"/>
- <nop>
- <action>
- <lookup assign_to="line" file="[$file]" key="[$user]"/>
- </action>
- </nop>
- <Reference variables="file,user"/>
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <recv request="INVITE" crlf="true"/>
+ <recv request="INVITE" crlf="true" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 180 Ringing
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
+ ]]>
+ </send>
+ <send>
+ <![CDATA[
- <send>
- <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ ]]>
+ </send>
- ]]>
- </send>
-
- <recv request="ACK" optional="false"/>
- <recv request="BYE" optional="false"/>
+ <recv request="ACK" optional="false" />
+ <recv request="BYE" optional="false" />
- <send>
- <![CDATA[
+ <send>
+ <![CDATA[
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
- Content-Length: 0
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
+ Content-Length: 0
- ]]>
- </send>
-
-
+ ]]>
+ </send>
</scenario>
-
Modified: asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-busy.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-busy.xml?view=diff&rev=1083&r1=1082&r2=1083
==============================================================================
--- asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-busy.xml (original)
+++ asterisk/team/pabelanger/sipp/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-busy.xml Mon Dec 6 15:32:33 2010
@@ -1,34 +1,30 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="wait for a call followed by a hangup">
+ <Global variables="file,user" />
+ <nop>
+ <action>
+ <lookup assign_to="line" file="[$file]" key="[$user]" />
+ </action>
+ </nop>
+ <Reference variables="file,user" />
- <Global variables="file,user"/>
- <nop>
- <action>
[... 847 lines stripped ...]
More information about the asterisk-commits
mailing list