Hello Sudha
Please find the attched INFO XMl file. Let me know if you need anything
more.
Thanks and Regards
Sanjeeb
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 10:48 AM
To: [email protected]
Subject: [Sipp-users] SIPP INFO message
Hi all,
i am learning SIPP. can u get me the XML file for INFO using SIPP.
Regards,
Sudha
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- 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="Sonus Originated SIP-T UAC">
<!-- <pause min="100" max="500"/> -->
<send retrans="1000" crlf="true">
<![CDATA[
INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: <sip:[remote_ip]:5060>
Call-ID: [call_id]
Cseq: [cseq] INVITE
Contact: <sip:[local_ip]:[local_port]>
Accept: multipart/mixed, application/sdp, application/isup, application/dtmf, application/dtmf-relay
Max-Forwards: 70
Allow: OPTIONS, INVITE, CANCEL, ACK, BYE, INFO
Content-Disposition: session; handling=required
Content-Type: application/sdp
Content-Length: [len]
v=0
o=Sonus_UAC 31928 9834 IN IP4 [local_ip]
s=SIP Media Capabilities
c=IN IP4 [media_ip]
t=0 0
m=audio 12820 RTP/AVP 0 0
a=rtpmap:0 PCMU/8000
a=rtpmap:0 PCMU/8000
a=sendrecv
]]>
</send>
<recv response="100"
optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="183" optional="true">
</recv>
<!-- If we get a 503, ACK it and go to ID 1-->
<recv response="503" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 400, ACK it and go to ID 1-->
<recv response="400" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 481, ACK it and go to ID 1-->
<recv response="481" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 404, ACK it and go to ID 1-->
<recv response="404" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 500, ACK it and go to ID 1-->
<recv response="500" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 480, ACK it and go to ID 1-->
<recv response="480" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 408, ACK it and go to ID 1-->
<recv response="408" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 590, ACK it and go to ID 1-->
<recv response="590" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<!-- If we get a 592, ACK it and go to ID 1-->
<recv response="592" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<recv response="200" rtd="true" crlf="true">
</recv>
<label id="1"/>
<!-- Packet lost can be simulated in any send/recv message by -->
<!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
<send next="9" test="9">
<![CDATA[
ACK sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: <sip:[remote_ip]:5060>[peer_tag_param]
Call-ID: [call_id]
Cseq: [cseq] ACK
Route: <sip:[remote_ip]:5060;transport=udp;lr>
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<!-- This delay can be customized by the -d command-line option -->
<!-- or by adding a 'milliseconds = "value"' option here. -->
<pause milliseconds="1000"/>
<send next="9" test="9">
<![CDATA[
INFO sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: <sip:[remote_ip]:5060>[peer_tag_param]
Call-ID: [call_id]
Cseq: [cseq] INFO
Route: <sip:[remote_ip]:5060;transport=udp;lr>
Max-Forwards: 70
Content-Length:[len]
Content-Type: application/dtmf-relay
Signal=5
Duration=160
]]>
</send>
<recv response="200" rtd="true" crlf="true">
</recv>
<!-- This delay can be customized by the -d command-line option -->
<!-- or by adding a 'milliseconds = "value"' option here. -->
<pause milliseconds="5000"/>
<!-- The 'crlf' option inserts a blank line in the statistics report. -->
<send retrans="1000" crlf="true">
<![CDATA[
BYE sip:[EMAIL PROTECTED]:[local_port];user=phone SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: <sip:[remote_ip]:5060>[peer_tag_param]
Call-ID: [call_id]
Cseq: [cseq] BYE
Route: <sip:[remote_ip]:5060;transport=udp;lr>
Max-Forwards: 70
Content-Type: application/isup;base=gr317;version=ansi
Content-Disposition: signal;handling=optional
......
]]>
</send>
<recv response="481" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<recv response="408" optional="true" next="1">
<action>
<ereg regexp="[0-9]{1}"
search_in="hdr"
header="Content-Length:"
check_it="true"
assign_to="9" />
</action>
</recv>
<recv response="200" crlf="true">
</recv>
<label id="9"/>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users