Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

In order for authentication to work it seems that the standard UAC scenario XML file needs to be extended as follows (copied from the example in the manual):

Code Block
xml
xml
  <recv response="407" auth="true">
  </recv>

  <send>
    <![CDATA[

      ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port]
      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 1 ACK
      Contact: sip:sipp@[local_ip]:[local_port]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: 0

    ]]>
  </send>

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

      INVITE sip:[oldxx:service]@[oldxx:remote_ip]:[oldxx:remote_port] SIP/2.0
      Via: SIP/2.0/[oldxx:transport] [oldxx:local_ip]:[oldxx:local_port]
      From: sipp <sip:sipp@[oldxx:local_ip]:[oldxx:local_port]>;tag=[oldxx:call_number]
      To: sut <sip:[oldxx:service]@[oldxx:remote_ip]:[oldxx:remote_port]>
      Call-ID: [oldxx:call_id]
      CSeq: 2 INVITE
      Contact: sip:sipp@[oldxx:local_ip]:[oldxx:local_port]
      [oldxx:authentication username=foouser]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Type: application/sdp
      Content-Length: [oldxx:len]

      v=0
      o=user1 53655765 2353687637 IN IP4 127.0.0.1
      s=-
      t=0 0
      c=IN IP4 [oldxx:media_ip]
      m=audio [oldxx:media_port] RTP/AVP 0
      a=rtpmap:0 PCMU/8000

    ]]>

  </send>

Built in scenarios are part of the executable code. In order to dump an existing scenario into a file use the following command:

...

Panel

-3pcc ip:port : Launch the tool in 3pcc mode ("Third Party
call control"). The passed ip address
is depending on the 3PCC role.

  • When the first twin command is 'sendCmd' then
    this is the address of the remote twin socket.
    Example: 3PCC-C-A scenario.
  • When the first twin command is 'recvCmd' then
    this is the address of the local twin socket.
    Example: 3PCC-C-B scenario.

-nr : Disable retransmission in UDP mode.

Panel

-nd : No Default. Disable all default behavior of SIPp
which are the following:

  • On UDP retransmission timeout, abort the call by
    sending a BYE or a CANCEL
  • On unexpected BYE send a 200 OK and close the call
  • On unexpected CANCEL send a 200 OK and close the call
  • On unexpected PING send a 200 OK and continue the call
  • On any other unexpected message, abort the call by
    sending a BYE or a CANCEL

-rsa host:port : Set the remote sending address to host:port.

...