Pekka,
I have been unsuccessful in identifying the problem in my SIPP scenario.  I
was wondering if you could please take a look at it and see if you spot the
problem (it is.  It is very simple.  It sends an invite, waits for a 302
response and sends an ack.  Thank you.

Jonathan

On Thu, Jan 29, 2009 at 7:57 AM, Pekka Pessi <ppe...@gmail.com> wrote:

> 2009/1/26 jonathan augenstine <jaugenst...@gmail.com>:
> > Ignore the first trace I sent you.  It was incomplete as it overflowed
> the
> > window buffer.  I retested and the complete trace is below.
>
> It seems to me that you have copy-pasted wrong ACK code to your SIPP
> scenario. The RFC 3261 makes difference between ACK to 2XX response
> and ACK to [3456]XX error response. The former have different
> transaction ID from the INVITE, latter have same. You trace shows ACK
> to 302 having different transaction ID from INVITE.
>
> --Pekka
>
> --
> Pekka.Pessi mail at nokia.com
>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario name="302 Test Scenario">
  <!-- In client mode (sipp placing calls), the Call-ID MUST be         -->
  <!-- generated by sipp. To do so, use [call_id] keyword.              -->
  <send retrans="500">
    <![CDATA[

      INVITE sip:[servi...@[remote_ip]:[remote_port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: sipp <sip:s...@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
      To: sut <sip:[servi...@[remote_ip]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 1 INVITE
      Contact: sip:s...@[local_ip]:[local_port]
      Max-Forwards: 70
      Subject: Performance Test
      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

    ]]>
  </send>

  <recv response="100"
        optional="true">
  </recv>

  <recv response="302">
  </recv>

  <!-- Packet lost can be simulated in any send/recv message by         -->
  <!-- by adding the 'lost = "10"'. Value can be [1-100] percent.       -->
  <send>
    <![CDATA[

      ACK sip:[servi...@[remote_ip]:[remote_port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: sipp <sip:s...@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
      To: <sip:[servi...@[remote_ip]:[remote_port]>;tag=[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 1 ACK
      Server: Sansay VSX 2.1
      Max-Forwards: 70
      Content-Length: 0

    ]]>
  </send>
 
  <pause milliseconds="40000"/>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to