Hi again,

So, I tried again to replicate the same scenario with ACK and [next_url].

I use sipp-1.1rc8 version.
The ACK mesg is the following :
  <send>
    <![CDATA[

      ACK [next_url] SIP/2.0
      Via: SIP/2.0/[transport] 
[local_ip]:[local_port];branch=z9hG4bK-[call_number]-03
      [routes]
      From: [field0] <sip:[EMAIL 
PROTECTED]:[local_port]>;tag=[pid]SIPpTag07b[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 2 ACK
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: 0

    ]]>
  </send>


The difference from yours is the [routes] keyword and the 'branch' parameter.
Anyway, the [next_url] works fine for me.
So, I really keep not understanding Olivier's point. (??)


(attached also my invite scenario xml file)


regards,
Kostas



Kostas Marneris wrote:
> Hi Olivier,
> 
> I have exactly the same problem with Maxime.
> Doesn't this mean that SIPp is not fully compliant with RFC3261 ?
> 
> RFC3261:
> 17.1.1.3 Construction of the ACK Request
> ...
>    The ACK request constructed by the client transaction MUST contain
>    values for the Call-ID, From, and Request-URI that are equal to the
>    values of those header fields in the request passed to the transport
>    by the client transaction (call this the "original request").
> ...
> 
> 
> (I use SIPp to test a SER SIP server and as a workaround, I have to manually
> enter the Contact IP address of the called UA, at the ACK mesg on an INVITE 
> scenario, eg.:
>   <send>
>   <![CDATA[
> 
>   ACK 1.2.3.4:5060 SIP/2.0
> )
> 
> 
> 
> regards,
> Kostas
> 
> Olivier Jacques wrote:
>> Hi Maxime,
>>
>> this is a SIPp limitation. As SIPp doesn't have a true SIP stack, it
>> will send to the IP address you provided on the command line.
>> You might want to have a look at "3PCC" feature where you can create
>> several SIPp to send messages to different IP addresses.
>>
>> Olivier.
>>
>> On 5/14/07, *Guillaume Maxime* <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     Hi,
>>      
>>     I'm a Newbie with Sipp and SIP, so it's probably a very stupid
>>     question ;-) 
>>      
>>     So, sipp is my caller and I use an equipment in front of it.
>>      
>>     Sipp sends an INVITE 
>>      
>>     INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
>>     Via: SIP/2.0/UDP 10.165.98.16:5060
>>     <http://10.165.98.16:5060>;branch=z9hG4bK-1-0
>>     From: 20000133875800989 <sip:[EMAIL PROTECTED]:5060>;tag=1
>>     To: 0875898532 <sip:[EMAIL PROTECTED]
>>     <mailto:sip:[EMAIL PROTECTED]>>
>>     Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>     CSeq: 1 INVITE
>>     Contact: sip:[EMAIL PROTECTED]:5060
>>     Max-Forwards: 70
>>     Subject: Performance Test
>>     Content-Type: application/sdp
>>     Content-Length:  131
>>      
>>     v=0
>>     o=- 53655765 2353687637 IN IP4 10.165.98.16 <http://10.165.98.16>
>>     s=-
>>     c=IN IP4 10.165.98.16 <http://10.165.98.16>
>>     t=0 0
>>     m=audio 6000 RTP/AVP 8
>>     a=rtpmap:8 PCMA/8000
>>      
>>     I recieve a 200 OK like this :
>>      
>>     SIP/2.0 200 OK
>>     Via: SIP/2.0/UDP 10.165.98.16:5060
>>     <http://10.165.98.16:5060>;branch=z9hG4bK-1-0
>>     From: "20000133875800989" <sip:[EMAIL PROTECTED]
>>     <mailto:sip:[EMAIL PROTECTED]>>;tag=1
>>     To: "0875898532" <sip:[EMAIL PROTECTED]
>>     <mailto:sip:[EMAIL PROTECTED]>>;tag=043da8c0-00000410-o-1
>>     Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>     CSeq: 1 INVITE
>>     Contact: <sip:[EMAIL PROTECTED]:50604>
>>     Content-Type: application/sdp
>>     Content-Length: 135
>>      
>>     v=0
>>     o=user1 53655765 2353687637 IN IP4 10.165.98.18 <http://10.165.98.18>
>>     s=-
>>     c=IN IP4 10.165.98.18 <http://10.165.98.18>
>>     t=0 0
>>     m=audio 6044 RTP/AVP 8
>>     a=rtpmap:8 PCMA/8000
>>      
>>     And sipp sends the ACK to 10.165.98.10:5060
>>     <http://10.165.98.10:5060> and not to the contact address
>>     (10.165.98.10:50604 <http://10.165.98.10:50604>)
>>      
>>      
>>     17:20:54.320293 IP 10.165.98.16.5060 > 10.165.98.10.5060: UDP,
>>     length 413
>>     [EMAIL PROTECTED]@._.
>>     .b.
>>     .b
>>     ........ACK sip:[EMAIL PROTECTED]:50604 SIP/2.0
>>     Via: SIP/2.0/UDP 10.165.98.16:5060
>>     <http://10.165.98.16:5060>;branch=z9hG4bK-1-5
>>     From: 20000133875800989 <sip:[EMAIL PROTECTED]:5060>;tag=1
>>     To: 0875898532
>>     <sip:[EMAIL PROTECTED]:50604>;tag=043da8c0-00000410-o-1
>>     Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>     CSeq: 1 ACK
>>     Contact: sip:[EMAIL PROTECTED]:5060
>>     Max-Forwards: 70
>>     Subject: Performance Test
>>     Content-Length: 0
>>     Why Sipp does not send the ACK to the contact address ?
>>      
>>     In a script, I have defined a ACK message like this :
>>      
>>       <send>
>>       <![CDATA[
>>      
>>       ACK [next_url] SIP/2.0
>>       Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
>>       From: [field0]
>>     <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
>>       To: [field1] <[next_url]>[peer_tag_param]
>>       Call-ID: [call_id]
>>       CSeq: 1 ACK
>>       Contact: sip:[EMAIL PROTECTED]:[local_port]
>>       Max-Forwards: 70
>>       Subject: Performance Test
>>       Content-Length: 0
>>      
>>       ]]>
>>       </send>
>>      
>>     Help please
>>      
>>     Thanks in advance !
>>      
>>
>>     *Maxime GUILLAUME* 
>>     Integration Engineer
>>
>>     Netcentrex Converged IP Communications
>>     **Comverse**
>>
>>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>     www.comverse.com <http://www.comverse.com/>
>>
>>      
>>
>>     -------------------------------------------------------------------------
>>     This SF.net email is sponsored by DB2 Express
>>     Download DB2 Express C - the FREE version of DB2 express and take
>>     control of your XML. No limits. Just data. Click to get it now.
>>     http://sourceforge.net/powerbar/db2/
>>     _______________________________________________
>>     Sipp-users mailing list
>>     [email protected]
>>     <mailto:[email protected]>
>>     https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>>
>>
>>
>> -- 
>> HP OpenCall Software
>> http://www.hp.com/go/opencall/
>>
>>
>> ------------------------------------------------------------------------
<?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 'INVITE' scenario.                   -->
<!--                                                                    -->

<scenario name="INVITE w auth">

  <!-- SEND 'INVITE' -->
  <send retrans="500">
    <![CDATA[

      INVITE sip:[EMAIL PROTECTED] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-[call_number]-01
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[pid]SIPpTag07b[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 1 INVITE
      Contact: sip:[EMAIL PROTECTED]:[local_port]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Type: application/sdp
      Content-Length: [len]

      v=0
      o=[field0] 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>

 
  <!-- RECEIVE '100 Trying' -->
  <recv response="100" optional="true">
  </recv>


  <!-- RECEIVE '407 Unauthorized' -->
  <recv response="407" auth="true">
  </recv>


  <!-- SEND 'ACK' -->
  <send>
    <![CDATA[

      ACK sip:[EMAIL PROTECTED] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-[call_number]-01
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 1 ACK
      Contact: sip:[EMAIL PROTECTED]:[local_port]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: 0

    ]]>
  </send>


  <!-- SEND 'INVITE' w credentials -->
  <send retrans="500">
    <![CDATA[

      INVITE sip:[EMAIL PROTECTED] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-[call_number]-02
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[pid]SIPpTag07b[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 2 INVITE
      Contact: sip:[EMAIL PROTECTED]:[local_port]
      [field1]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Type: application/sdp
      Content-Length: [len]

      v=0
      o=[field0] 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>


  <!-- RECEIVE '100 Trying' -->
  <recv response="100">
  </recv>


  <!-- RECEIVE '100 Trying' -->
  <recv response="100" optional="true">
  </recv>


  <!-- RECEIVE '180 Ringing' -->
  <recv response="180" optional="true" crlf="true">
  </recv>


  <!-- RECEIVE '200 OK' -->
  <!-- By adding rrs="true" (Record Route Sets), the route sets         -->
  <!-- are saved and used for following messages sent. Useful to test   -->
  <!-- against stateful SIP proxies/B2BUAs.                             -->
  <recv response="200" rrs="true" rtd="true">
  </recv>


  <!-- set variable 8 above on 25th call, send the ACK but skip the pause for it   -->
  <send>
    <![CDATA[

      ACK [next_url] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-[call_number]-03
      [routes]
      From: [field0] <sip:[EMAIL PROTECTED]:[local_port]>;tag=[pid]SIPpTag07b[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 2 ACK
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: 0

    ]]>
  </send>

  <pause milliseconds="5000"/>

  <label id="1"/>

  <send retrans="500">
    <![CDATA[

      BYE [next_url] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-[call_number]-04
      [routes]
      From: [field0] <sip:[EMAIL PROTECTED]:[local_port]>;tag=[pid]SIPpTag07b[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 3 BYE
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: 0

    ]]>
  </send>

  <recv response="200" crlf="true">
  </recv>

  <pause milliseconds="4000"/>

  <!-- 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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to