Remove the "optional=true" in the reception of 401. It is not optional.

[EMAIL PROTECTED] wrote:
>
>
>
> Hi Olivier,
>             When I am trying to send SIPP registration request, first 
> REGISTER message it is going out of Sipp succesfully  and I am getting 
> 401(Unauthorised) as respose with the authentication parameter.The 
> fist two steps are working fine, but after recieving 401 message I am 
> trying to send one more REGISTER message(i.e second REGISTER msg) by 
> copying the Authentication parameter which I got in 401 message, but 
> it is not going out of Sipp.Scenario for Registration is as follows n 
> find the attachment containing logs for 2 calls.
>
>
> <scenario name="Basic Sipstone UAC">
>   <!-- In client mode (sipp placing calls), the Call-ID MUST 
> be         -->
>   <!-- generated by sipp. To do so, use [call_id] 
> token.                -->
>                                                                               
>                                               
> <send>
> <![CDATA[
> REGISTER sip:10.10.100.12:5060;transport=tcp SIP/2.0
> Call-ID:[call_id]
> CSeq: 1 REGISTER
> From: <sip:[EMAIL PROTECTED]:5060;transport=tcp>;tag=6627600
> To: <sip:[EMAIL PROTECTED]:5060;transport=tcp>
> Via: SIP/2.0/TCP 
> 10.116.21.219:5060;branch=z9hG4bKb29553596126a25d7e8a536121f4ef9e
> Max-Forwards: 70
> Expires: 3600
> Contact: <sip:10.116.21.219:5060;transport=tcp>
> Content-Length: 0
> ]]>
> </send>
> <recv response="401"
>       optional="true">
> <action
> <ereg regexp="WWW-Authenticate:*"
> search_in="msg"
> assign_to="1"/>
> </action>
> </recv>
>
>
> <send>
> <![CDATA[
> REGISTER sip:10.10.100.12:5060;transport=tcp SIP/2.0
> Call-ID: [call_id]
> CSeq: 2 REGISTER
> Via: SIP/2.0/TCP 
> 10.116.21.219:5060;branch=z9hG4bKbf72f20a9e334c208821370f4aad93e3
> Max-Forwards: 70
> Expires: 3600
> Contact: <sip:10.116.21.219:5060;transport=tcp>
> From: <sip:[EMAIL PROTECTED]:5060;transport=tcp>;tag=6627600
> To: <sip:[EMAIL PROTECTED]:5060;transport=tcp>
> Content-Length: 0
> Authorization:[$1]
> ]]>
> </send>
>
>
>
>   <recv response="200" rtd="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>
>
>
>
>
>           
> Call-rate(length)     Port   Total-time  Total-calls  Remote-host
>   10.0(0 ms)/1.000s   5061      11.13 s           30  
> 10.116.21.219:5060(TCP)
>
>   0 new calls during 0.077 s period      25 ms scheduler resolution
>   30 concurrent calls (limit 30)         Peak was 30 calls, after 3 s
>   0 out-of-call msg (discarded)
>   1 open sockets                          0/2/0 TCP errors 
> (send/recv/cong)
>
>                                  Messages  Retrans   Timeout   
> Unexpected-Msg
>     REGISTER ---------->         30        0
>          401 <----------         30        0                   0
>     REGISTER ---------->         0         0
>          200 <---------- E-RTD   0         0                   0
> ------------------------------ Test Terminated 
> --------------------------------
>
>
>
>
>


-- 
Olivier
HP OpenCall Software
http://www.hp.com/go/opencall/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to