Hi All

This is the first time I am using SIPP (version 3.4.1) and I like to
make an stress test to a lab equipment.  I have a problem that is as
follows:

1. Client send first INVITE and get 407.
2. After that, client send second INVITE(cseq=2) With proper credentials
3. After that Call is established between the endpoints.
4. Even though the call has been established, the client always
receives 407 (from cseq=1)


Trace looks like:

|Time     | 10.193.128.81                         |
|         |                   | 10.193.128.23     |
|12:30:51.209385|         INVITE SDP (g711A g711U telephone-event)
     |SIP From: <sip:1140176028@10.193.128.23
To:<sip:40003962@10.193.128.23
|         |(5060)   ------------------>  (5060)   |
|12:30:51.223862|         100 Trying|                   |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:51.253891|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:51.254014|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:30:51.254132|         INVITE SDP (g711A g711U telephone-event)
     |SIP From: <sip:1140176028@10.193.128.23
To:<sip:40003962@10.193.128.23
|         |(5060)   ------------------>  (5060)   |
|12:30:51.283545|         100 Trying|                   |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:51.744075|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:51.744156|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:30:52.743833|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:52.743936|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:30:54.473764|         180 Ringing SDP (g711A telephone-event)
    |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:54.743758|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:54.743853|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:30:57.113608|         200 OK SDP (g711A telephone-event)
|SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:57.113780|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:30:58.743635|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:30:58.743788|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:31:02.743577|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:02.743718|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:31:03.114938|         BYE       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:31:03.133743|         500 Server Internal Error          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:03.133986|         BYE       |                   |SIP Request
|         |(5060)   ------------------>  (5060)   |
|12:31:03.153588|         500 Server Internal Error          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:06.743500|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:10.743466|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:14.743175|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:18.743358|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:31:22.743225|         407 Proxy Authentication Required          |SIP Status
|         |(5060)   <------------------  (5060)   |
|12:32:06.172473|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:06.661760|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:07.663913|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:09.661865|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:13.661768|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:17.661440|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:21.662460|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:25.661212|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:29.661273|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:33.661337|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |
|12:32:37.661087|         BYE       |                   |SIP Request
|         |(5060)   <------------------  (5063)   |


Xml configuration is:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!--                                                                    -->
<!--                 Sipp authenticated invit scenario.                 -->
<!--                                                                    -->
<scenario name="NGN Huawei SoftX3000">
 <send retrans="500">
   <![CDATA[

     INVITE sip:[field2]@[remote_ip] SIP/2.0
     Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
     Max-Forwards: 70
     From: <sip:[field0]@[remote_ip]>;tag=as7d0e3c1[call_number]
     To: <sip:[field2]@[remote_ip]>
     Contact: <sip:[field0]@[local_ip]:[local_port]>
     Call-ID: [call_id]
     CSeq: [cseq] INVITE
     User-Agent: SIPp/Linux
     Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY, INFO, PUBLISH
     Supported: replaces, timer
     Content-Type: application/sdp
     Content-Length: [len]

     v=0
     o=root 3588004004 3588004004 IN IP[local_ip_type] [local_ip]
     s=SIPp 3.4.1
     c=IN IP[media_ip_type] [media_ip]
     t=0 0
     m=audio [media_port] RTP/AVP 8 0 101
     a=rtpmap:8 PCMA/8000
     a=rtpmap:0 PCMU/8000
     a=rtpmap:101 telephone-event/8000
     a=fmtp:101 0-16
     a=ptime:20
     a=sendrecv

   ]]>
 </send>

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

 <send>
   <![CDATA[

     ACK sip:[field2]@[remote_ip] SIP/2.0
     Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
     Max-Forwards: 70
     From: <sip:[field0]@[remote_ip]>;tag=as7d0e3c1[call_number]
     To: <sip:[field2]@[remote_ip]>[peer_tag_param]
     Contact: <sip:[field0]@[local_ip]:[local_port]>
     Call-ID: [call_id]
     CSeq: [cseq] ACK
     User-Agent: SIPp/Linux
     Content-Length: 0

   ]]>
 </send>

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

     INVITE sip:[field2]@[remote_ip]:[remote_port] SIP/2.0
     Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
     Max-Forwards: 70
     From: <sip:[field0]@[remote_ip]>;tag=as7d0e3c1[call_number]
     To: <sip:[field2]@[remote_ip]>
     Contact: <sip:[field0]@[local_ip]:[local_port]>
     Call-ID: [call_id]
     CSeq: [cseq] INVITE
     User-Agent: SIPp/Linux
     [field1]
     Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY, INFO, PUBLISH
     Supported: replaces, timer
     Content-Type: application/sdp
     Content-Length: [len]

     v=0
     o=root 3588004004 3588004004 IN IP[local_ip_type] [local_ip]
     s=SIPp 3.4.1
     c=IN IP[media_ip_type] [media_ip]
     t=0 0
     m=audio [media_port] RTP/AVP 8 0 101
     a=rtpmap:8 PCMA/8000
     a=rtpmap:0 PCMU/8000
     a=rtpmap:101 telephone-event/8000
     a=fmtp:101 0-16
     a=ptime:20
     a=sendrecv

   ]]>
 </send>

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

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

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

 <recv response="200" rtd="true"> </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:[field2]@[remote_ip]:[remote_port] SIP/2.0
     Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
     Max-Forwards: 70
     From: <sip:[field0]@[remote_ip]>;tag=as7d0e3c1[call_number]
     To: <sip:[field2]@[remote_ip]>[peer_tag_param]
     Contact: <sip:[field0]@[local_ip]:[local_port]>
     Call-ID: [call_id]
     CSeq: [cseq] ACK
     User-Agent: SIPp/Linux
     Content-Length: 0

   ]]>
 </send>

<!-- Play a pre-recorded PCAP file (RTP stream)       -->
 <nop>
   <action>
       <exec play_pcap_audio="pcap/g711a.pcap"/>
   </action>
 </nop>

 <!-- Pause 6 seconds      -->
 <pause milliseconds="6000" />

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

     BYE sip:[field2]@[remote_ip]:[remote_port] SIP/2.0
     Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
     Max-Forwards: 70
     From: <sip:[field0]@[remote_ip]>;tag=as7d0e3c1[call_number]
     To: <sip:[field2]@[remote_ip]>[peer_tag_param]
     Call-ID: [call_id]
     CSeq: [cseq] BYE
     User-Agent: SIPp/Linux
     [field1]
     Content-Length: 0

   ]]>
 </send>

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

 <!-- 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>


Whats wrong with this configuration , why always receive the same 407 message?
I will appreciate your help.
thanks

Alejandro

Attachment: capture_file_name.pcap
Description: Binary data

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to