Hi,

Thanks for the help. Here is the scenario file attached and I am running SIPp 
with the following command line. 
"sipp -sn uas -t t1 -i 10.64.70.192 -p 5060 -trace_err -sf 
"CUPS-SampleScript.xml"
FYI, I am running Sip3.1 and on Windows.

Regards,
Aparna




________________________________
From: mayamatakeshi <[email protected]>
To: Aparna V <[email protected]>
Cc: [email protected]
Sent: Wednesday, 24 June, 2009 11:31:55 AM
Subject: Re: [Sipp-users] SIPp Scenario

On Wed, Jun 24, 2009 at 2:41 PM, Aparna V<[email protected]> wrote:
> Hi,
>
> I am working on a script with this approach. However, I am not able to send
> any data on the IP & port in which SIPp is running. Any thoughts on this?

Please, give some more details:
- your scenario file,
-  your command-line when starting sipp
-  the output of sipp while running.



      ICC World Twenty20 England &#39;09 exclusively on YAHOO! CRICKET 
http://cricket.yahoo.com
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario name="CUPSBasicRegister">

<recv request="REGISTER|PUBLISH|SUBSCRIBE" crlf="true" regexp_match="true">
	<action>
	      <ereg regexp="profileconfig"
		    search_in="hdr"
	            header="Event: "
		    assign_to="5"/>
		<ereg regexp="REGISTER"
		    search_in="hdr"
	            header="CSeq: "
		    assign_to="7"/>
	</action>
</recv>

<!-- send 200 OK and then after some time notify if variable 5 is set for PROFILE-CONFIG Sub -->
<send next="1" test="5">
<![CDATA[
      SIP/2.0 200 OK
      [last_Via:]
      [last_CSeq:]
      [last_From:]
      [last_To:];tag=[call_number]
      [last_Call-ID:]
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      Content-Length: 0
]]>
</send>
<label id="1"/>
<pause milliseconds="500"/>
<send>
<![CDATA[
      NOTIFY [last_Contact] SIP/2.0
      [last_Via:]
      CSeq: 123456789 NOTIFY
      From: [last_To];tag[call_number]
      To: [last_From]
      [last_Call-ID:]
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      Content-Length: 0
      Subscription-State: active;expires=3600
      SIP-ETag: 0
      Max-Forwards: 69
]]>
</send>
<recv request="200 OK"
        rtd="true"
        crlf="true">
</recv>

<!-- send 200 OK and variable 7 is set for REGISTER -->
<send next="2" test="7">
<![CDATA[
      SIP/2.0 200 OK
      [last_Via:]
      [last_CSeq:]
      [last_From:]
      [last_To:];tag=[call_number]
      [last_Call-ID:]
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      Content-Length: 0
]]>
</send>
<label id="2"/>
<recv request="ACK"
        rtd="true"
        crlf="true">
</recv>

</scenario>
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to