Difference between revisions of "Uac msg.xml"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
+
  <scenario name="Basic Sipstone UAC">
<!--
 
  This program is free software; you can redistribute it and/or     
 
-->
 
 
<!--
 
  modify it under the terms of the GNU General Public License as   
 
-->
 
 
<!--
 
  published by the Free Software Foundation; either version 2 of the
 
-->
 
 
<!--
 
  License, or (at your option) any later version.                   
 
-->
 
 
<!--
 
                                                                   
 
-->
 
 
<!--
 
  This program is distributed in the hope that it will be useful,   
 
-->
 
 
<!--
 
  but WITHOUT ANY WARRANTY; without even the implied warranty of   
 
-->
 
 
<!--
 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     
 
-->
 
 
<!--
 
  GNU General Public License for more details.                     
 
-->
 
 
<!--
 
                                                                   
 
-->
 
 
<!--
 
  You should have received a copy of the GNU General Public License 
 
-->
 
 
<!--
 
  along with this program; if not, write to the                     
 
-->
 
 
<!--
 
  Free Software Foundation, Inc.,                                   
 
-->
 
 
<!--
 
  59 Temple Place, Suite 330, Boston, MA  02111-1307 USA           
 
-->
 
 
<!--
 
                                                                   
 
-->
 
 
<!--
 
                  Sipp default 'uac' scenario.                     
 
-->
 
 
<!--
 
                                                                   
 
-->
 
 
<scenario name="Basic Sipstone UAC">
 
 
<!--
 
  In client mode (sipp placing calls), the Call-ID MUST be       
 
-->
 
 
<!--
 
  generated by sipp. To do so, use [call_id] keyword.               
 
-->
 
 
<send retrans="500" start_rtd="true"> 
 
  
 +
        <send retrans="500" start_rtd="true">
 +
              MESSAGE sip:[call_number]@[remote_ip]:[remote_port] SIP/2.0
 +
              Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
 +
              From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 +
              To: sut <sip:[call_number]@[remote_ip]:[remote_port]>
 +
              Call-ID: [call_id]
 +
              CSeq: 1 MESSAGE
 +
              Contact: sip:sipp@[local_ip]:[local_port]
 +
              Max-Forwards: 70
 +
              Subject: Performance Test
 +
              Content-Type: application/sdp
 +
              Content-Length: [len]
  
      MESSAGE sip:[call_number]@[remote_ip]:[remote_port] SIP/2.0
+
              hello!
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+
        </send>
      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
      To: sut <sip:[call_number]@[remote_ip]:[remote_port]>
 
      Call-ID: [call_id]
 
      CSeq: 1 MESSAGE
 
      Contact: sip:sipp@[local_ip]:[local_port]
 
      Max-Forwards: 70
 
      Subject: Performance Test
 
      Content-Type: application/sdp
 
      Content-Length: [len]
 
  
      hello!
+
        <recv response="404" optional="true" rtd="true">
 +
                <action>
 +
                        <exec int_cmd="stop_call"/>
 +
                </action>
 +
        </recv>
  
   
+
        <recv response="200" crlf="true" rtd="true">
</send>
+
        </recv>
+
 
<recv response="404" optional="true" rtd="true">
+
        <ResponseTimeRepartition value="10, 50, 100, 150, 200, 500, 1000"/>
 
<action>
 
<exec int_cmd="stop_call"/>
 
</action>
 
</recv>
 
<recv response="200" crlf="true" rtd="true">
 
  </recv>
 
 
<!--
 
  definition of the response time repartition table (unit is ms) 
 
-->
 
<ResponseTimeRepartition value="10, 50, 100, 150, 200, 500, 1000"/>
 
 
  </scenario>
 
  </scenario>

Revision as of 10:50, 17 March 2008

<scenario name="Basic Sipstone UAC">
        <send retrans="500" start_rtd="true">
              MESSAGE sip:[call_number]@[remote_ip]:[remote_port] SIP/2.0
              Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
              From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
              To: sut <sip:[call_number]@[remote_ip]:[remote_port]>
              Call-ID: [call_id]
              CSeq: 1 MESSAGE
              Contact: sip:sipp@[local_ip]:[local_port]
              Max-Forwards: 70
              Subject: Performance Test
              Content-Type: application/sdp
              Content-Length: [len]
              hello!
        </send>
        <recv response="404" optional="true" rtd="true">
                <action>
                        <exec int_cmd="stop_call"/>
                </action>
        </recv>
        <recv response="200" crlf="true" rtd="true">
        </recv>
        <ResponseTimeRepartition value="10, 50, 100, 150, 200, 500, 1000"/>
</scenario>